[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-20 Thread tzickel
tzickel added the comment: I see, so basically this would be a problem only if the root object had a __del__ method and then the GC wouldn't reclaim it ? -- ___ Python tracker

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-20 Thread tzickel
tzickel added the comment: You can see the testing code here: https://github.com/numpy/numpy/blob/eb40e161e2e593762da9c77858343e3720351ce7/n umpy/testing/_private/utils.py#L2199 it calls gc.collect in the end and only throws this error if it returns a non zero return value from it (after

[issue34396] Certain methods that heap allocated subtypes inherit suffer a 50-80% performance penalty

2018-10-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34396] Certain methods that heap allocated subtypes inherit suffer a 50-80% performance penalty

2018-10-20 Thread Dan Snider
Dan Snider added the comment: Well, I found another mystery. Calling tuple.__getitem__ directly, on an actual tuple instance, is 50-80% slower than calling list.__getitem__ even though in theory, they should be virtually identical with maybe tuple access being infinitesimally be faster.

[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2018-10-20 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +9361 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35034] Add closing and iteration to threading.Queue

2018-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Note we already have the task_done() / join() API to handle the common case of notification for when work is done. At one point, Guido opined that he didn't want the queue module to go any further into the world of task management (because it is beyond

[issue35025] Compiling `timemodule.c` can fail on macOS due to availability warnings

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset 002aef3f66a9f8da635e20860622f2e539a0b611 by Miss Islington (bot) in branch '3.7': closes bpo-35025: Properly guard the `CLOCK_GETTIME` et al macros in timemodule.c. (GH-9961)

[issue35025] Compiling `timemodule.c` can fail on macOS due to availability warnings

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset beb83d013e0295c987087febf2be78b1da389b15 by Miss Islington (bot) in branch '3.6': closes bpo-35025: Properly guard the `CLOCK_GETTIME` et al macros in timemodule.c. (GH-9961)

[issue35025] Compiling `timemodule.c` can fail on macOS due to availability warnings

2018-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +9360 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35025] Compiling `timemodule.c` can fail on macOS due to availability warnings

2018-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +9359 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35025] Compiling `timemodule.c` can fail on macOS due to availability warnings

2018-10-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 94451182ccd6729c11338926d8a3d11645e86626 by Benjamin Peterson (Max Bélanger) in branch 'master': closes bpo-35025: Properly guard the `CLOCK_GETTIME` et al macros in timemodule.c. (GH-9961)

[issue35034] Add closing and iteration to threading.Queue

2018-10-20 Thread Vladimir Filipović
Change by Vladimir Filipović : -- keywords: +patch, patch, patch, patch pull_requests: +9354, 9355, 9356, 9357 stage: -> patch review ___ Python tracker ___

[issue35034] Add closing and iteration to threading.Queue

2018-10-20 Thread Vladimir Filipović
Change by Vladimir Filipović : -- keywords: +patch, patch, patch pull_requests: +9354, 9355, 9357 stage: -> patch review ___ Python tracker ___

[issue35034] Add closing and iteration to threading.Queue

2018-10-20 Thread Vladimir Filipović
Change by Vladimir Filipović : -- keywords: +patch, patch pull_requests: +9354, 9355 stage: -> patch review ___ Python tracker ___

[issue35034] Add closing and iteration to threading.Queue

2018-10-20 Thread Vladimir Filipović
Change by Vladimir Filipović : -- keywords: +patch pull_requests: +9354 stage: -> patch review ___ Python tracker ___ ___

[issue35020] Add multisort recipe to sorting docs

2018-10-20 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +9353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31500] IDLE: Tiny font on HiDPI display

2018-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31500] IDLE: Tiny font on HiDPI display

