[issue25263] test_tkinter fails randomly on the buildbots "AMD64 Windows10" (3.4, 3.5, 3.x)

2015-09-29 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20Windows10%203.x/builds/203/steps/test/logs/stdio == ERROR: setUpClass (tkinter.test.test_tkinter.test_font.FontTest)

[issue25263] test_tkinter fails randomly on the buildbots "AMD64 Windows10" (3.4, 3.5, 3.x)

2015-09-29 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Tests, Tkinter, Windows nosy: +paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue25262] Issues with BINUNICODE8 and BINBYTES8 opcodes in pickle

2015-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: There are issues with BINUNICODE8 and BINBYTES8 opcodes in pickle. 1. Unpickling BINBYTES8 is not implemented in Python implementation. 2. Highest 32 bits of 64-bit size are silently ignored in C implementation on 32-bit platforms. 3. There are no tests

[issue25264] test_marshal always crashs on "AMD64 Windows10 2.7" buildbot

2015-09-29 Thread STINNER Victor
New submission from STINNER Victor: test_marshal crash on Windows AMD64 since the first build of the "AMD64 Windows10 2.7" buildbot: http://buildbot.python.org/all/builders/AMD64%20Windows10%202.7/builds/1/steps/test/logs/stdio It crashs since this build of the "AMD64 Windows8 2.7" buildbot:

[issue23220] Documents input/output effects of how IDLE runs user code

2015-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Issue #21995 discussed same issue from cause side, as opposed to result. The new section is partly based on what I wrote above. I am not satisfied with it yet. New changeset ac6ade0c5927 by Terry Jan Reedy in branch '2.7': Issue 21995: Explain some

[issue25262] Issues with BINUNICODE8 and BINBYTES8 opcodes in pickle

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: To access an array item, the type of the index variable must be size_t (or a type with the same size), otherwise the compiler produce less efficient machine code: http://www.viva64.com/en/a/0050/ => please keep Py_ssize_t type for i (I didn't check for the

[issue25268] Support pointing frozen modules to the corresponding source files, if available.

2015-09-29 Thread Eric Snow
New submission from Eric Snow: (a generalization of issue #21335) One way or another, we should be able to record the appropriate path in the resulting data when a module is frozen. Keeping track of the source location is useful when debugging, especially with tracebacks. Also see a related

[issue21335] Update importlib.__init__ to reset _frozen_importlib's loader to SourceFileLoader

2015-09-29 Thread Eric Snow
Eric Snow added the comment: The underlying issue extends to all frozen modules. I've opened #25268 to consider how we might address it. -- nosy: +eric.snow ___ Python tracker

[issue25268] Support pointing frozen modules to the corresponding source files, if available.

2015-09-29 Thread Eric Snow
Changes by Eric Snow : -- nosy: +lemburg ___ Python tracker ___ ___

[issue25269] Add method to detect if a string contains surrogates

2015-09-29 Thread R. David Murray
New submission from R. David Murray: Because surrogates are in several contexts used to "smuggle" bytes through string APIs using surrogateescape, it is very useful to be able to determine if a given string contains surrogates. The email package, for example, uses different logic to handle

[issue25269] Add method to detect if a string contains surrogates

2015-09-29 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Unicode nosy: +ezio.melotti, haypo ___ Python tracker ___

[issue25262] Issues with BINUNICODE8 and BINBYTES8 opcodes in pickle

2015-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > To access an array item, the type of the index variable must be size_t (or a > type with the same size), otherwise the compiler produce less efficient > machine code: http://www.viva64.com/en/a/0050/ > > => please keep Py_ssize_t type for i i is small

[issue21995] Idle: pseudofiles have no buffer attribute.

2015-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Related #23220 has draft of part of what pushed. I want to do more on the subject. -- assignee: docs@python -> terry.reedy ___ Python tracker

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5165dcae942 by Victor Stinner in branch 'default': Issue #25220: Add test for --wait in test_regrtest https://hg.python.org/cpython/rev/e5165dcae942 -- ___ Python tracker

[issue18814] Add utilities to "clean" surrogate code points from strings

2015-09-29 Thread R. David Murray
R. David Murray added the comment: Done: issue 25269. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25157] Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017

