[issue23632] memoryview doesn't allow tuple-indexing

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be good to add examples with multidimensional memoryviews. For example: >>> a = array.array('l', [-, , -, ]) >>> m = memoryview(a).cast('B').cast('l', [2, 2]) >>> m[0, 0] - >>> m[1, 0] - >>> m[-1, -1] 44

[issue11468] Improve unittest basic example in the doc

2015-03-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Yes, go ahead an apply this patch. -- assignee: rhettinger -> ezio.melotti ___ Python tracker ___ ___

[issue20680] Pickle socket enums by names

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Ethan. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue1182143] making builtin exceptions more informative

2015-03-18 Thread George Jenkins
George Jenkins added the comment: Hi, I attempted a solution for this a while back Attached is a (git diff based) patch for review Changes can also been seen at: https://bitbucket.org/bloomberg/cpython/pull-request/2/http-bugspythonorg-issue1182143-add-name/diff (but note the changes in Misc/N

[issue23289] concurrent.futures.Executor.map is not equivalent to map.

2015-03-18 Thread Ned Deily
Changes by Ned Deily : -- nosy: +bquinlan versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.6 ___ Python tracker ___ ___ Python

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Ned Deily
Ned Deily added the comment: The code in question was added a long time ago by Ronald as part of the initial OS X universal build support (3078fdb7cf3d for Issue1488098). I'm not exactly sure what problem it was trying to solve ao I'm not sure that it's 100% safe to totally remove rather than

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Hammerite. Did you see the review comments on Rietveld? -- nosy: +berker.peksag ___ Python tracker ___

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-18 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue23673] IntEnum is unpicklable by previous Python versions

2015-03-18 Thread Ethan Furman
Changes by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue23673] IntEnum is unpicklable by previous Python versions

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5dd7b5fb65e7 by Ethan Furman in branch '3.4': issue23673 https://hg.python.org/cpython/rev/5dd7b5fb65e7 -- ___ Python tracker ___ _

[issue20680] Pickle socket enums by names

2015-03-18 Thread Ethan Furman
Ethan Furman added the comment: Enum members that are replacing constants now pickle by name (see issue23673). -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> IntEnum is unpicklable by previous Python versions _

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-18 Thread Hammerite
Hammerite added the comment: I'm a registered contributor now, in case that is a roadblock. -- ___ Python tracker ___ ___ Python-bugs-

[issue23673] IntEnum is unpicklable by previous Python versions

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset c93d46fd85ee by Ethan Furman in branch 'default': issue23673 https://hg.python.org/cpython/rev/c93d46fd85ee -- nosy: +python-dev ___ Python tracker ___

[issue22941] IPv4Interface arithmetic changes subnet mask

2015-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for trying this! As discussed on python-dev, overflowing the netmask should raise an OverflowError. Also, some tests should be added to Lib/test/test_ipaddress.py. -- nosy: +pitrou stage: -> needs patch versions: +Python 3.5 ___

[issue22903] unittest creates non-picklable errors

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3977f34cf6c by Antoine Pitrou in branch '3.4': Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable. https://hg.python.org/cpython/rev/f3977f34cf6c New changeset a1b5ac563d8d by Antoine

[issue22903] unittest creates non-picklable errors

2015-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23632] memoryview doesn't allow tuple-indexing

2015-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch addressing Serhiy's comments. -- Added file: http://bugs.python.org/file38550/memoryview_tuple_indexing2.patch ___ Python tracker

[issue22903] unittest creates non-picklable errors

2015-03-18 Thread Robert Collins
Robert Collins added the comment: LGTM please commit. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23309] Hang on interpreter shutdown if daemon thread prints to stdout

2015-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch with tests. -- Added file: http://bugs.python.org/file38549/bufio_lock_finalizing_fatal_error2.patch ___ Python tracker ___ ___