2018-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f125d788ff71095390a9e190da6722eb00166cd4 by Terry Jan Reedy in branch '2.7': bpo-31500: Default fonts now are scaled on HiDPI displays. (#10015) https://github.com/python/cpython/commit/f125d788ff71095390a9e190da6722eb00166cd4 --

[issue35034] Add closing and iteration to threading.Queue

2018-10-20 Thread Vladimir Filipović
New submission from Vladimir Filipović : Code using threading.Queue often needs to coordinate a "work is finished as far as far as I care" state between the producing and consuming side. When going from the producer to the consumer ("No more items after this, so don't bother waiting"), this

[issue35020] Add multisort recipe to sorting docs

2018-10-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35020] Add multisort recipe to sorting docs

2018-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 890a4b92933be8e7c554222d99ef829c88fa8637 by Raymond Hettinger (Xtreak) in branch 'master': bpo-35020: Link to sorting examples from list.sort() (GH-9931) https://github.com/python/cpython/commit/890a4b92933be8e7c554222d99ef829c88fa8637

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm unclear whether you're reporting a true leak (one that can't be cleaned-up by a call to gc.collect()) or just a garden variety circular reference that will eventually free, just not as quickly as it would with straight reference counting applied when

[issue31500] IDLE: Tiny font on HiDPI display

2018-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +9352 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-20 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Thank you for testing and merging, Victor! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31500] IDLE: Tiny font on HiDPI display

2018-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 18c44cc0c13eed792e286ddc1d331951e723aeb9 by Terry Jan Reedy (Cheryl Sabella) in branch '2.7': [2.7] bpo-31500: IDLE: Scale default fonts on HiDPI displays. (GH-3639) (GH-6585)

[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This change introduced a compiler warning. /home/serhiy/py/cpython/Modules/_testcapimodule.c:5042:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] {"bad_get", bad_get, METH_FASTCALL}, ^~~

[issue35033] Column or row spanning cells are not implemented.

2018-10-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35017] socketserver accept a last request after shutdown

2018-10-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset eeab510bb7e51802c18b3770cbb23ae0ca91da6b by Senthil Kumaran in branch 'master': bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Please approve this one - https://github.com/python/cpython/pull/10005 and I adopt the backports according the reverts. -- ___ Python tracker

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: No problem, Ned. I will update it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34909] StrEnum subclasses cannot be created

2018-10-20 Thread Ethan Furman
Ethan Furman added the comment: Thank you both. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-10-20 Thread Ned Deily
Ned Deily added the comment: Thanks, Pablo, I cherry-picked the NEWS entries into 3.7.1 and 3.6.7. So I guess the only remaining question here is what to do about 2.7. I'll also leave that for you! -- ___ Python tracker

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Ned Deily
Ned Deily added the comment: Sorry, Senthil, I reverted the original PRs for 3.7.1 and 3.6.7 so you may need to redo your new PR. -- priority: deferred blocker -> ___ Python tracker

[issue34909] StrEnum subclasses cannot be created

2018-10-20 Thread Ned Deily
Ned Deily added the comment: NEWS entry added for 3.7.1 and master. Closing again. -- priority: deferred blocker -> stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34970] Protect tasks weak set manipulation in asyncio.all_tasks()

2018-10-20 Thread Ned Deily
Ned Deily added the comment: Released in 3.7.1 -- priority: release blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +9351 stage: -> patch review ___ Python tracker ___ ___

[issue34909] StrEnum subclasses cannot be created

2018-10-20 Thread Ned Deily
Ned Deily added the comment: New changeset 03ca8b5f23e9fe122bb0ca80397a2481c10cd7c4 by Ned Deily in branch '3.7': bpo-34909: NEWS entry. https://github.com/python/cpython/commit/03ca8b5f23e9fe122bb0ca80397a2481c10cd7c4 -- ___ Python tracker

[issue34970] Protect tasks weak set manipulation in asyncio.all_tasks()

