[issue28885] Python 3.5.2 strange-behavior issues (from PyPy)

2016-12-07 Thread Armin Rigo
Armin Rigo added the comment: (S5) gregory: actually there is also fchown/chown in the same situation. -- ___ Python tracker ___ ___ P

[issue28847] dumbdbm should not commit if in read mode

2016-12-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue28847] dumbdbm should not commit if in read mode

2016-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a74bc7ba462 by Serhiy Storchaka in branch '3.5': Issue #28847: dbm.dumb now supports reading read-only files and no longer https://hg.python.org/cpython/rev/0a74bc7ba462 New changeset 0c532bd28539 by Serhiy Storchaka in branch '3.6': Issue #28847:

[issue12660] test_gdb fails when installed

2016-12-07 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue28770] Update python-gdb.py for fastcalls

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: 3.6 branch is reopened -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue28328] statistics.geometric_mean has no tests. Defer to 3.7?

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: 3.6rc1 is released. What is status of this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f31bf3f76f5 by Serhiy Storchaka in branch '3.5': Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. https://hg.python.org/cpython/rev/1f31bf3f76f5 New changeset 747de8acb7e4 by Serhiy Storchaka in branch '3.6': Issue #5322: Fix

[issue28884] Python 3.5.2 non-segfaulting bugs (from PyPy)

2016-12-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Standardise more behaviours for zero-argument super() __class__ and __classcell__ ___ Python tracker ___

[issue28885] Python 3.5.2 strange-behavior issues (from PyPy)

2016-12-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Make sure exceptions raised in __aiter__ are properly chained in ceval ___ Python tracker ___ ___

[issue28731] _PyDict_NewPresized() creates too small dict

2016-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d03562dcbb82 by INADA Naoki in branch '3.6': Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict. https://hg.python.org/cpython/rev/d03562dcbb82 -- ___ Python tracker

[issue28731] _PyDict_NewPresized() creates too small dict

2016-12-07 Thread INADA Naoki
Changes by INADA Naoki : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue28328] statistics.geometric_mean has no tests. Defer to 3.7?

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: It had been rolled back. https://hg.python.org/cpython/rev/9dce0e41bedd Can we close this issue? #27181 is still open. -- ___ Python tracker ___ _

[issue10401] Globals / builtins cache

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: dict has ma_version for now. @haypo, how do you think about this patch? Would you reimplement global cache? Or may I update this patch? -- versions: +Python 3.7 -Python 3.3 ___ Python tracker

[issue28818] simplify lookdict functions

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: @rhettinger, could you review simplify-lookdict2.patch? -- assignee: -> rhettinger ___ Python tracker ___

[issue28818] simplify lookdict functions

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: simplify-lookdict2.patch differs from simplify-lookdict.patch only by variable names. It LGTM as well. -- ___ Python tracker ___

[issue28818] simplify lookdict functions

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It looks to me that changes to find_empty_slot() can be committed independently. If this would make reviewing easier, may be split the patch on two parts? -- ___ Python tracker

[issue28884] Python 3.5.2 non-segfaulting bugs (from PyPy)

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: (B5) seems was just fixed in issue5322. >>> class C: __new__ = int.__new__ ... >>> C() Traceback (most recent call last): File "", line 1, in TypeError: int.__new__(C): C is not a subtype of int >>> class C(int): __new__ = object.__new__ ... >>> C() Trace

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-07 Thread STINNER Victor
STINNER Victor added the comment: test_file started to crash after the change "Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code." :-/ (so all buildbots became red.) Can someone fix it or revert it? (Sorry, I don't have the bandwith right to investigate the crash.) --

[issue10016] shutil.copyfile -- allow sparse copying

2016-12-07 Thread Samuel Shapiro
Samuel Shapiro added the comment: Patch fails on CentOS 6 -- python 2.6 [root@LG-E1A-LNX python2.6]# patch --dry-run -l -p1 -i shutil-2.6.patch shutil.py patching file shutil.py Hunk #1 succeeded at 22 (offset 1 line). Hunk #2 succeeded at 52 with fuzz 1 (offset 1 line). Hunk #3 FAILED at 61. 1

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The test is fixed if change order of base classes of UnsupportedOperation. This is rather a workaround, we should find more general fix. -- Added file: http://bugs.python.org/file45784/UnsupportedOperation-bases-order.patch _

[issue28596] on Android _bootlocale on startup relies on too many library modules

2016-12-07 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Patch version 5, updated comments. Thanks for all of those feedbacks :) -- Added file: http://bugs.python.org/file45785/android-locale-utf8.patch ___ Python tracker

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a610bc8577b by Serhiy Storchaka in branch '3.5': Change order of io.UnsupportedOperation base classes. https://hg.python.org/cpython/rev/4a610bc8577b -- ___ Python tracker