2015-09-29 Thread Steve Dower
Changes by Steve Dower : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue25250] AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__version'

2015-09-29 Thread Steve Dower
Steve Dower added the comment: Well __version is determined by looking at sys.version to see what version was used to build Python, so you aren't really getting the "actual" one, though in practice it doesn't matter. For Python 3.5 and later you could get different versions from the one that

[issue23403] Use pickle protocol 4 by default?

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: Can't we "negociate" the protocol automatically? -- nosy: +haypo ___ Python tracker ___

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Hum, can you please write a short example of such class which can only be > pickled by the protocol 4 currently? Just for my information. For now there are no such classes in the stdlib. No one implements __getnewargs_ex__. But an alternative

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: "Pickling of objects of classes whose __new__ mandates the use of keyword-only arguments is supported with protocol 4 (using a new opcode NEWOBJ_EX)." Hum, can you please write a short example of such class which can only be pickled by the protocol 4

[issue25265] Python install failed windows 8.1- Error 0x80240017: Failed to execute MSU package

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of bug #25157. -- nosy: +haypo resolution: -> duplicate status: open -> closed superseder: -> Installing Python 3.5.0 32bit on Windows 8.1 64bit system gives Error 0x80240017 ___ Python tracker

[issue25265] Python install failed windows 8.1- Error 0x80240017: Failed to execute MSU package

2015-09-29 Thread Rahil Khurshid
New submission from Rahil Khurshid: Just downloaded and try to install the Python 3.5.0 .exe installer on Windows 8.1 Pro, which unexpectedly failed to install and crash on this error Error 0x80240017: Failed to execute MSU package (according to the logs) Then tried the older 3.4.3 .msi

Re: [issue22798] time.mktime doesn't update time.tzname

2015-09-29 Thread M.-A. Lemburg
On 29.09.2015 11:31, Akira Li wrote: > > Akira Li added the comment: > >> Would issue22798.diff patch address your issue? > > No. The issue is that C mktime() may update C tzname on some platforms > but time.mktime() does not update time.tzname on these platforms while > the time module docs

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e7d71a3bf0d by Victor Stinner in branch 'default': Issue #18174: Explain why is_valid_fd() uses dup() instead of fstat() https://hg.python.org/cpython/rev/0e7d71a3bf0d -- ___ Python tracker

[issue24483] Avoid repeated hash calculation in C implementation of functools.lru_cache()

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: clru_cache_known_hash_5.larry.patch looks good to me. Python 3.5 has no more restriction to push patches, go ahead Serhiy, push it to 3.5 & 3.6. -- nosy: +haypo ___ Python tracker

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: regrtest_class-2.patch: rebased path to try to get the [review] link. -- Added file: http://bugs.python.org/file40617/regrtest_class-2.patch ___ Python tracker

[issue25267] Optimize UTF-8 encoder with error handlers

2015-09-29 Thread STINNER Victor
New submission from STINNER Victor: Attached patch optimizes the UTF-8 encoder for error handlers: ignore, replace, surrogateescape, surrogatepass. It is based on the patch faster_surrogates_hadling.patch written by Serhiy Storchaka in the issue #24870. It also modifies unicode_encode_ucs1()

[issue25266] mako benchmark not working in Python 3.6

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: Hum, it would be nice to patch the mako benchmark to replace inspect.getargspec() with inspect.signature() (available since Python 3.3). -- nosy: +haypo ___ Python tracker

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: UserDict_self_and_dict_keywords_3.patch looks good to me. -- nosy: +haypo ___ Python tracker ___

[issue23972] Asyncio reuseport

2015-09-29 Thread chris laws
chris laws added the comment: Rebase patch onto current master. -- Added file: http://bugs.python.org/file40616/23972_cjl_v003.patch ___ Python tracker