[issue22903] unittest creates non-picklable errors

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: classname is not used in _make_failed_test(). -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue23632] memoryview doesn't allow tuple-indexing

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I left few nitpicks on Rietveld, but in general the patch LGTM. Oh, needed a documentation. -- ___ Python tracker ___ ___

[issue22903] unittest creates non-picklable errors

2015-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file38548/pickle_module_import_failure.patch ___ Python tracker ___

[issue22903] unittest creates non-picklable errors

2015-03-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch and the testing. I’m not in a position to commit the patch; if no core developer does it in the coming week, feel free to ping python-dev to get action. You can also hop onto IRC at any time and see if someone here can finish this. ---

[issue17799] settrace docs are wrong about "c_call" events

2015-03-18 Thread Maries Ionel Cristian
Changes by Maries Ionel Cristian : -- nosy: +ionel.mc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue23632] memoryview doesn't allow tuple-indexing

2015-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue23353] generator bug with exception: tstate->exc_value is not cleared after an except block

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: Thanks Antoine! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue23632] memoryview doesn't allow tuple-indexing

2015-03-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you want to review the patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue23353] generator bug with exception: tstate->exc_value is not cleared after an except block

2015-03-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue23353] generator bug with exception: tstate->exc_value is not cleared after an except block

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac43268da908 by Antoine Pitrou in branch '3.4': Issue #23353: improve exceptions tests for generators https://hg.python.org/cpython/rev/ac43268da908 New changeset b29342f53174 by Antoine Pitrou in branch 'default': Issue #23353: improve exceptions t

[issue23545] Turn on extra warnings on GCC

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not well experienced with autoconf. Here is my attempt. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file38547/configure_extra_warnings.patch ___ Python tracker

[issue23702] docs.python.org/3/howto/descriptor.html still refers to "unbound methods"

2015-03-18 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue23702] docs.python.org/3/howto/descriptor.html still refers to "unbound methods"

2015-03-18 Thread Paul Sokolovsky
New submission from Paul Sokolovsky: Under https://docs.python.org/3/howto/descriptor.html#functions-and-methods , there're several references to unbound methods (including in expected output from the interpreter). As known, unbound methods are gone in Python3, so seeing those are confusing.

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Joshua J Cogliati
Joshua J Cogliati added the comment: On OSX 10.10.1, With the small_example, and with python 3.4.3 and: $ export CXX="env BAR=FOO g++" $ python3 setup.py build_ext build install --prefix=`pwd` running build_ext building '_example' extension swigging example/example.i to example/example_wrap.cpp

[issue11468] Improve unittest basic example in the doc

2015-03-18 Thread Ezio Melotti
Ezio Melotti added the comment: Raymond, in the meanwhile can the proposed patch be applied? I don't think it's necessary to show that you need to import a module in order to test its functions. Using modules also has the disadvantage that people might not know what result to expect if they ar

[issue23695] idiom for clustering a data series into n-length groups

2015-03-18 Thread Paddy McCarthy
Paddy McCarthy added the comment: I like R. David Murray's suggestion, but I am also aware of how it works and so cannot judge how it would look to the intermediate Python programmer who knows iterators and zip, but is new to this grouper; (who I think should be the target audience).

[issue23701] Drop extraneous comment from winreg.QueryValue's docstring

2015-03-18 Thread Paul Moore
Changes by Paul Moore : -- nosy: +paul.moore ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22334] test_tcl.test_split() fails on "x86 FreeBSD 7.2 3.x" buildbot

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suggest just upgrade Tcl on this buildbot to release version of 8.6. Or downgrade to release version of 8.5 or 8.4. No need to test Python with beta version of Tcl. 8.6.0 was released years ago. -- ___ Python tr