[issue28818] simplify lookdict functions

2016-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d4b2c6a0a7f by INADA Naoki in branch 'default': Issue #28818: Simplify lookdict functions https://hg.python.org/cpython/rev/8d4b2c6a0a7f -- nosy: +python-dev ___ Python tracker

[issue28818] simplify lookdict functions

2016-12-07 Thread INADA Naoki
Changes by INADA Naoki : -- assignee: rhettinger -> resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue28818] simplify lookdict functions

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: Thank you for review. And I'm sorry about I committed the patch before seeing last comment. -- ___ Python tracker ___ _

[issue26110] Speedup method calls 1.2x

2016-12-07 Thread INADA Naoki
Changes by INADA Naoki : -- versions: +Python 3.7 -Python 3.6 Added file: http://bugs.python.org/file45786/call_method_4.patch ___ Python tracker ___

[issue26110] Speedup method calls 1.2x

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please increase the magic number by 10. We need to reserve few numbers for the case of bytecode bug fixes in 3.6. -- nosy: +serhiy.storchaka ___ Python tracker _

[issue26110] Speedup method calls 1.2x

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added comments on Rietveld. Please document new bytecodes in the dis module documentation and What's New. -- ___ Python tracker ___ _

[issue26110] Speedup method calls 1.2x

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: $ ./python-default -m perf compare_to default.json callmethod4.json -G Slower (7): - pickle_dict: 66.0 us +- 4.6 us -> 77.0 us +- 5.9 us: 1.17x slower - json_loads: 63.7 us +- 0.7 us -> 68.4 us +- 1.4 us: 1.07x slower - unpack_sequence: 120 ns +- 2 ns -> 125 ns +- 3

[issue26110] Speedup method calls 1.2x

2016-12-07 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file45788/callmethod4.json.gz ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28894] Memory leak in dict.pop()

2016-12-07 Thread Marius Gedminas
New submission from Marius Gedminas: Run the following script with Python 3.6.0rc1: class O: pass o = O() for n in range(20): print(n) o.x = 42 o.__dict__.pop('x', None) You can observe the memory usage of the Python process growing exponentially. E

[issue28894] Memory leak in dict.pop()

2016-12-07 Thread Marius Gedminas
Marius Gedminas added the comment: If you're curious where this happens in real life, py.test's CaptureManager.deactivate_funcargs() does self.__dict__.pop("_capfuncarg", None) and I found it by running 'tox -e py36' on https://github.com/mgedmin/eazysvn -- __

[issue28895] Two suggestions for windows.html

2016-12-07 Thread Mark Summerfield
New submission from Mark Summerfield: This document is v. useful for Windows Python users: https://docs.python.org/dev/using/windows.html However, I think it could be improved as follows: (1) Explain which Python installer to get (since there are so many)! Even a "get the Windows x86 executabl

[issue28894] Memory leak in dict.pop()

2016-12-07 Thread Xiang Zhang
Xiang Zhang added the comment: This is the same problem as #28147. -- nosy: +xiang.zhang resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Unbounded memory growth resizing split-table dicts ___ Python tracker

[issue26110] Speedup method calls 1.2x

2016-12-07 Thread Yury Selivanov
Yury Selivanov added the comment: Please don't merge this without my review. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue28895] Two suggestions for windows.html

2016-12-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21978] Support index access on OrderedDict views (e.g. o.keys()[7])

2016-12-07 Thread Ulrich Petri
Ulrich Petri added the comment: Should this maybe reconsidered now that dicts are ordered by default? Having to explain why list is needed in list(some_ordered_dict.values())[0] is a constant thorn in my side when dealing with people new to Python. -- nosy: +ulope ___

[issue28867] NamedTemporaryFile does not generate a ResourceWarning for unclosed files (unlike TemporaryFile)

2016-12-07 Thread Jon Dufresne
Jon Dufresne added the comment: Thanks for the review. I have updated the patch. Now all warnings during tests handled. Please let me know if there are any other concerns with the changes. -- Added file: http://bugs.python.org/file45789/namedtemporaryfile-resourcewarning-2.patch _

[issue28867] NamedTemporaryFile does not generate a ResourceWarning for unclosed files (unlike TemporaryFile)

