[issue6612] 'import site' fails when called from an unlinked directory

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: Fixed in 3.2 (r85386+r85387+r85389), 2.7 (r85390), 3.1 (r85391). Thanks labrat for your patch. I added you to Misc/ACKS. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue7140] imp.new_module does not function correctly if the module is returned from a function and used directly

2010-10-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Rebroken in r85392. See #10068. -- resolution: fixed -> status: closed -> open ___ Python tracker ___ __

[issue10068] global objects created in some module are not destroyed when last reference to that module is released

2010-10-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85392. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue10078] Documentation: 'Postive' should be 'Positive'

2010-10-12 Thread Retro
New submission from Retro : There's a typo in the docs. Please follow http://docs.python.org/py3k/library/string.html#format-specification-mini-language and find the below text, and fix the word 'Postive' to 'Positive', indicated between >>> and <<<: 'g' General format. For a given preci

[issue10078] Documentation: 'Postive' should be 'Positive'

2010-10-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85395. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue10074] dictobject.c: crash in Py_XDECREF

2010-10-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10078] Documentation: 'Postive' should be 'Positive'

2010-10-12 Thread Retro
Retro added the comment: Please commit this fix to the trunk, as well as to the Python 2.5, Python 2.6, and Python 2.7 branches. Thank you. -- ___ Python tracker ___ __

[issue10078] Documentation: 'Postive' should be 'Positive'

2010-10-12 Thread Retro
Changes by Retro : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10078] Documentation: 'Postive' should be 'Positive'

2010-10-12 Thread Retro
Changes by Retro : -- resolution: fixed -> remind ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10078] Documentation: 'Postive' should be 'Positive'

2010-10-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Done for all branches that are maintained. -- resolution: remind -> fixed ___ Python tracker ___ ___

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: New version of the patch: - use more standard function names (_Py_initsegfault => _Py_InitSegfault) - use "#ifdef HAVE_SIGACTION" to support system without sigaction(): fallback to signal() - usage of the alternative stack is now optional (#ifdef HAVE_SIGALT

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: Updated example: -- $ ./python Lib/test/crashers/recursive_call.py Fatal Python error: segmentation fault Traceback (most recent call first): File "Lib/test/crashers/recursive_call.py", line 12 in File "Lib/test/

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file17507/segfault_handler.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file17717/segfault_handler-2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue10041] socket.makefile(mode = 'r').readline() silently removes carriage return

2010-10-12 Thread kai zhu
kai zhu added the comment: done ;p added separate unicode read, write, and readwrite test cases (which all pass) keep in mind my issue is specific to truncation of carriage return (imo a priority for py3k migration). i think this can b resolved by python 3.2 more general unicode issues shou

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: > It should be tested at least on a wide build and ... Done: it works correctly for non-BMP characters in narrow and wide builds. Eg. in wide build with U+10 character in the path: - $ ./python bla.py Fatal Python error: segmentation f

[issue1503] test_xmlrpc is still flakey

2010-10-12 Thread Ralf Schmitt
Ralf Schmitt added the comment: The tests now pass, but the underlying issue hasn't been fixed! -- ___ Python tracker ___ ___ Python-b

[issue8863] Segfault handler: display Python backtrace on segfault

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: Patch version 4: - Add segfault.c to pythoncore.vcproj - Remove #error "nope" (I used it for debug purpose) - Don't include on Windows This version works on Windows. -- Added file: http://bugs.python.org/file19210/segfault_handler-4.patch

[issue10039] python é.py fails with UnicodeEncodeErr or if PYTHONFSENCODING is used

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: > Is it always correct to decode a filename with the locale encoding > on Unix? Do you know something better than the locale encoding? I don't. > Can’t each filesystem have its own encoding? Yes, but how do you get the encoding of each filesystem? I think tha

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Brian Curtin
Brian Curtin added the comment: Some of your submission appears to have gotten lost (I saw it via email). Below is the patch you proposed. I haven't experienced this crash on my machines, but the solution seems fine to me. # I sometimes experienced crash of test_changing_value(test_winreg) #

[issue10068] global objects created in some module are not destroyed when last reference to that module is released

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: r85393 introduced a regression in test_runpy of Python 2.7. -- nosy: +haypo resolution: fixed -> status: closed -> open ___ Python tracker ___

[issue10068] global objects created in some module are not destroyed when last reference to that module is released

2010-10-12 Thread STINNER Victor
STINNER Victor added the comment: test_runpy fails also on Python 3.2. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10068] global objects created in some module are not destroyed when last reference to that module is released

2010-10-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85398 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Michael Newman
Michael Newman added the comment: The example is working correctly for: Python 3.2a3 (r32a3:85355, Oct 10 2010, 17:11:45) [MSC v.1500 32 bit (Intel)] on win32 # First test: C:\mike>c:\Python32\python.exe s2.py main line module name: __main__ parent process: 2360 process id: 1584 function f mod

[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

2010-10-12 Thread Brian Curtin
Brian Curtin added the comment: Fixed test_gzip in r85400. -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mai

[issue10071] Should not release GIL while running RegEnumValue

2010-10-12 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Hirokazu, could you run Python in a debugger and figure out exactly which line crashes and what the error is? I'm curious. If we make this change, the same change should be applied to RegEnumKey, etc., since the RegEnumKey docs contain similar language. -

[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

2010-10-12 Thread Brian Curtin
Brian Curtin added the comment: Fixed test_mailbox in r85401. Fixed test_marshal in r85402. Fixed test_bz2 in r85403. -- ___ Python tracker ___ __

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2010-10-12 Thread Bruce Sherwood
New submission from Bruce Sherwood : It is proposed to incorporate the work of Guilherme Polo in the 2009 Google Summer of Code into idlelib. Polo's enhancements have been extensively tested for a year through being included with VPython. Here is a description from NEWS.txt: In December 2008 Da

[issue10080] Py_Initialize crashes when stdout has been redirected with freopen

2010-10-12 Thread Mitchell Stokes
New submission from Mitchell Stokes : I have Python embedded in a C/C++ program, and I'm trying to redirect stdout to a text file. Since I'm trying to get rid of the console, I want C and Python stdout going to the text file (so, not sys.stdout = open('log.txt', 'w')). To this end, I used freo

[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Michael for checking it, this bug can be closed then, since all the points mentioned were already fixed. -- ___ Python tracker ___

[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10080] Py_Initialize crashes when stdout has been redirected with freopen

2010-10-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It looks very similar to issue6501. Can you check if setting the environment variable PYTHONIOENCODING=cp1252 solves the problem? -- nosy: +amaury.forgeotdarc ___ Python tracker

<    1   2