2018-10-20 Thread Ned Deily
Ned Deily added the comment: New changeset 60c663c0f76c790afbed4d673c3ce264dd226b8c by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-34970: Protect tasks weak set manipulation in asyncio.all_tasks() (GH-9837) (GH-9849)

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-10-20 Thread Ned Deily
Ned Deily added the comment: New changeset ce3b5a80cc6ee4f9aff7b673f457294d7e054349 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) https://github.com/python/cpython/commit/ce3b5a80cc6ee4f9aff7b673f457294d7e054349 --

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Re-adding client_context.options |= ssl.OP_NO_TLSv1_3 makes the test pass again. -- ___ Python tracker ___

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Ned Deily
Ned Deily added the comment: New changeset 32fe7b0188bb73c84c0bde80643b6a3bfd03ba93 by Ned Deily in branch '3.7': bpo-34576: Revert doc change until it can be properly fixed (GH-9720) https://github.com/python/cpython/commit/32fe7b0188bb73c84c0bde80643b6a3bfd03ba93 --

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Ned Deily
Ned Deily added the comment: New changeset 92fe93e48a852d22ba33c0fa12112ae664724202 by Ned Deily in branch '3.6': bpo-34576: Revert doc change until it can be properly fixed (GH-9720) https://github.com/python/cpython/commit/92fe93e48a852d22ba33c0fa12112ae664724202 -- nosy:

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-10-20 Thread Ned Deily
Ned Deily added the comment: New changeset d404ffa8adf252d49731fbd09b740360577274c8 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) https://github.com/python/cpython/commit/d404ffa8adf252d49731fbd09b740360577274c8 --

[issue35033] Column or row spanning cells are not implemented.

2018-10-20 Thread Julien Palard
Julien Palard added the comment: Oh and we're also using raw spanning, in the same place, as the table header is two raws height and almost all cells but the last spans on two raws. -- ___ Python tracker

[issue35033] Column or row spanning cells are not implemented.

2018-10-20 Thread Julien Palard
New submission from Julien Palard : Recent tables introduced in Doc/c-api/typeobj.rst are using columns spanning. But columns spanning is not implemented in the sphinx text builder, resulting in: $ cd Doc $ sphinx-build -b text -d build/doctrees -W -D latex_elements.papersize= -Ea -A

[issue34969] Add --fast, --best to the gzip CLI

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure those options are such useful. If you want to control more details, it is not hard to write a tiny Python script. Python is a programming language on the whole. But if I add options for controlling the compression level, I would add options

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: It seems that the problem is that the ServerProto of test_start_tls_server_1 never receives a call to eof_received(). Weirdly enough it seems that if the HELLO_MSG is large enough (1024 * 1024), then the test always succeed. If we deactivate tls in

[issue21363] io.TextIOWrapper always closes wrapped files

2018-10-20 Thread Mitar
Mitar added the comment: I have a similar problem that text wrapper is closing the handle, and if I want to make a workaround, it also fails: buffer = io.Bytes() with io.TextIOWrapper(buffer, encoding='utf8') as text_buffer: write_content_to(text_buffer) text_buffer.flush()

[issue35027] distutils.core.setup does not raise TypeError when if classifiers, keywords and platforms fields are not specified as a list

2018-10-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem, since this is a doc fix you can directly fork and edit on GitHub web UI. This requires CLA to be signed but no NEWS entry so it can be done from web UI and you can take wording from the commit 8837dd092fe5ad5184889104e8036811ed839f98.

[issue34962] make doctest does not pass :/

2018-10-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +9350 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34562] cannot install versions 3.6.5+ on Windows

2018-10-20 Thread Steve Dower
Steve Dower added the comment: Make sure your system is fully up to date and you have rebooted before/after installing Python. That error means that system files are not installed correctly, which either means you are suffering corruption or you have pending installations waiting for a

[issue34909] StrEnum subclasses cannot be created

