[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

[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

[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

[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 _

[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

[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

[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

[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

[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 _

[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

[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

[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

[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

[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

[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
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

[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 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

[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

[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

[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

[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:

[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

[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

[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

[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 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

[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

[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). --

[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/

[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

[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

[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 ___

[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

[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 ___

[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

[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

[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 ___ ___

[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

[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

[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 ___ ___

[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

[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

[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

[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

[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

[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

[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 ___ __

[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/file22133/python-2.7-issue_11995.patch ___ Python tracker ___ __

[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

[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

[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 _

[issue11365] Integrate Buildroot patches (cross-compilation)

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: @doko: You integrated patches related to cross-compilation. Can this issue be closed, or does the Buildroot project still contain useful patches? -- nosy: +doko ___ Python tracker

[issue16842] Allow to override a function signature for pydoc with a docstring

2013-01-02 Thread Meador Inge
Meador Inge added the comment: Serhiy, did you mean to mark this as "patch review"? I don't see a patch. -- nosy: +meador.inge ___ Python tracker ___ ___

[issue11242] urllib.request.url_open() doesn't support SSLContext

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: A solution does already exist, and I'm not motivated to work on an helper, so I'm closing this issue. -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue10951] gcc 4.6 warnings

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

[issue10951] gcc 4.6 warnings

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: fix_2warnings.diff: I don't like statement like (void)err; to kill a compiler warning. I prefer GCC __attribute__((unused)) using a macro instead. About the change on unicode_fromascii, the code changed a lot since the patch was written. The patch is outdated

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Meador Inge
Changes by Meador Inge : -- assignee: -> meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16047] Tools/freeze no longer works in Python 3

2013-01-02 Thread Meador Inge
Meador Inge added the comment: Thanks for the feedback everyone -- that helped. Here is a new patch which addresses issue (3) by not requiring os.__file__ to exist. The patch from issue11824 fixes freeze for 3.2 completely. The patch from issue11824 plus this patch fixes freeze for 3.3 and 3.4

[issue9561] distutils: set encoding to utf-8 for input and output files

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

[issue7651] Python3: guess text file charset using the BOM

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: The idea was somehow rejected on the python-dev mailing list. I'm not really motivated to work on this issue since I never see any file starting with a BOM on Linux, and I'm only working on Linux. So I just close this issue. If someone is motivated to work on

[issue12495] Rewrite InterProcessSignalTests

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I don't want to work on signals anymore, and nobody looks to be interested, so I'm closing this issue. -- resolution: -> wont fix status: open -> closed ___ Python tracker __

[issue13552] Compilation issues of the curses module on OpenIndiana

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: What is the status of this issue? Is curses still broken on Python 3.4? -- nosy: +trent ___ Python tracker ___ _

[issue14393] Incorporate Guide to Magic Methods?

2013-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Much of that article is taken directly from the official docs and adds very little in the way of explanation. I think we need our own write-up with better explanations and examples. -- nosy: +rhettinger ___ Pyth

[issue14094] nt.realpath() should use GetFinalPathNameByHandle() when available

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue15596] pickle: Faster serialization of Unicode strings

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: serhiy: I'm not really motivated to finish the work on this issue (especially "... it would probably be good idea to benchmarks non-ASCII strings as well."). Would you like to work on this? -- nosy: +serhiy.storchaka __

[issue16218] Python launcher does not support unicode characters

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: > I assign the issue to you than. Is it ok? Sure. I backported all changesets related to this issue to Python 3.2 and 3.3. So I can finally close this issue. -- assignee: haypo -> resolution: -> fixed status: open -> closed

[issue16444] Use support.TESTFN_UNDECODABLE on UNIX

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16414] Add support.NONASCII to test non-ASCII characters

2013-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16455] Decode command line arguments from ASCII on FreeBSD and Solaris if the locale is C

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

[issue16414] Add support.NONASCII to test non-ASCII characters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue #16

[issue16218] Python launcher does not support unicode characters

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue #16

[issue16444] Use support.TESTFN_UNDECODABLE on UNIX

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41658a4fb3cc by Victor Stinner in branch '3.2': Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE, http://hg.python.org/cpython/rev/41658a4fb3cc New changeset 4d40c1ce8566 by Victor Stinner in branch '3.3': (Merge 3.2) Issue #16

[issue16845] warnings.simplefilter should validate input

2013-01-02 Thread Sebastian Berg
New submission from Sebastian Berg: `warnings.simplefilter` does not validate that the category passed in is actually a class. This means that an invalid category leads to a `TypeError` whenever a warning would otherwise occur due to `issubclass` check failing. It is a very small thing, but fo

[issue16455] Decode command line arguments from ASCII on FreeBSD and Solaris if the locale is C

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: I backported the fix to Python 3.2 and 3.3 because I consider it important enough. -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2013-01-02 Thread Leo Arias
Leo Arias added the comment: What if we check if the stream has the writeln method? -- Added file: http://bugs.python.org/file28536/fix-16739-texttestresult_writeln-v2.patch ___ Python tracker

[issue16455] Decode command line arguments from ASCII on FreeBSD and Solaris if the locale is C

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c256764e2b3f by Victor Stinner in branch '3.2': Issue #16455: On FreeBSD and Solaris, if the locale is C, the http://hg.python.org/cpython/rev/c256764e2b3f New changeset 5bb289e4fb35 by Victor Stinner in branch '3.3': (Merge 3.2) Issue #16455: On Fr

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Alejandro Marco Ramos
Alejandro Marco Ramos added the comment: is not related to 16778 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread R. David Murray
R. David Murray added the comment: I wonder if this is related to issue 16778. -- nosy: +r.david.murray, vinay.sajip ___ Python tracker ___ __

[issue16748] Make CPython test package discoverable

2013-01-02 Thread Zachary Ware
Zachary Ware added the comment: Here's a patch that should clear up test_genericpath.py (and other path tests). -- resolution: fixed -> title: Ensure test discovery doesn't break for modules testing C and Python implementations -> Make CPython test package discoverable Added file: http

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide some code to reproduce the issue and/or the traceback you got? Note that 2.6 only receives security fixes, so it won't be fixed there -- but it can be fixed in 2.7/3.2/3.3/3.x if they are affected. -- nosy: +ezio.melotti ___

[issue16844] funcName in logging module for python 2.6

2013-01-02 Thread Alejandro Marco Ramos
New submission from Alejandro Marco Ramos: hi, when use the param 'funcName' in the logging module (version 0.4.9.6 for python 2.6) the module crash. Researching in the code (__init__.py) i see that the code for get the function name is in method '_log' in the class 'Logger'. The function 'fin

[issue16828] bz2 error on compression of empty string

2013-01-02 Thread Nadeem Vawda
Nadeem Vawda added the comment: Fixed. Thanks for the bug report and the patches! -- assignee: -> nadeem.vawda keywords: +3.3regression -patch resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16828] bz2 error on compression of empty string

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 06a08144af1b by Nadeem Vawda in branch '2.7': Issue #16828: Fix error incorrectly raised by bz2.compress(''). http://hg.python.org/cpython/rev/06a08144af1b New changeset c4a4863b85b2 by Nadeem Vawda in branch '3.2': Issue #16828: Fix error incorrect

[issue16801] Preserve original representation for integers / floats in docstrings

2013-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: A subclass with a custom representation, as I suggested above, is even simpler and involves no change to inspect or docstring conventions. I otherwise agree with closing this. -- ___ Python tracker

[issue16843] sporadic test_sched failure

2013-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a test only issue. There are two ways to fix this test. On first simple way we can just increase the timing and hope for a luck. On second more complicated way we should use custom deterministic time and sleep functions. Here is a first way patch to

[issue16842] Allow to override a function signature for pydoc with a docstring

2013-01-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2013-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, could you sign a contributor agreement? http://www.python.org/psf/contrib/ Thank you. -- ___ Python tracker ___ ___

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

2013-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch looks good to me, I've committed it. Thank you! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

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

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 002bf9857278 by Antoine Pitrou in branch 'default': Issue #16833: In http.client.HTTPConnection, do not concatenate the request headers and body when the payload exceeds 16 KB, since it can consume more memory for no benefit. http://hg.python.org/c

[issue16843] sporadic test_sched failure

2013-01-02 Thread Antoine Pitrou
New submission from Antoine Pitrou: Just got this: [255/372/1] test_sched Warning -- threading._dangling was modified by test_sched test test_sched failed -- Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/test/test_sched.py", line 83, in test_cancel_concurrent

[issue13810] refer people to Doc/Makefile when not using 'make' to build main documentation

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47df28c52840 by Ezio Melotti in branch 'default': #13810: fix Sphinx URL. http://hg.python.org/devguide/rev/47df28c52840 -- nosy: +python-dev ___ Python tracker __

[issue16839] segmentation fault when unicode(classic_class_instance)

2013-01-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue16747] Remove 'file' type reference from 'iterable' glossary entry

2013-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2afc0997e440 by Ezio Melotti in branch '3.2': #16747: fix link to file objects in the glossary. http://hg.python.org/cpython/rev/2afc0997e440 New changeset 6e4fc5e2acf8 by Ezio Melotti in branch '3.3': #16747: merge with 3.2. http://hg.python.org/cp

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: That would explain why no one was reviewing it :) -- keywords: +patch Added file: http://bugs.python.org/file28533/issue16835.diff ___ Python tracker

[issue16842] Allow to override a function signature for pydoc with a docstring

2013-01-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Just a quote of Georg Brandl's msg178519: > A simple, minimal-invasive solution would be to allow a signature for > documentation purposes as the first line of the docstrings. > > pydoc could recognize this (if docstring.startswith(func.__name__ + '(') or

[issue16835] Update PEP 399 to allow for test discovery

2013-01-02 Thread Philip Jenvey
Philip Jenvey added the comment: Hey Ezio, you forgot to attach the patch -- nosy: +pjenvey ___ Python tracker ___ ___ Python-bugs-lis

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2013-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: Those section could be moved to an appendix or somewhere near http://docs.python.org/3/tutorial/interactive.html. Note that this page and the one about float issues could be appendices too. -- ___ Python tracker

  1   2   >