[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Joshua J Cogliati
Joshua J Cogliati added the comment: > Does the patch fix things on Mac OS X and Linux? So far as I can tell, the code in question is to do something so that CXX variables like: export CXX="env BAR=FOO g++" work better. However, it is broken for that case, and since it has been broken since at

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Éric Araujo
Éric Araujo added the comment: Does the patch fix things on Mac OS X and Linux? -- assignee: eric.araujo -> versions: -3rd party, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: gcc -O3 generates a sequence of cmp-s. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23566] RFE: faulthandler.register() should support file descriptors

2015-03-18 Thread Wei Wu
Wei Wu added the comment: The updated patch refactored test code a little bit according to the latest review comments by Victor. -- Added file: http://bugs.python.org/file38546/issue23566_fd_tests_v2.patch ___ Python tracker

[issue23701] Drop extraneous comment from winreg.QueryValue's docstring

2015-03-18 Thread Claudiu Popa
New submission from Claudiu Popa: winreg.QueryValue's docstring has an "interesting" comment at the end: "But the underlying API call doesn't return the type, Lame Lame Lame, DONT USE THIS!!!" The documentation (https://docs.python.org/3.4/library/winreg.html#winreg.QueryValue) already menti

[issue23655] Memory corruption using pickle over pipe to subprocess

2015-03-18 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2015-03-18 Thread Joshua J Cogliati
Joshua J Cogliati added the comment: Here is an example to use to test for this bug. Proper use on my computer (PYTHONPATH may need adjusting on other systems): Python2: cd small_example python setup.py build_ext build install --prefix=`pwd` export PYTHONPATH=`pwd`/lib64/python2.7/site-packages

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Stefan Krah
Stefan Krah added the comment: Hmm, at least for the version at https://mail.python.org/pipermail/python-ideas/2015-March/032564.html I'm not sure if the optimizer will produce the same code as for the switch statement. Did you look at the asm? -- __

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d68cc584bc7d by Serhiy Storchaka in branch 'default': Restored backward compatibility of pickling http.cookies.Morsel. It was https://hg.python.org/cpython/rev/d68cc584bc7d -- ___ Python tracker

[issue21955] ceval.c: implement fast path for integers with a single digit

2015-03-18 Thread Zach Byrne
Zach Byrne added the comment: I haven't looked at it since I posted the benchmark results for 21955_2.patch. -- ___ Python tracker ___ ___

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> patch review versions: -Python 3.6 ___ Python tracker ___ ___ Pyt

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23695] idiom for clustering a data series into n-length groups

2015-03-18 Thread R. David Murray
R. David Murray added the comment: I think it would be both helpful and sufficient to add a gloss, perhaps something like: "this passes zip ``n`` references to the *same* iterator, which means zip calls that single iterator ``n`` times for each tuple it creates; zip thus outputs tuples consist

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Such macros would make the code cleaner. But I don't think it should be provided as a part of API. It isn't hard to implement, it doesn't provide essential functionality of Python, and it doesn't hide implementation defined CPython internals. I rather consid

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-18 Thread Davin Potts
Davin Potts added the comment: To provide supporting information, using the i386 release of FreeBSD 10.1: * ctypes fails to build with the latest from Python 2.7 branch with the message: build/temp.freebsd-10.1-RELEASE-i386-2.7-pydebug/usr/home/davin/pycoredev/cpython/Modules/_ctypes/libff

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-18 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman, georg.brandl, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-18 Thread Matěj Stuchlík
Changes by Matěj Stuchlík : -- nosy: +sYnfo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23700] tempfile.NamedTemporaryFile can close too early if used as iterator

2015-03-18 Thread Bohuslav "Slavek" Kabrda
New submission from Bohuslav "Slavek" Kabrda: This bug is very similar to #18879, the only difference is that _TemporaryFileWrapper.__iter__ is the problem (in #18879, __getattr__ was fixed, but __iter__ was not). The real world use case that helped me find this bug is at the bottom of this re

[issue12855] linebreak sequences should be better documented

2015-03-18 Thread R. David Murray
R. David Murray added the comment: SMRUTI: \f is the python escape code for the ASCII formfeed character. It is the handling of that ASCII character (among others) that this issue is discussing. -- nosy: +r.david.murray ___ Python tracker