2018-10-20 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Ned, good news (I hope the best for the wife of Ethan) -- ___ Python tracker ___ ___

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset b53edb12f7176c58960d5ebaf48e740bea72a500 by Miss Islington (bot) in branch '2.7': bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004) https://github.com/python/cpython/commit/b53edb12f7176c58960d5ebaf48e740bea72a500 --

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset 76e8582fca17b89d2709ad7f4e1ad658ee839962 by Miss Islington (bot) in branch '3.6': bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004) https://github.com/python/cpython/commit/76e8582fca17b89d2709ad7f4e1ad658ee839962 --

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset 34a5ed5c0abbe75af2b75ad8bd03b68fd7e2f596 by Miss Islington (bot) in branch '3.7': bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004) https://github.com/python/cpython/commit/34a5ed5c0abbe75af2b75ad8bd03b68fd7e2f596 --

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +9349 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset d262250d0732bdf36cb92091e37360cf8ff40f7c by Miss Islington (bot) (Stéphane Wirtel) in branch 'master': bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004)

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +9348 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +9347 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Building and testing the parent of dbf102271fcc316f353c7e0a283811b661d128f2 always succeeds. -- ___ Python tracker ___

[issue34977] Release Windows Store app containing Python

2018-10-20 Thread Steve Dower
Steve Dower added the comment: (And I'll deal with that 1% at the PyPA sprints next weekend. We are due for a new pip insertion anyway, so I guess that'll come for 3.7.2.) -- ___ Python tracker

[issue34977] Release Windows Store app containing Python

2018-10-20 Thread Steve Dower
Steve Dower added the comment: I'm 99% sure that with issue34725 I'll be able to make "pip --user" the default when using this install, as well as making the commands globally available (i.e. "python[3[.8]]", "pip[3[.8]]", "idle[3[.8]]" will work everywhere). --

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think something is going on with the buildbot itself or the test has some race condition because that commit has been built before multiple times with no error. I am investigating in the buildbot itself. --

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting points to commit dbf102271fcc316f353c7e0a283811b661d128f2 as the dirst bad commit: dbf102271fcc316f353c7e0a283811b661d128f2 is the first bad commit commit dbf102271fcc316f353c7e0a283811b661d128f2 Author: Yury Selivanov Date: Mon May 28

[issue34909] StrEnum subclasses cannot be created

2018-10-20 Thread Ned Deily
Ned Deily added the comment: Thanks, Stéphane, but I’ve already taken care of it. I’ll be closing the issue shortly. (And ditto on the best wishes, Ethan.) -- ___ Python tracker

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-20 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I have converted the numpy code as a python helper and I am not sure if such a helper exists in the current test suite. Attaching the file that might help as a simple reproducer. # On master no error ➜ cpython git:(master)

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed it here - https://github.com/python/cpython/pull/10005 And tested the rendering too https://screenshots.firefox.com/9Wlq9v1Y7M4DZBsG/localhost Upon review / approval, I will merge this. Thank you! -- ___

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Senthil Kumaran
Change by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-20 Thread Senthil Kumaran
Change by Senthil Kumaran : -- pull_requests: +9346 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34909] StrEnum subclasses cannot be created

2018-10-20 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Ethan and Ned, I am not fluent with the code of the Enum, but maybe I could work on this issue and try to finish it. Ethan, I am really sorry for your wife, take care of her. -- ___ Python tracker

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-10-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- title: test_asyncio test_start_tls_server_1 fails in -> test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots ___ Python tracker

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9345 stage: -> patch review ___ Python tracker ___ ___

[issue35032] Remove the videos from faq/Windows

2018-10-20 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : In the FAQ of Windows, there are two references to external videos for the configuration of a dev environment for Windows, but these videos are no longer available because the domain name no longer exists. -- assignee: docs@python components:

[issue31299] Add "ignore_modules" option to TracebackException.format()

2018-10-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : Removed file: https://bugs.python.org/file47284/traceback_filter.patch ___ Python tracker ___ ___

[issue35031] test_asyncio test_start_tls_server_1 fails in