[issue25266] mako benchmark not working in Python 3.6

2015-09-29 Thread Florin Papa
New submission from Florin Papa: Hi All, My name is Florin Papa and I work in the Server Languages Optimizations Team at Intel Corporation. I would like to submit a patch that deprecates the mako benchmark for Python 3.6 and above. The mako benchmark uses inspect.getargspec(), which is

[issue25260] python -m test --coverage doesn't work on Windows

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: Attached patch simply removes the list of ignored directories. It fixes test_regrtest.test_coverage() on Windows. -- keywords: +patch nosy: +barry, georg.brandl, vinay.sajip Added file: http://bugs.python.org/file40620/regrtest_coverage.patch

[issue25250] AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__version'

2015-09-29 Thread Matt Hickford
Matt Hickford added the comment: Hi Steve. Thanks for your reply. In the end I went with your something similar to your third suggestion. It's important I wanted to condition on what compiler distutils is using *now* to the build the extension on my computer, rather than what compiler was

[issue25001] Make --nowindows argument to regrtest propagate when running with -j

2015-09-29 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue22798] time.mktime doesn't update time.tzname

2015-09-29 Thread Akira Li
Akira Li added the comment: > Would issue22798.diff patch address your issue? No. The issue is that C mktime() may update C tzname on some platforms but time.mktime() does not update time.tzname on these platforms while the time module docs suggest that it might be expected e.g.: Most of

[issue25111] Broken compatibility in FrameSummary equality

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: traceback_FrameSummary_equality_2.patch looks good to me, but I have the same remark than Berker (see the review). -- nosy: +haypo ___ Python tracker

[issue23640] int.from_bytes() is broken for subclasses

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: 0002-int.from_bytes-calls-constructor-for-subclasses.patch looks good to me, but see my review on Rietveld for 2 minor comments. -- nosy: +haypo ___ Python tracker

[issue25111] Broken compatibility in FrameSummary equality

2015-09-29 Thread Robert Collins
Robert Collins added the comment: LGTM too. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18814] Add utilities to "clean" surrogate code points from strings

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: > I also want "detect if there are any surrogates". Could you please open a separated issue for this function/method? I believe that it's very different than other proposed functions/methods. It was proposed before to add methods like "is_ascii()" but the

[issue24773] Implement PEP 495 (Local Time Disambiguation)

2015-09-29 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- nosy: +akira ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 128a3f03ddeb by Victor Stinner in branch 'default': Optimize ascii/latin1+surrogateescape encoders https://hg.python.org/cpython/rev/128a3f03ddeb -- ___ Python tracker

[issue25227] Optimize ASCII/latin1 encoder with surrogateescape error handlers

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: INADA Naoki: The ASCII and latin1 encoders are now up to 3 times as fast when the surrogateescape error handler is used in Python 3.6. -- nosy: +naoki, serhiy.storchaka resolution: -> fixed status: open -> closed

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-29 Thread Eric V. Smith
Eric V. Smith added the comment: Fixed in 3.4, 3.5, and 3.6. Thanks for the bug report and patch! I added you to the Misc/ACKS file. -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2015-09-29 Thread Memeplex
Memeplex added the comment: Here is another manifestation of this problem: http://bugs.python.org/issue17050 -- ___ Python tracker ___

[issue23640] int.from_bytes() is broken for subclasses

2015-09-29 Thread Stefan Krah
Stefan Krah added the comment: > There are similar issues with Decimal.from_float() (C implementation only), > chain.from_iterable(), epoll.fromfd() and kqueue.fromfd(). All these > alternative constructors don't call __new__ or __init__. Could you create new issues? I need a summary. :)

[issue25250] AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__version'

2015-09-29 Thread Matt Hickford
Matt Hickford added the comment: It matters if you're trying to write a library that builds reliably 1. On Linux 2. On Windows compiler=msvc 3. On Windows compiler=mingw32 (many people set this in distutils.cfg [1]) ...for all Python versions 2.6 through 3.5 (24 combinations!) Anyway I think