[issue15787] PEP 3121, 384 Refactoring

2015-03-18 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-03-18 Thread Nick Coghlan
Nick Coghlan added the comment: Bumped to release blocker so we make sure to look at this at the PyCon sprints, if not before. (I'm assuming Larry's not taking release blocker literally for the 3.5 alphas) As Neil notes, this patch needs some explicit tests for the new behaviour when the futu

[issue22906] PEP 479: Change StopIteration handling inside generators

2015-03-18 Thread Nick Coghlan
Changes by Nick Coghlan : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2211] Cookie.Morsel interface needs update

2015-03-18 Thread Demian Brecht
Demian Brecht added the comment: Thanks for the follow up Serhiy, LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue23654] infinite loop in faulthandler._stack_overflow

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: > It occurs to me that the right way to deal with this is with > __attribute__ ((optimize ("no-optimize-sibling-calls"))) > on the function where it matters (stack_overflow()). Can you please write a patch for that with the right #ifdef to only add it to ICC?

[issue22521] ctypes compilation fails on FreeBSD: Undefined symbol "ffi_call_win32"

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: out of date -> duplicate superseder: -> Python 2.7.9 ctypes module doesn't build on FreeBSD x86 ___ Python tracker ___ ___

[issue23042] ctypes module doesn't build on FreeBSD x86

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: Python 3.4 and 3.5 are also affected: I marked issue #22521 as a duplicate of this issue. -- nosy: +haypo title: Python 2.7.9 ctypes module doesn't build on FreeBSD x86 -> ctypes module doesn't build on FreeBSD x86 versions: +Python 3.4, Python 3.5 __

[issue22521] ctypes compilation fails on FreeBSD: Undefined symbol "ffi_call_win32"

2015-03-18 Thread koobs
koobs added the comment: FWIW, see #23042 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23624] str.center inconsistent with format "^"

2015-03-18 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with David: It's unfortunate, but too late to change. FWIW, since the goal is to replace just str.center, I'd write this as: def my_center(s, width): return format(s, '^' + str(width)) As soon as you're mixing in other formatting, then str.center co

[issue23696] zipimport: chain ImportError to OSError

2015-03-18 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22931] cookies with square brackets in value

2015-03-18 Thread Tim Graham
Changes by Tim Graham : -- nosy: +Tim.Graham ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Petr Viktorin
Petr Viktorin added the comment: Here is a patch that uses the macro in all the places it can help. -- Added file: http://bugs.python.org/file38542/0002-Use-Py_RICHCOMPARE-in-rich-comparisons.patch ___ Python tracker

[issue22521] ctypes compilation fails on FreeBSD: Undefined symbol "ffi_call_win32"

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: FreeBSD 6.4 buildbot is broken (hg update fails), FreeBSD 7.2 is offline. I close the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker _

[issue22333] test_threaded_import.test_parallel_meta_path() failed on x86 Windows7 3.x

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently, I close the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23699] Add a macro to ease writing rich comparisons

2015-03-18 Thread Petr Viktorin
New submission from Petr Viktorin: Rich comparison functions of many builtin types include a block of boilerplate which can be consolidated in a macro. The macro can be useful for third-party extensions as well as CPython itself. See this e-mail for a longer write-up: https://mail.python.org/

[issue22181] os.urandom() should use Linux 3.17 getrandom() syscall

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1fc32bf069ff by Victor Stinner in branch 'default': Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if https://hg.python.org/cpython/rev/1fc32bf069ff -- nosy: +python-dev ___ Pyt

[issue19569] Use __attribute__((deprecated)) to warn usage of deprecated functions and macros

2015-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue12458] Tracebacks should contain the first line of continuation lines

2015-03-18 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ers81239 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue23687] Stacktrace identifies wrong line in multiline list comprehension