2018-10-20 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/168/builds/91 https://buildbot.python.org/all/#/builders/172/builds/41 https://buildbot.python.org/all/#/builders/173/builds/51 CURRENT-amd64% ./python -m test test_asyncio -m test_start_tls_server_1 Run

[issue31299] Add "ignore_modules" option to TracebackException.format()

2018-10-20 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: I asked for some input on this issue in January (https://mail.python.org/pipermail/python-dev/2018-January/151590.html). Since then an important PR was merged (https://github.com/python/cpython/pull/4793), however it mutates the traceback object. Should

[issue34995] functools.cached_property does not maintain the wrapped method's __isabstractmethod__

2018-10-20 Thread INADA Naoki
INADA Naoki added the comment: I agree with Serhiy. For static hinting, `@property` should be enough. I think tools like mypy should support this pattern: class MyABC(metaclass=ABCMeta): @property @abstractmethod def myprop(self): ... class MyConcrete(MyABC):

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-20 Thread tzickel
Change by tzickel : -- keywords: +patch pull_requests: +9344 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35030] Python 2.7 OrderedDict creates circular references

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Python 2.7 OrderedDict leaks memory -> Python 2.7 OrderedDict creates circular references ___ Python tracker ___

[issue35030] Python 2.7 OrderedDict leaks memory

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f1b90e3922e9d218cf1f6c94ab98874c1752bdf3 by Serhiy Storchaka in branch '3.6': bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-10001)

[issue34839] doctest: Change example under warnings section

2018-10-20 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34839] doctest: Change example under warnings section

2018-10-20 Thread Julien Palard
Julien Palard added the comment: New changeset 0522fd81dc6e3482c2d4c8719f1f85ad5924eede by Julien Palard (Stéphane Wirtel) in branch 'master': bpo-34839: Add a 'before 3.6' in the section 'warnings' of doctest (GH-9736)

[issue35030] Python 2.7 OrderedDict leaks memory

2018-10-20 Thread tzickel
New submission from tzickel : https://github.com/requests/requests/issues/4553#issuecomment-431514753 It was fixed in Python 3 by using weakref, but not backported to Python 2. Also might be nice to somehow to that leak test in more places to detect such issues ? -- components:

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9343 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 861d34eee345956cbb0940fa676bfb7ff492999d by Serhiy Storchaka in branch '3.7': bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-1)

[issue33237] Improve AttributeError message for partially initialized module

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Example: $ cat foo.py import bar bar.baz $ cat bar.py import foo baz = 2 $ ./python foo.py Traceback (most recent call last): File "foo.py", line 1, in import bar File "/home/serhiy/py/cpython/bar.py", line 1, in import foo File

[issue33712] OrderedDict can set an exception in tp_clear

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9342 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35029] Convert SyntaxWarning exception raised at code generation time to a SyntaxError

2018-10-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9341 stage: -> patch review ___ Python tracker ___ ___

[issue35029] Convert SyntaxWarning exception raised at code generation time to a SyntaxError

2018-10-20 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : SyntaxError contains more useful information than SyntaxWarning, and SyntaxError is special cased in tracebacks for better reporting. When SyntaxWarning is raised as an exception, the error report doesn't contain information about the source. It is hard

[issue35027] distutils.core.setup does not raise TypeError when if classifiers, keywords and platforms fields are not specified as a list

2018-10-20 Thread Tilman Krummeck
Tilman Krummeck added the comment: I guess it's now or never. Give me some time to check the developer's guide and I'll submit a doc fix for this. -- ___ Python tracker ___

[issue34574] OrderedDict iterators are exhausted during pickling

2018-10-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank your Sergey for your report and fix. -- components: +Extension Modules resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python

[issue34574] OrderedDict iterators are exhausted during pickling

2018-10-20 Thread miss-islington
miss-islington added the comment: New changeset 0d3dd9fe0d2565f09f70d8ea7341dfd88e6bd380 by Miss Islington (bot) in branch '3.6': bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. (GH-9051)