[issue25034] string.Formatter accepts empty fields but displays wrong when nested

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9eae18e8af66 by Eric V. Smith in branch '3.4': Fixed issue #25034: Fix string.Formatter problem with auto-numbering https://hg.python.org/cpython/rev/9eae18e8af66 New changeset 65d7b4fd0332 by Eric V. Smith in branch '3.5': Issue #25034: Merge from

[issue25250] AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__version'

2015-09-29 Thread Steve Dower
Steve Dower added the comment: Once you've established that MSVC is being used, you can infer the version from the Python version, is what I meant by "it doesn't matter". The version attribute on the compiler instance is never going to differ pre-3.5, and post-3.5 it doesn't even exist.

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2015-09-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: In my PEP 495 work (see issue 24773,) I relaxed the offset checks to allow any integer number of *seconds*. This was necessary to support all timezones in the Olson database. With respect to string representation of such offset, I would like to bring

[issue25266] mako benchmark not working in Python 3.6

2015-09-29 Thread Brett Cannon
Brett Cannon added the comment: We should also see if Mako 1.0.2 uses inspect.getargspec() and create a mako2 benchmark that does the right thing. As for Victor's suggestion to simply change the code, we have historically avoided modifying library code that we use in a benchmark as it changes

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2015-09-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky keywords: +easy ___ Python tracker ___

[issue25261] Incorrect Return Values for any() and all() Built-in Functions

2015-09-29 Thread Sreenivasulu Saya
Sreenivasulu Saya added the comment: Thanks Steven and Tim for the comments. Today, I learnt something about Python. -- ___ Python tracker ___

[issue11215] test_fileio error on AIX

2015-09-29 Thread Arnon Yaari
Arnon Yaari added the comment: Some AIX systems have seekable /dev/tty, as is the case here and in msg90762, and on my system too. There is already an exemption in test_fileio.py for systems that have a seekable /dev/tty. AIX just needs to be exempt too. (from my experience, AIX and Solaris

[issue25270] codecs.escape_encode systemerror on empty byte string

2015-09-29 Thread Paul Kehrer
New submission from Paul Kehrer: Python 3.5.0 (default, Sep 13 2015, 10:33:07) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import codecs >>> codecs.escape_encode(b'') Traceback (most recent call

[issue25271] SystemError when doing codecs.escape_encode(b'')

2015-09-29 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> codecs.escape_encode systemerror on empty byte string ___ Python tracker

[issue19006] UnitTest docs should have a single list of assertions

2015-09-29 Thread Arnon Yaari
Changes by Arnon Yaari : -- nosy: +wiggin15 ___ Python tracker ___ ___ Python-bugs-list

[issue25250] AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__version'

2015-09-29 Thread Matt Hickford
Matt Hickford added the comment: Yes you're right. My setup.py if you're curious https://github.com/hickford/primesieve-python/blob/master/setup.py Separately, I think compiler=mingw32 is broken in Python 3.5 on computers with Visual Studio 2015 installed. http://bugs.python.org/issue25251 if

[issue25271] SystemError when doing codecs.escape_encode(b'')

2015-09-29 Thread Florian Bruhin
New submission from Florian Bruhin: I can reproduce this with 3.4.3 and 3.5.0: >>> import codecs >>> codecs.escape_encode(b'') Traceback (most recent call last): File "", line 1, in SystemError: Objects/bytesobject.c:3553: bad argument to internal function -- components: Interpreter

[issue25268] Support pointing frozen modules to the corresponding source files, if available.

2015-09-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I'm not sure which kind of use for frozen modules you have in mind. The freeze tool allows you to replace paths in source path prefixes using the -r option. We use this in eGenix PyRun to set the prefix to "" since at run-time, the source files won't be

[issue25270] codecs.escape_encode systemerror on empty byte string

2015-09-29 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +The Compiler, doerwalter, lemburg stage: -> needs patch ___ Python tracker ___

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 817e25bd34d0 by Victor Stinner in branch 'default': Issue #25220: Split the huge main() function of libregrtest.main into a class https://hg.python.org/cpython/rev/817e25bd34d0 -- ___ Python tracker

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12c666eea556 by Victor Stinner in branch 'default': Issue #25220: Create libregrtest/runtest_mp.py https://hg.python.org/cpython/rev/12c666eea556 -- ___ Python tracker

[issue25270] codecs.escape_encode systemerror on empty byte string

2015-09-29 Thread Berker Peksag
Changes by Berker Peksag : -- components: +Extension Modules -Interpreter Core keywords: +patch nosy: +berker.peksag stage: needs patch -> patch review versions: +Python 3.6 -Python 3.2, Python 3.3 Added file: http://bugs.python.org/file40623/issue25270.diff

[issue25274] "./python -m test test_sys": Fatal Python error: Cannot recover from stack overflow

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00c1cd1f0131 by Victor Stinner in branch 'default': Issue #25274: Workaround test_sys crash just to keep buildbots usable https://hg.python.org/cpython/rev/00c1cd1f0131 -- nosy: +python-dev ___ Python

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7e07c51d8fc6 by Victor Stinner in branch 'default': Issue #25220: Use print(flush=True) in libregrtest https://hg.python.org/cpython/rev/7e07c51d8fc6 New changeset e2ed6e9163d5 by Victor Stinner in branch 'default': Issue #25220, libregrtest:

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you all for your reviews. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue22958] Constructors of weakref mapping classes don't accept "self" and "dict" keyword arguments

2015-09-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue22798] time.mktime doesn't update time.tzname

