[issue12265] revamp argument errors

2011-06-07 Thread Oleg Oshmyan
Changes by Oleg Oshmyan : -- nosy: +chortos ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12280] If statement

2011-06-07 Thread Matthew Brunt
New submission from Matthew Brunt : i'm very new to python (currently going through a python for beginners book at work to pass the time), and i'm having trouble with an if statement exercise. basically, i'm creating a very simple password program that displays "Access Granted" if the if stat

[issue12280] If statement

2011-06-07 Thread Brian Curtin
Brian Curtin added the comment: You might want to check out the python-tutor or python-list email lists (see http://mail.python.org/mailman/listinfo). This is a tracker for bug reports or problems with the Python interpreter and standard libraries. -- nosy: +brian.curtin resolution:

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-07 Thread STINNER Victor
New submission from STINNER Victor : Starting at Python 3.2, the MBCS codec uses MultiByteToWideChar() to decode bytes using flags=MB_ERR_INVALID_CHARS by default (strict error handler), flags=0 for the ignore error handler, and raise a ValueError for other error handlers. The problem is that

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley added the comment: I'm now convinced this isn't worth fixing in 2.x. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ _

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-07 Thread STINNER Victor
STINNER Victor added the comment: MBCS codec was changed by #850997. Martin von Loewis proposed solutions to implement other error handlers in msg19180. -- ___ Python tracker _

[issue11457] Expose nanosecond precision from system calls

2011-06-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Can you elaborate on this? Not on the tracker; this is appropriate on python-dev. -- ___ Python tracker ___ ___

[issue12281] bytes.decode('mbcs', 'ignore') does replace undecodable bytes on Windows Vista or later

2011-06-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-06-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: @ Ned Deily wrote (2011-06-07 19:43+0200): > Thanks for the update. Since the fix will be in a future > version of OS X 10.7 Lion, and which has not been released yet, > so it is not appropriate to change mmap until there has been an > opportunity to t

[issue12246] Warn when trying to install third-party module from an uninstalled checkout

2011-06-07 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : Added file: http://bugs.python.org/file22277/display_warning_with_test.patch ___ Python tracker ___ ___ Pyth

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-06-07 Thread Ezio Melotti
Ezio Melotti added the comment: What if in the functions.rst page we specify the current module for all the functions (or even just for int/float/etc) as __builtin__ and use the function directive, and in the stdtypes.rst (or elsewhere) we use the class directive? The idea is to pretend that '

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-06-07 Thread STINNER Victor
STINNER Victor added the comment: Yes, you should check the Mac OS X version at runtime (as you should check the Linux kernel at runtime). platform.mac_ver() uses something like: sysv = _gestalt.gestalt('sysv') if sysv: major = (sysv & 0xFF00) >> 8 minor = (sysv & 0x00F0) >> 4 patch = (s

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-06-07 Thread Ned Deily
Ned Deily added the comment: Victor, please do not use magic constants like that in C. The symbolic values are available in include files: #include SInt32 major = 0; SInt32 minor = 0; Gestalt(gestaltSystemVersionMajor, &major); Gestalt(gestaltSystemVersionMinor, &minor); if ((major == 10

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina added the comment: Is this the intended behavior then? I don't get the rationale for that change. There is no way to completely supress traceback information now; for sys.tracebacklimit to be of any significance, it must be >= 1; 0 and negative values behave the same as it n

[issue12282] ABCMeta import error during build

2011-06-07 Thread R. David Murray
New submission from R. David Murray : After a make distclean I'm seeing the following output during a build of default. It is possible my 2.7 install is borked, but I don't understand why python is apparently being called during a gcc step. The build seems to succeed. gcc -pthread -c -g -O

[issue12211] Better document math.copysign behavior.

2011-06-07 Thread umedoblock
umedoblock added the comment: I'm late, sorry. I attached the patch for math.rst and mathmodule.c. -- Added file: http://bugs.python.org/file22278/issue_12211.patch ___ Python tracker

[issue11941] Support st_atim, st_mtim and st_ctim attributes in os.stat_result

2011-06-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: Here is an updated patch that uses the atim, ctim and mtim variables (which are assigned based on various #ifdefs). This should now work on Linux, BSD and Windows. -- Added file: http://bugs.python.org/file22279/issue11941_2.patch ___

<    1   2