2016-12-07 Thread R. David Murray
R. David Murray added the comment: Hmm. That e.close() looks like there may be a deeper problem here. I don't have time to investigate myself, unfortunately. -- ___ Python tracker ___

[issue28867] NamedTemporaryFile does not generate a ResourceWarning for unclosed files (unlike TemporaryFile)

2016-12-07 Thread Jon Dufresne
Jon Dufresne added the comment: Just for some context, the e.close() is handling this bit of code: https://github.com/python/cpython/blob/d8132c4da7c46587221c5a244224b770d03860b6/Lib/urllib/request.py#L739-L754 When there is no error, http_error_302() will close the passed fp, on error, it wil

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Alexey Izbyshev
New submission from Alexey Izbyshev: The docs claim: "... the embedded distribution is (almost) fully isolated from the user’s system, including environment variables, system registry settings, and installed packages." Via ProcessMonitor tool I've discovered that python.exe still accesses keys

[issue28810] Document bytecode changes in 3.6

2016-12-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
New submission from Charles Harris: The lastest Python 3.6 pre-release broke a number of NumPy tests. The failing tests are of the sort with warnings.catch_warnings(record=True) as w: warnings.simplefilter('always') ... And the failure seems to be that nothing is recorded i

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Serhiy, Victor, can you look at this please? -- nosy: +haypo, ned.deily, serhiy.storchaka priority: normal -> release blocker ___ Python tracker ___

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-07 Thread Ned Deily
Ned Deily added the comment: This issue seems to have slipped through. Should it be a release blocker for 3.6.0 final or can it wait for 3.6.1? -- nosy: +ned.deily ___ Python tracker __

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: Probably this commit: https://hg.python.org/cpython/rev/aaee06743c61 . -- ___ Python tracker ___ ___

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Steve Dower
Steve Dower added the comment: It's not intentional, but we clearly haven't done anything to prevent it. Arguably this finder should be omitted when you run in isolated mode, and I'm on the fence about deprecating it entirely. Adding the importlib experts in case they have opinions (relevant o

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Paul Moore
Paul Moore added the comment: I thought that most of the users of this functionality had stopped doing so (the only one I recall for certain was pywin32, and last time this came up, I think someone said they had stopped). If the functionality isn't used in any of the well-known modules, I'm +1

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please show an example of failing test? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue20211] setup.py: do not add invalid header locations

2016-12-07 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Got the same issue here on building Python for Android. See https://circleci.com/gh/yan12125/python3-android/11 for an example build log. /usr/include is erroneously included and leads to build failures: building 'xxlimited' extension /home/ubuntu/android-ndk-r

[issue20211] setup.py: do not add system header locations when cross compiling

2016-12-07 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Modified this issue a bit and add some experts on the build system -- nosy: +zach.ware title: setup.py: do not add invalid header locations -> setup.py: do not add system header locations when cross compiling versions: +Python 3.5, Python 3.6, Python 3.7

[issue20211] setup.py: do not add system header locations when cross compiling

2016-12-07 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- nosy: +xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Calling pop() for instance's __dict__ is not common operation. I expected that this bug does not affect any real code. But the case in issue28894 looks as a real case. This might be a release blocker. -- ___ Pytho

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-07 Thread INADA Naoki
INADA Naoki added the comment: > Ned Deily added the comment: > > This issue seems to have slipped through. Should it be a release blocker for > 3.6.0 final or can it wait for 3.6.1? On Python 3.5, instance.__dict__.popitem() cause this issue. On Python 3.6, instance.__dict__.popitem() and inst

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Brett Cannon
Brett Cannon added the comment: Deprecate the importer. If I remember correctly it took us a while to even notice it was missing due to missing tests prior to importlib coming into existence (and getting anyone to care enough to help write those tests also took a lot of effort). -- _

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also msg278976. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue28190] Detect curses headers correctly for cross-compiling

2016-12-07 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: A clean patch without changes in ./configure. autoreconf necessary -- Added file: http://bugs.python.org/file45790/ncurses-headers.patch ___ Python tracker _

[issue28835] Change in behavior when overriding warnings.showwarning and with catch_warnings(record=True)

2016-12-07 Thread Brett Cannon
Brett Cannon added the comment: There's also issue #28835 which might be related. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-07 Thread STINNER Victor
STINNER Victor added the comment: In this case, I suggest to wait for 3.6.1 to fix it. -- ___ Python tracker ___ ___ Python-bugs-list

[issue28898] Can't compile gdb with Python 3.6