2015-03-18 Thread R. David Murray
R. David Murray added the comment: This is a specific case of the more general problem discussed in issue 12458. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Tracebacks should contain the first line of continuation lines _

[issue21955] ceval.c: implement fast path for integers with a single digit

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: What's the status of this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue21788] Rework Python finalization

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: This issue was more a reminder for myself (TODO). I'm no more interesting to work on it, so I close it. The Python finalization is very fragile. I prefer to not touch it again :-p -- resolution: -> out of date status: open -> closed _

[issue21734] compilation of the _ctypes module fails on OpenIndiana: ffi_prep_closure_loc symbol is missing

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: This issue has been fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue21644] Optimize bytearray(int) constructor to use calloc()

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: I'm not interested to work on this optimization, so I just close the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue20719] testPythonOrg() of test_robotparser fails with the new www.python.org website

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: This issue has been worked around. -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue20717] test_4_daemon_threads() fails randomly on "x86 Windows Server 2003 [SB] 3.x"

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20614] test.script_helper should copy SYSTEMROOT environment variable for __cleanenv=True

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: > There is a single test which uses __cleanenv=True: test_hash. The test pass on Windows and this issue is old. I prefer to simplify close it. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue20574] Implement incremental decoder for cp65001

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23624] str.center inconsistent with format "^"

2015-03-18 Thread R. David Murray
R. David Murray added the comment: I would write it: "{:^{width}}".format(title, width=width) By the way, in case it isn't clear, we acknowledge that in a perfect world center would work "right", but our judgment is that the pain of fixing it outweighs the benefit. Our collective consensu

[issue11726] clarify that linecache only works on files that can be decoded successfully

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: 4 years to fix this minor documentation issue, I feel ashamed... -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue23698] Fix documentation for multiprocessing.Manager

2015-03-18 Thread Davin Potts
Davin Potts added the comment: This is closely related to issue23510. The two issues are reacting to the same underlying inconsistency though in this issue the problem is more generally (and clearly) stated whereas issue23510 is more concerned with the consequences to using these as Context M

[issue11726] clarify that linecache only works on files that can be decoded successfully

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01cb2107cbc3 by Victor Stinner in branch '3.4': Issue #11726: Fix linecache example in the doc https://hg.python.org/cpython/rev/01cb2107cbc3 -- ___ Python tracker ___

[issue11726] clarify that linecache only works on files that can be decoded successfully

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 51341af466e3 by Victor Stinner in branch '3.4': Issue #11726: clarify linecache doc: linecache is written to cache Python https://hg.python.org/cpython/rev/51341af466e3 -- nosy: +python-dev ___ Python tra

[issue12155] queue example doesn't stop worker threads

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ _

[issue12155] queue example doesn't stop worker threads

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset b44ec269abda by Victor Stinner in branch 'default': Issue #12155: Fix queue doc example to join threads https://hg.python.org/cpython/rev/b44ec269abda -- nosy: +python-dev ___ Python tracker

[issue12568] Add functions to get the width in columns of a character

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: Since no consensus was found on the definition of the function, and this issue has no activity since 2 years, I close the issue as out of date. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue19428] marshal: error cases are not documented

2015-03-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e4605542ac4 by Victor Stinner in branch 'default': Issue #19428: Handle PyMarshal_Read*() errors in run_pyc_file() https://hg.python.org/cpython/rev/1e4605542ac4 New changeset acb4d43955f6 by Victor Stinner in branch '3.4': Issue #19428: Document t

[issue19428] marshal: error cases are not documented

2015-03-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue19564] test_context() of test_multiprocessing_spawn hangs on "x86 Gentoo Non-Debug 3.x" buildbot

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this sporadic failure recently. The buildbot is now offline. I close the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker _

[issue11410] Use GCC visibility attrs in PyAPI_*

2015-03-18 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #19569: "Use __attribute__((deprecated)) to warn usage of deprecated functions and macros". -- ___ Python tracker ___ __

  1   2   >