[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-13 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +test_xmlrpc fails with non-ascii path ___ Python tracker ___ ___ Python-bugs-list mailing

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-04-13 Thread Alex Willmer
Alex Willmer added the comment: On 14 April 2010 00:33, Matthew Barnett wrote: > I think I might have identified the cause of the problem, although I still > haven't been able to reproduce it, so I can't be certain. Performed 76 Passed Looks like you got it. -- ___

[issue8299] Improve GIL in 2.7

2010-04-13 Thread David Beazley
David Beazley added the comment: What bothers me most about this discussion is that the Windows implementation (legacy GIL) is being held up as an example of what we should be doing on posix. Yet, if I go run the same thread tests that I presented in my GIL talks on a multicore Windows machi

[issue8390] tarfile: use surrogates for undecode fields

2010-04-13 Thread STINNER Victor
New submission from STINNER Victor : When reading a tar archive, tarfile decodes fields using "replace" error handler by default. The result is that we loose informations if there is an undecodable character. Since the PEP 383, undecodable filenames are stored using surrogates in Python3. I t

[issue8391] os.execvpe() doesn't support surrogates in env

2010-04-13 Thread STINNER Victor
New submission from STINNER Victor : It would be nice to support the PEP 383 (surrogateescape) for environment variables in os.execvpe(). Attached patch uses PyUnicode_AsEncodedString(val, Py_FileSystemDefaultEncoding, "surrogateescape") to encode an environment variable value. I'm not sure t

[issue8391] os.execvpe() doesn't support surrogates in env

2010-04-13 Thread STINNER Victor
STINNER Victor added the comment: See also issue #4036. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-13 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +os.execvpe() doesn't support surrogates in env ___ Python tracker ___ ___ Python-bugs-lis

[issue8392] unit tests rather light on testing __import__(..., level)

2010-04-13 Thread Skip Montanaro
New submission from Skip Montanaro : At work we are in the process of migrating from Python 2.4 to 2.6. One bit of Boost.Python code needs to use PyImport_ImportModuleLevel which references the __import__ docs. That describes the use of the level arg. I then went around looking for examples and

[issue7316] Add a timeout functionality to common locking operations

2010-04-13 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Thanks, looks good. Sorry for the delay. -- resolution: -> accepted ___ Python tracker ___ ___ Pyt

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-13 Thread STINNER Victor
STINNER Victor added the comment: New version of the patch: all tests pass except of 3 (test_ftplib, test_pep3120, test_traceback). -- Added file: http://bugs.python.org/file16919/surrogates-6.patch ___ Python tracker

[issue8393] subprocess: support undecodable current working directory on POSIX OS

2010-04-13 Thread STINNER Victor
New submission from STINNER Victor : In py3k, subprocess uses _posixsubprocess.fork_exec() function. This function uses surrogateescape error handler for most arguments, but not for the current working directory (cwd). Attached patch uses PyUnicode_FSConverter() as done for other arguments. I

[issue8393] subprocess: support undecodable current working directory on POSIX OS

2010-04-13 Thread STINNER Victor
STINNER Victor added the comment: See also #8391. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8391] os.execvpe() doesn't support surrogates in env

2010-04-13 Thread STINNER Victor
STINNER Victor added the comment: See also #8393. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-13 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +subprocess: support undecodable current working directory on POSIX OS ___ Python tracker ___ ___

[issue8394] ctypes.dlopen() doesn't support surrogates

2010-04-13 Thread STINNER Victor
New submission from STINNER Victor : The PEP 383 introduces filename using surrogates. ctypes.dlopen() support them. ctypes.cdll.LoadLibrary('libc\uDCff.so.6') fails with: UnicodeEncodeError: 'utf-8' codec can't encode character '\udcff' in position 4: surrogates not allowed Attached pa

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-13 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +ctypes.dlopen() doesn't support surrogates ___ Python tracker ___ ___ Python-bugs-list ma

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-13 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file16897/surrogates-5.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-13 Thread Craig McQueen
Craig McQueen added the comment: I just realised--I didn't have c:\mingw\bin in my path. Once I added that to the path, then the build worked fine. So I guess the issue is only that the error message is somewhat cryptic. -- ___ Python tracker

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2010-04-13 Thread Neal Norwitz
Neal Norwitz added the comment: Thanks for taking care of this guys. Sorry, I got swamped with mail and had to archive 3,000+ messages. It looks like it's in good hands. Let me know if there's anything you need. I may not have access to the box anymore, however, I can always contact Kurt. -

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-13 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- assignee: michael.foord -> cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8394] ctypes.dlopen() doesn't support surrogates

2010-04-13 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> theller components: +ctypes nosy: +theller stage: -> unit test needed type: -> behavior ___ Python tracker ___ ___

[issue8395] shutil.copytree() add a copy_func parameter.

2010-04-13 Thread Ray.Allen
New submission from Ray.Allen : The shutil.copytree() function copies the whole tree recursively, and copy one single regular file with copy2(). I hope it can be more powerful(), that is, allow specifying a customerized copy function, rather than copy2(). To be specific, add an optional keywor

<    1   2