2016-12-07 Thread Charalampos Stratakis
New submission from Charalampos Stratakis: Trying to compile gdb, with python support and by having it depend on Python 3.6 produces an error that the HAVE_LONG_LONG has been redefined [0]. This seems to have been introduced by this commit [1]. I'm in no way expert on gdb, but from what I coul

[issue28898] Can't compile gdb with Python 3.6

2016-12-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-07 Thread Xiang Zhang
Xiang Zhang added the comment: __dict__.pop seems not uncommon. Searching Github could give many practical codes using it. And many of them are acting as generic containers and could be used against massive cases. -- ___ Python tracker

[issue27200] make doctest in CPython has failures

2016-12-07 Thread Marco Buttu
Marco Buttu added the comment: This last patch (make_doctest_ok.patch) makes all doctests pass (Sphinx 1.5, Python 3.6). Before applaying the patch there are 466 failures in 2096 tests, and after we have more tests (2414) and 0 failures. Actually, sometimes 3 tests fail in Doc/library/unittest

[issue28863] Doc/includes/*.py files and doctests

2016-12-07 Thread Marco Buttu
Marco Buttu added the comment: I attached a patch in issue 27200 that makes all doctests pass, so I close here. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue28860] Fixed all the doctest failures in Doc/library/configparser.rst

2016-12-07 Thread Marco Buttu
Marco Buttu added the comment: I attached a patch in issue 27200 that makes all doctests pass, so I close here. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue672115] Assignment to __bases__ of direct object subclasses

2016-12-07 Thread Eli Collins
Changes by Eli Collins : -- nosy: +eli.collins ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Steve Dower
Steve Dower added the comment: +Ned Could we get a doc patch into 3.6 marking this class as deprecated? It appears like the importlib docs are the only ones that refer to the class, and none of the docs describe the functionality or indicate that it is enabled by default. I could also pitch t

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: The failing tests don't use the context manager mentioned in msg278976 and which was fixed. In any case, the failures are new an appeared today. A failing test may be viewed at: https://github.com/numpy/numpy/blob/master/numpy/lib/tests/test_nanfunctions.py#L5

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Ned Deily
Ned Deily added the comment: I'm OK with adding a doc change before 3.6.0 final. But since this behavior is not new with 3.6, I would rather save any code changes for 3.6.1 unless there is a consensus that this is an urgent security issue. -- ___ P

[issue28835] Change in behavior when overriding warnings.showwarning and with catch_warnings(record=True)

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Brett, msg282646 ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28899] Symbols doesn't match in VS for python.exe and python35.dll

2016-12-07 Thread Arkady “KindDragon” Shapkin
New submission from Arkady “KindDragon” Shapkin: I installed Python 3.5.2 with PDB, but they can't be loaded. If I try to load them manually Visual Studio displays message "A matching symbol file was not found in this folder." -- components: Windows messages: 282658 nosy: Arkady “KindDr

[issue28893] Make sure exceptions raised in __aiter__ are properly chained in ceval

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Yury, sounds like a bug to me so it would be appropriate for a maintenance release. And not a showstopper release critical. -- ___ Python tracker _

[issue28899] Symbols doesn't match in VS for python.exe and python35.dll

2016-12-07 Thread Arkady “KindDragon” Shapkin
Arkady “KindDragon” Shapkin added the comment: That was my fault -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue28899] Symbols doesn't match in VS for python.exe and python35.dll

2016-12-07 Thread Arkady “KindDragon” Shapkin
Changes by Arkady “KindDragon” Shapkin : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue28898] Can't compile gdb with Python 3.6

2016-12-07 Thread Ned Deily
Changes by Ned Deily : -- keywords: +3.6regression -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Changes by Ned Deily : -- keywords: +3.6regression ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26865] Meta-issue: support of the android platform

2016-12-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue #20211: setup.py: do not add system header locations when cross compiling issue #28190: Detect curses headers correctly for cross-compiling -- dependencies: +Detect curses headers correctly for cross-compiling, setup.py: do not add system header l

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: So `warnings.catch_warnings` doesn't work anymore in 3.6? -- nosy: +pitrou ___ Python tracker ___ __

[issue28779] set_forkserver_preload() can crash the forkserver if preloaded module instantiate multiprocessing classes

2016-12-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I will probably commit this in the coming days. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-12-07 Thread Julien Palard
Changes by Julien Palard : Added file: http://bugs.python.org/file45793/issue26483.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It works in usual circumstances. >>> import warnings >>> with warnings.catch_warnings(record=True) as w: ... warnings.simplefilter('always') ... warnings.warn('a test warning', DeprecationWarning) ... print(w) ... [] -- _

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is Numpy doing that is breaking it? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have installed NumPy 1.11.2 and ran tests. Tests are passes successfully. -- ___ Python tracker ___

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Steve Dower
Steve Dower added the comment: Here's my proposed doc change for 3.6.0. Any concerns about wording? (The change to remove the line from _bootstrap_external.py will be separate, for ease of cherry-picking.) diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst --- a/Doc/library/im

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-07 Thread Steve Dower
Changes by Steve Dower : -- keywords: +patch Added file: http://bugs.python.org/file45794/28896_doc.patch ___ Python tracker ___ ___ P

[issue28755] Rework syntax highlighing in howto/clinic.rst

2016-12-07 Thread Julien Palard
Julien Palard added the comment: Just rebasing my patch on tip as it does no longer cleanly apply. -- Added file: http://bugs.python.org/file45795/issue28755-3.diff ___ Python tracker __

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: I downloaded the tarball and installed the release here and got the same errors. We setup the tests in developement mode by turning some warnings into errors, in particular DeprecationWarnings and RuntimeWarnings, and suppressing others. The tests that are fai

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: You probably need to run NumPy 1.12 to see the problem. Tt looks like the new suppress_warnings context manager is what has been broken. Note that is was broken by 3.6 before, fixed, and now seems to be broken again. -- ___

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: The NumPy 1.12.0b1 tarball is available on PyPI if you want to download it. -- ___ Python tracker ___ __

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-07 Thread Min RK
Min RK added the comment: This affects IPython (specifically the traitlets component), which is what prompted the report. We were able to push out a release of traitlets with a workaround for the bug (4.3.1), but earlier versions of IPython / traitlets will still be affected (all IPython >= 4,

[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

2016-12-07 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: The failure is fixed now, but it is fixed not in an elegant way (sys._getframe is used). I think this is not urgent. If there are no objections, then I would propose to change priority to normal. -- ___ Python tra

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Julien Palard
Julien Palard added the comment: Tried to run the test_nanfunctions.py on tip and Python 3.6.0b4+, on numpy 1.11 and 1.12.0b1, can't make it fail. Installed numpy 1.12.0b1 using: ./python -m pip install --user numpy==1.12.0b1 I suspect Charles tested using Python 3.6.0b3 (can you confirm?), wh

[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

2016-12-07 Thread Guido van Rossum
Changes by Guido van Rossum : -- priority: deferred blocker -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue28893] Make sure exceptions raised in __aiter__ are properly chained in ceval

2016-12-07 Thread Yury Selivanov
Yury Selivanov added the comment: Ned, sounds good. Serhiy, we don't have _PyErr_FormatFromCause in 3.5, so I'll probably commit the patch as is in 3.5. For 3.6 is definitely makes sense to use _PyErr_FormatFromCause. -- ___ Python tracker

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: I ran with Python 3.6.0rc1 (default, Dec 7 2016, 14:00:51) and get the same errors in both NumPy 1.13.0-dev and 1.12. But I gave you a wrong suggestion, we disable some test errors for releases, which is what is on PyPI, and that is doubtless why you don't se

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Charles, these are the two changes that went into Lib/warnings.py between b4 and rc1: changeset: 105490:aaee06743c61 branch: 3.6 parent: 105488:c0f59410ccfc user:Ned Deily date:Tue Dec 06 17:12:47 2016 -0500 files: Lib/warnings.py

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris
Charles Harris added the comment: OK, you fixed what broke us before. If I revert our fixes the problem goes away. So, thanks I guess ;) You can close this. -- ___ Python tracker _

[issue28635] Update What's New for 3.6

2016-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d12bc674b74e by Yury Selivanov in branch '3.6': Issue #28635: Drop the note that whatsnew is incomplete https://hg.python.org/cpython/rev/d12bc674b74e New changeset 1883072efc5f by Yury Selivanov in branch 'default': Merge 3.6 (issue #28635) https:/

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Nick Coghlan
Nick Coghlan added the comment: Closing as not a bug as Charles suggested, since the problem was due to a workaround NumPy introduced for a regression in the beta releases that was fixed for rc1. -- nosy: +ncoghlan resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Ned Deily
Ned Deily added the comment: Yes, thanks, Charles, and thanks everyone else. Sorry about the confusion with the changes in rc1. -- priority: release blocker -> ___ Python tracker _

  1   2   >