2015-09-29 Thread Akira Li
Akira Li added the comment: Marc-Andre Lemburg writes: ... > tzname is set when the module is being loaded and not updated > afterwards (unless you call tzset()). I can't really see why you > would expect a module global in Python to follow the semantics > of a C global,

[issue25270] codecs.escape_encode systemerror on empty byte string

2015-09-29 Thread Bruno Oliveira
Changes by Bruno Oliveira : -- nosy: +Bruno Oliveira ___ Python tracker ___ ___

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6b48bfd6d8e by Victor Stinner in branch 'default': Issue #25220: truncate some long lines in libregrtest/*.py https://hg.python.org/cpython/rev/e6b48bfd6d8e New changeset 2c53c8dcde3f by Victor Stinner in branch 'default': Issue #25220,

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bd9422ef41e by Victor Stinner in branch 'default': Issue #25220: Enhance regrtest -jN https://hg.python.org/cpython/rev/8bd9422ef41e -- ___ Python tracker

[issue25274] "./python -m test -R 3:3: test_sys": Fatal Python error: Cannot recover from stack overflow

2015-09-29 Thread STINNER Victor
New submission from STINNER Victor: haypo@selma$ ./python -m test -R 3:3: test_sys [1/1] test_sys Fatal Python error: Cannot recover from stack overflow. Current thread 0x7f1921854700 (most recent call first): File "/home/haypo/prog/python/default/Lib/test/test_sys.py", line 209 in f

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c5407e1b0ec by Serhiy Storchaka in branch '2.7': Issue #22609: Constructor and the update method of collections.UserDict now https://hg.python.org/cpython/rev/4c5407e1b0ec New changeset 1869f5625392 by Serhiy Storchaka in branch '3.4': Issue

[issue22958] Constructors of weakref mapping classes don't accept "self" and "dict" keyword arguments

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8274fc521e69 by Serhiy Storchaka in branch '2.7': Issue #22958: Constructor and update method of weakref.WeakValueDictionary https://hg.python.org/cpython/rev/8274fc521e69 New changeset 01c79072d671 by Serhiy Storchaka in branch '3.4': Issue

[issue23972] Asyncio reuseport

