[issue11619] On Windows, don't encode filenames in the import machinery

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: The patch is really huge for such a very rare use case, so I prefer to close the issue as wont fix. Common cases with non-ASCII names are already handled correctly in Python 3.3. -- resolution: -> wont fix status: open -> closed _

[issue8952] Doc/c-api/arg.rst: fix documentation of number formats

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Three years later, nobody looks to be interested to work on this part of the documentation, so I'm closing the issue. => read the code, luke! (not the doc...) -- resolution: -> fixed status: open -> closed ___ Pyth

[issue11726] linecache becomes specific to Python scripts in Python 3

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Well, my initial message doesn't convince me anymore today (especially after reading Terry's message), so I prefer to close the issue as rejected. I don't think that it's really a problem :-) -- resolution: -> rejected status: open -> closed

[issue11995] test_pydoc loads all Python modules

2013-01-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file22133/python-2.7-issue_11995.patch ___ Python tracker ___ __

[issue11995] test_pydoc loads all Python modules

2013-01-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file22134/python-3.2-issue_11995.patch ___ Python tracker ___ __

[issue11995] test_pydoc loads all Python modules

2013-01-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : Removed file: http://bugs.python.org/file22135/python-3.3-issue_11995.patch ___ Python tracker ___ __

[issue11769] test_notify() of test_threading hang on "x86 XP-4 3.x":

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure, I don't know if it was reproduced recently, and the issue has no activity since more than 6 months => I'm closing the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue11925] test_ttk_guionly.test_traversal() failed on "x86 Windows7 3.x"

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure, I don't know if it was reproduced recently, and the issue has no activity since more than 6 months => I'm closing the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue12336] tkinter.test.test_ttk.test_widgets.test_select() failure on FreeBSD 6.4 3.x

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure, I don't know if it was reproduced recently, and the issue has no activity since more than 6 months => I'm closing the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue12453] test_import.test_failing_import_sticks() sporadic failures

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure, I don't know if it was reproduced recently, and the issue has no activity since more than 6 months => I'm closing the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue12466] test_subprocess.test_close_fds() sporadic failures on Mac OS X Tiger

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure, I don't know if it was reproduced recently, and the issue has no activity since more than 6 months => I'm closing the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: > New changeset c5c27b84d7af by Giampaolo Rodola' in branch '2.7': > Fix issue 10527: make multiprocessing use poll() instead of select() if > available. > http://hg.python.org/cpython/rev/c5c27b84d7af This changeset broke many buildbots, at least: http://build

[issue11886] test_time.test_tzset() fails on "x86 FreeBSD 7.2 3.x": AEST timezone called "EST"

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: What is the status of this issue? Was the failure reproduced recently? -- ___ Python tracker ___ ___

[issue13059] Sporadic test_multiprocessing failure: IOError("bad message length") in recv_bytes()

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Sporadic failure, I don't know if it was reproduced recently, and the issue has no activity since more than 6 months => I'm closing the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7cf4ea64f603 by Giampaolo Rodola' in branch '2.7': issue 10527: fix missing import http://hg.python.org/cpython/rev/7cf4ea64f603 New changeset d565d862545c by Giampaolo Rodola' in branch '3.2': issue 10527: fix missing import http://hg.python.org/cp

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2013-01-02 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: My bad, sorry. It should be fixed now. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue13100] sre_compile._optimize_unicode() needs a cleanup

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I don't know what to do with this issue. The code looks to work anyway, so I guess that it's safer to not touch it :-) -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue12309] os.environ was modified by test_packaging

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: The packaging modules has been removed from Python, so I close the issue. -- dependencies: -regrtest checks (os.environ, sys.path, etc.) are hard to use resolution: -> out of date status: open -> closed ___ Python t

[issue16833] http.client delayed ack / Nagle algorithm optimisation performs badly for large messages

2013-01-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea resolution: fixed -> stage: committed/rejected -> patch review status: closed -> open ___ Python tracker ___

[issue13157] Build Python outside the source directory

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I don't have this issue anymore (but I also don't build Python outside the source directory anymore), I already applied my patch, so I consider that the issue can be closed. If someone has a similar problem, it's maybe better to open a new issue. -- r

[issue14057] Speedup sysconfig startup

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I'm not really convinced by my patch. It looks like a quick hack. Nick's PEP 432 looks more promising (in speed), simple and safer. So I prefer to close this issue. -- resolution: -> rejected status: open -> closed ___

[issue12858] crypt.mksalt: use ssl.RAND_pseudo_bytes() if available

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that a salt must be cryptographic. Mersenne Twister should be enough to generate a salt. Anyway, ssl.RAND_pseudo_bytes() cannot be used currently and I don't have a patch, so I prefer to close this issue. -- resolution: -> rejected statu

[issue12939] Add new io.FileIO using the native Windows API

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I'm not really motivated to work on a Windows-specific issue. The issue has no patch, even no proof-of-concept implemented in Python. Can I close the issue, or is someone interested to work on this topic? Python 3.3 adds a opener argument to open(). It may be

[issue16281] TODO in tailmatch(): it does not support backward in all cases

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 49eb2488145d by Victor Stinner in branch 'default': Close #16281: handle tailmatch() failure and remove useless comment http://hg.python.org/cpython/rev/49eb2488145d -- nosy: +python-dev resolution: -> fixed stage: needs patch -> committed/