2015-09-29 Thread Guido van Rossum
Guido van Rossum added the comment: I added a whole bunch of review comments. Please send a new patch! -- ___ Python tracker ___

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-09-29 Thread Thijs van Dien
Thijs van Dien added the comment: If this turns out to be a Windows problem, I'd insist not to close it as such but to find away around that. After all, in Python 3.4 there was no subcommand, and all was fine. Do we really need that second level menu? I found it to be less user-friendly as

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2015-09-29 Thread Mark Roseman
Mark Roseman added the comment: Ned, is there anything that I might be able to help with here? While I'm not a Mac installer guru, it doesn't look like we'd need anything too fancy here. Installing an 8.6 variant (via the frameworks approach I mentioned in my previous message) would seem to

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 281ab7954d7c by Victor Stinner in branch 'default': Issue #25220: Enhance regrtest --coverage https://hg.python.org/cpython/rev/281ab7954d7c New changeset 45c43b9d50c5 by Victor Stinner in branch 'default': Issue #25220: regrtest setups Python

[issue25274] "./python -m test test_sys": Fatal Python error: Cannot recover from stack overflow

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: Oh, it's even worse: "./python -m test test_sys" is enough to reproduce the crash. It looks like the crashs was introduced by the following change which (indirectly) adds one more Python frame in the code to execute test_sys. changeset: 98417:281ab7954d7c

[issue17050] argparse.REMAINDER doesn't work as first argument

2015-09-29 Thread Daniel Shahaf
Changes by Daniel Shahaf : -- nosy: +danielsh ___ Python tracker ___ ___

[issue25258] HtmlParser doesn't handle void element tags correctly

2015-09-29 Thread Chenyun Yang
Chenyun Yang added the comment: I think the bug is mostly about inconsistent behavior: and shouldn't be parsed differently. This causes problem in the case that the parser won't be able to know consistently whether it has ended the visit of tag. I propose one fix which will be: in the

[issue16023] IDLE freezes on ^5 or ^6 (Un-)Tabify Region with OS X Cocoa Tk 8.5

2015-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still current? Mark, any ideas on a fix for this one? -- nosy: +markroseman, terry.reedy ___ Python tracker

[issue16023] IDLE freezes on ^5 or ^6 (Un-)Tabify Region with OS X Cocoa Tk 8.5

2015-09-29 Thread Mark Roseman
Mark Roseman added the comment: Just tried and it seemed to work ok for me. I'm guessing it'll be a particular Tk version. Noting the timeline on the original bug report and subsequent comments, that was right when Tk 8.5 switched from Carbon to Cocoa, so it was probably something that got

[issue25001] Make --nowindows argument to regrtest propagate when running with -j

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: Steve Dower added the comment: > So basically what I said (-n becomes redundant) ok > and a new option for logging asserts to stderr? Yes. Modify PCbuild/rt.bat and/or Tools/buildbot/test.bat to enable the option on Windows buildbots. --

[issue25275] Documentation v/s behaviour mismatch wrt integer literals containing non-ASCII characters

2015-09-29 Thread Shreevatsa R
New submission from Shreevatsa R: Summary: This is about int(u'१२३४') == 1234. At https://docs.python.org/2/library/functions.html and also https://docs.python.org/3/library/functions.html the documentation for class int(x=0) class int(x, base=10) says (respectively): > If x is

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-09-29 Thread Nick Coghlan
Changes by Nick Coghlan : -- title: Register of Financial Interests for core contributors -> Opt-in motivations & affiliations page for core contributors ___ Python tracker

[issue25001] Make --nowindows argument to regrtest propagate when running with -j

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: > Yes. Modify PCbuild/rt.bat and/or Tools/buildbot/test.bat to enable > the option on Windows buildbots. Wait, I'm not sure that I understood. You want to hide warnings by default, and add an options to show them? If it's the case, no, PCbuild/rt.bat and

[issue25220] Enhance and refactor test.regrtest (convert regrtest.py to a package)

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6ec81abb8e6a by Victor Stinner in branch 'default': Issue #25220, libregrtest: Set support.use_resources in setup_tests() https://hg.python.org/cpython/rev/6ec81abb8e6a New changeset e765b6c16e1c by Victor Stinner in branch 'default': Issue #25220,

[issue25001] Make --nowindows argument to regrtest propagate when running with -j

2015-09-29 Thread Zachary Ware
Zachary Ware added the comment: Just to add my 0.02USD: I think my preferred course of action would be to enable '-n' by default and deprecate/ignore the option. For the assert output on stderr, I think it would be fine to hide it by default, but show it if verbose > i for some value of i

[issue25224] Replace Idle's README.txt with annotated file list

2015-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe the previous patch finishes making the current README.txt obsolete and ready to be replaced. Attached for review and comment is a mostly complete annotated listing of idlelib files and Idle menu items. I intend to apply this or a revised version

[issue25001] Make --nowindows argument to regrtest propagate when running with -j

2015-09-29 Thread STINNER Victor
STINNER Victor added the comment: This issue has been fixed by the following change: changeset: 98427:b48ae54ed5be user:Victor Stinner date:Wed Sep 30 01:39:28 2015 +0200 files: Lib/test/libregrtest/cmdline.py Lib/test/libregrtest/main.py

[issue25001] Make --nowindows argument to regrtest propagate when running with -j

2015-09-29 Thread Steve Dower
Steve Dower added the comment: I was only going to disable them by default for regrtest. The only way users will see them is when using the debug binaries or in their own extensions built in debug mode. We just don't want them scaring users who have just built from source and don't know about

[issue25270] codecs.escape_encode systemerror on empty byte string

2015-09-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: IMO, the "if (size == 0)" logic should be moved down several lines to avoid introducing a redundant "PyBytes_FromStringAndSize" call. -- nosy: +benjamin.peterson ___ Python tracker

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-09-29 Thread Nick Coghlan
Nick Coghlan added the comment: I updated the patch descriptions to indicate motives.diff is the current draft while still keeping the initial iteration available. I'll ping python-committers again to give folks another chance to comment on the second draft, and then look to merge it into the

[issue10381] Add timezone support to datetime C API

2015-09-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Since issue 24773 (PEP 495 implementation) will touch on CAPI, maybe it is time to implement this as well. -- nosy: +tim.peters versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue25266] mako benchmark not working in Python 3.6

2015-09-29 Thread Florin Papa
Florin Papa added the comment: There is already a mako_v2 benchmark in the Grand Unified Python Benchmarks, which does not use inspect.getargspec() and does not crash when using Python 3.6. -- ___ Python tracker

[issue25262] Issues with BINUNICODE8 and BINBYTES8 opcodes in pickle

2015-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4f8316d0860 by Serhiy Storchaka in branch '3.4': Issue #25262. Added support for BINBYTES8 opcode in Python implementation of https://hg.python.org/cpython/rev/d4f8316d0860 New changeset da9ad20dd470 by Serhiy Storchaka in branch '3.5': Issue

[issue25166] Windows AllUsers installation places uninstaller in user profile

2015-09-29 Thread Steve Dower
Steve Dower added the comment: After discussing it on the WiX mailing list, this definitely requires a change to WiX. Currently, as soon as you include any per-user packages in your bundle the entire registration is forced to per-user regardless of whether or not they are ever installed.

[issue25273] Console interpreter holds a hard link on last displayed object

2015-09-29 Thread Vladislav Ignatenko
Changes by Vladislav Ignatenko : -- components: Interpreter Core nosy: GPCracker priority: normal severity: normal status: open title: Console interpreter holds a hard link on last displayed object type: behavior versions: Python 2.7

[issue25272] asyncio tests are getting noisy

2015-09-29 Thread Guido van Rossum
New submission from Guido van Rossum: In 3.5 and up the asyncio test are pretty chatty with warnings. E.g. a recent run gave me this in 3.5: ./python.exe -m test.test_asyncio

  1   2   >