[issue16281] TODO in tailmatch(): it does not support backward in all cases

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: "Here I see a one obvious opportunity for optimization: ..." @Serhiy: Can you please open a new issue for this? I consider the issue as fixed: I just removed the TODO (for the reason explained in the changeset). --

[issue16286] Optimize a==b and a!=b for bytes and str

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: > P.S. I rather like the optimization and don't want to discourage it. I'm > just curious about what the current optimizations are missing. I'm too lazy to produce more statistics or run other benchmarks. I just saw an interesting optimization oportunity. I

[issue16367] io.FileIO.readall() is not 64-bit safe on Windows

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9aba9ad6c15b by Victor Stinner in branch '3.2': Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB http://hg.python.org/cpython/rev/9aba9ad6c15b New changeset 5f96e4619ceb by Victor Stinner in branch '3.3': (Merge 3.2) Issue #1

[issue14372] Fix all invalid usage of borrowed references

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Nobody looks motivated to work on such complex and long issue, so I close the issue. It's maybe simpler to open an issue per invalid usage of borrowed reference (as it was done for #14211 and #14231). -- resolution: -> wont fix status: open -> closed

[issue16367] io.FileIO.readall() is not 64-bit safe on Windows

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: > Perhaps we could add a bigmem test for that (in test_fileio)? Well, I'm too lazy to write such test. Instead of leaving the issue open for weeks, I prefer to commit my patch with no new test (sorry!). -- resolution: -> fixed status: open -> closed

[issue15599] test_threaded_import fails sporadically on Windows and FreeBSD

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13453] Tests and network timeouts

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Various fixes were done thanks to this issue. I close it. Open a new issue if you see again similar issues. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue13256] Document and test new socket options

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I created this issue for myself (as a reminder), but sorry I'm not really motivated to work on the documentation, nor test. Document socket options is not trivial because the exact definition depends on the platform. I close the issue. -- resolution:

[issue13209] Refactor code using unicode_encode_call_errorhandler() in unicodeobject.c

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I tried to factorize the code, but it is too complex. Each encoder handles errors differently. The most tricky is charmap: it reencodes the result of the error handler for non-ASCII characters. I'm not happy with the current situtation, but I don't see how to

[issue12112] The new packaging module should not use the locale encoding

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16742] PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe

2013-01-02 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Zachary Ware
Zachary Ware added the comment: A few minor grammatical and style nits in the prose added at the end of the diff: > +The test module defines a base class with the tests methods that access the > +``heapq`` module through a ``self.heapq`` class attribute, and two subclasses > +that set this attr

[issue13100] sre_compile._optimize_unicode() needs a cleanup

2013-01-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +mrabarnett stage: -> committed/rejected type: -> behavior ___ Python tracker ___ ___ Python-bugs

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the review, new patch attached. > This should either have another newline inbetween or be reflowed. > Either one paragraph or two makes sense to me, but I can't tell which > way you actually meant I meant one and half :) I guess in HTML that would ha

[issue16730] _fill_cache in _bootstrap.py crashes without directory execute permissions

2013-01-02 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file28538/issue16835-2.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file28539/issue16835-2.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8821] Range check on unicode repr

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Should this be closed then? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue16846] relative import solution

2013-01-02 Thread FizzledOut
New submission from FizzledOut: Instead of giving the error message " Attempted relative import in non-package", simply process the line! from . import Example whether or not the file is __main__, it should be able to go up one directory, if possible, and try to import Example.py. It makes n

[issue16009] Json error messages could provide more information about the error

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 17b4bf9e9f43 by Ezio Melotti in branch 'default': #16009: JSON error messages now provide more information. Patch by Serhiy Storchaka. http://hg.python.org/cpython/rev/17b4bf9e9f43 -- nosy: +python-dev

[issue16009] Json error messages could provide more information about the error

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: ezio.melotti -> resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue16847] sha module broken

2013-01-02 Thread Ronald Oussoren
New submission from Ronald Oussoren: On OSX 10.8 with the following configure line and a fresh checkout (as of 10 minutes ago): '../configure' '--enable-framework' '--enable-universalsdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' '--wi

[issue16833] http.client delayed ack / Nagle algorithm optimisation performs badly for large messages

2013-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Jesus, why are you reopening this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13094] Need Programming FAQ entry for the behavior of closures

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: I'm having some problem at deciding what the title of the FAQ should be, and what the actual problem is. ISTM that OP's problem is the same as: >>> x = 1 >>> def foo(): return x ... >>> x = 2 >>> foo() 2 except that he has 3 lambdas in a loop that get attached

[issue16847] sha module broken

2013-01-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16847] sha module broken

2013-01-02 Thread Ned Deily
Ned Deily added the comment: FWIW, a build of current top-of-branch 3.3 using the same configure command and in a subdirectory (../configure) seemed to work fine on 10.8.2 with Xcode 4.5.2. And I've not seen the issue with other recent builds of default. -- nosy: +ned.deily _

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Alejandro Marco Ramos
Alejandro Marco Ramos added the comment: In response to msg178860. When use the module logging and in the definition of the format string appear '%(funcName)s' the module crash. (Extract): File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 724, in emi

[issue12939] Add new io.FileIO using the native Windows API

2013-01-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue16847] sha module broken

2013-01-02 Thread Christian Heimes
Christian Heimes added the comment: The problem can only occur when you compile a non-pydebug build with the -DDEBUG flag instead the -DNDEBUG flag. With -DNDEBUG the assert() call doesn't do anything and the function call is removed by the preprocessor. I'll fix it later. -- assignee

<    1   2