[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: For a large amount of data, a list uses a single large contiguous block of memory while a deque uses many small discontiguous blocks. In your demo, I that suspect that some of the memory pages for deque's blocks are also being used for other small bits o

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.04.2021 03:37, akdor1154 wrote: > > akdor1154 added the comment: > > If I understand the target of this issue, this is a breaking change in python > 3.9 . > > E.g. see https://github.com/SAP/PyHDB/issues/149 > > Ideally if we did not intend to b

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also, when running deque measurements, run the following before getting the starting process memory: deque(range(2000)).clear() # fill the deque freelist That will give a cleaner before/after comparison. -- _

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.04.2021 07:47, Inada Naoki wrote: > > Inada Naoki added the comment: > > I think it is too late. Python 3.9 has been released already. Reverting the > change is also breaking change. > > PEP 100 says: > "Search functions are expected to take one

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-23 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: -hroncok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-04-23 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I'm attaching a patch for improving "Building C and C++ Extensions on Windows" and "Building C and C++ Extensions" docs. -- Added file: https://bugs.python.org/file49973/patch.patch ___ Python tracker

[issue32133] documentation: numbers module nitpick

2021-04-23 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue30094] PDB enhancement

2021-04-23 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue23602] Implement __format__ for Fraction

2021-04-23 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue11977] Document int.conjugate, .denominator, ...

2021-04-23 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue23975] numbers.Rational implements __float__ incorrectly

2021-04-23 Thread Sergey B Kirpichev
Change by Sergey B Kirpichev : -- nosy: +Sergey.Kirpichev ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Nick Coghlan
Nick Coghlan added the comment: I've removed the "?" from the end attributes for pattern nodes. The draft PR branch now compiles, but I've clearly made a mistake somewhere as it segfaults when trying to compile test_patma.py. -- ___ Python tracker

[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: I wasn't aware of this bpo and created bpo-43885 a couple of days ago. tl;dr I do not understand test changes in fb7e7505ed1337bf40fa7b8b68317d1e86675a86 at all. I think that these changes are broken, too. ThreadedEchoServer and ConnectionHandler must not

[issue43885] ResourceWarning: unclosed test_pha_required_nocert

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: Thanks Victor, let's handle the issue in bpo-37322 instead. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> test_ssl: test_pha_required_nocert() emits a ResourceWarning

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 32980fb669a6857276da18895fcc0cb6f6fbb544 by Hai Shi in branch 'master': bpo-37751: Document codecs.lookup() change in What's New in Python 3.9 (GH-23096) https://github.com/python/cpython/commit/32980fb669a6857276da18895fcc0cb6f6fbb544 --

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Nick Coghlan
Nick Coghlan added the comment: My proposed MatchConstant node name was bothering me, as most constants are actually matched by equality in MatchValue, the same way variables are. So I'm switching my proposed name for that node to be MatchSingleton, since that better reflects the key differe

[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24273 pull_request: https://github.com/python/cpython/pull/25553 ___ Python tracker ___

[issue37363] Additional PEP578 hooks

2021-04-23 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.10 -Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
New submission from Christian Heimes : OpenSSL 3.0.0-alpha15 handles empty data input to d2i_X509_bio() and PEM_read_bio_X509() differently. This causes cadata test for invalid data to fail with inconsistent error message. Let's handle 0 result case more consistent and raise an error message

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Nick Coghlan
Nick Coghlan added the comment: Segfaults are fixed (I had a couple of cases where I wasn't checking for NULL, and another where I was looking up MatchMapping attributes on a MatchClass node). test_patma passes except for test cases 240, 241, and 242, which look like genuine regressions - t

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +24274 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25554 ___ Python tracker ___

[issue37363] Additional PEP578 hooks

2021-04-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 927b841c215a1ca36c9b3203eadc67ce05b1ed07 by Saiyang Gou in branch 'master': bpo-37363: Add audit events to the `http.client` module (GH-21321) https://github.com/python/cpython/commit/927b841c215a1ca36c9b3203eadc67ce05b1ed07 -- __

[issue37363] Additional PEP578 hooks

2021-04-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: the http module is covered by the audit events -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/405/builds/9 Extract from the logs: The Buildbot has detected a new failure on builder AMD64 Windows8.1 Non-Debug 3.x while building python/cpython. Full details are available at: https://buildbot.pytho

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Gentle ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Commenting out the enum tests reveals that test_socket has additional problems: 𓋹 ./python.exe -m test test_socket -R 3:3 0:00:00 load avg: 2.32 Run tests sequentially 0:00:00 load avg: 2.32 [1/1] test_socket beginning 6 repetitions 123456 /Users/pgalin

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43852] [sqlite3] Improve tuple creation

2021-04-23 Thread Berker Peksag
Berker Peksag added the comment: New changeset e9194ea6eaa18299d6ccbd3555ce150fab0c6184 by Erlend Egeberg Aasland in branch 'master': bpo-43852: Improve tuple creation in sqlite3 (GH-25421) https://github.com/python/cpython/commit/e9194ea6eaa18299d6ccbd3555ce150fab0c6184 -- ___

[issue43852] [sqlite3] Improve tuple creation

2021-04-23 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +OpenSSL 3.0.0: handle empty cadata consistently ___ Python tracker ___ ___ Python-bug

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-04-23 Thread Mark Dickinson
Mark Dickinson added the comment: For the record, here's the python-ideas thread: https://mail.python.org/archives/list/python-id...@python.org/thread/AWNTQZ3HHAQ42O2ZHRA3U2US4HGKC2TF/ I'm no longer convinced that this is a good idea. It's the usual difference between "Would it have been bet

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset b9ad88be0304136c3fe5959c65a5d2c75490cd80 by Christian Heimes in branch 'master': bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) https://github.com/python/cpython/commit/b9ad88be0304136c3fe5959c65a5d2c75490cd

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24275 pull_request: https://github.com/python/cpython/pull/2 ___ Python tracker ___

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24276 pull_request: https://github.com/python/cpython/pull/25556 ___ Python tracker ___

[issue41282] Deprecate and remove distutils

2021-04-23 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 90d02e5e63e2cb8f66a2c0dd2ea8d7d4f45f4ebf by Lumír 'Frenzy' Balhar in branch 'master': bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) (GH-23142) https://github.com/python/cpython/commit/90d02e5e63e2cb8f66a2c

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-23 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset e7cc64e297001cc79b9afab80f71d9e6d1267cb7 by Petr Viktorin in branch 'master': bpo-43795: PEP-652: Simplify headers for easier static analysis (GH-25483) https://github.com/python/cpython/commit/e7cc64e297001cc79b9afab80f71d9e6d1267cb7 -

[issue32891] Add 'Integer' as synonym for 'Integral' in numbers module.

2021-04-23 Thread Sergey B Kirpichev
Sergey B Kirpichev added the comment: On Fri, Apr 23, 2021 at 11:51:17AM +, Mark Dickinson wrote: > The name "Integral" isn't actually _wrong_ as such; it's just perhaps > not the name that we would have chosen if we were inventing the > numbers ABC right now. > > If we add "Integer", we h

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-23 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 9d6a2d0ee7e55402656e1dec46400591b62db331 by Petr Viktorin in branch 'master': bpo-43795: PEP-652: Clean up the stable ABI/limited API (GH-25482) https://github.com/python/cpython/commit/9d6a2d0ee7e55402656e1dec46400591b62db331 -- _

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Nick Coghlan
Nick Coghlan added the comment: To get the "0+0" matching case rejected again I had to flesh out a bit more of the AST validator. This initial piece of the validator replaces the previously pattern-matching-specific AST optimisation code that refused to fold BinOp expressions that weren't co

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset dcf658157df11de198a98e3db2a3050dd4f6b973 by Christian Heimes in branch 'master': bpo-38820: Test with OpenSSL 3.0.0-alpha15 (GH-25537) https://github.com/python/cpython/commit/dcf658157df11de198a98e3db2a3050dd4f6b973 --

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset e259a77f21bdfc7d4195913b379cbd6daee45d0d by Christian Heimes in branch '3.9': [3.9] bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) (GH-2) https://github.com/python/cpython/commit/e259a77f21bdfc7d4195913b

[issue43868] Remove PyOS_ReadlineFunctionPointer from the stable ABI list

2021-04-23 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 91b69b77cf5f78de6d35dea23098df34b6fd9e53 by Petr Viktorin in branch 'master': bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI list (GH-25442) https://github.com/python/cpython/commit/91b69b77cf5f78de6d35dea23098df34b6fd9e53

[issue43911] Queue.get() memory leak

2021-04-23 Thread Jens
Jens added the comment: Thanks for your input. So i've run the tests with the List of Lists Queue class, there seems to be a resulting difference depending on what qsize() method I define, that is called my script. For an instance where qsize just return None, class QueueLists(list

[issue43911] Queue.get() memory leak

2021-04-23 Thread Jens
Jens added the comment: Regarding deque, the leak indeed does not seem to be releasable after it is inited to up the size of the number of elements that are going to put into the queue, as: qmem = collections.deque(range(n_puts)) qmem.clear() The results are: ># >del_after

[issue43911] Queue.get() memory leak

2021-04-23 Thread Jens
Jens added the comment: So this got me thinking of trying to use some other linked list implementations. I've used a llist library - https://github.com/ajakubek/python-llist Using their doubly linked list implementation: class DllistQueue(queue.Queue): def _init(self, maxsize):

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Nick Coghlan
Nick Coghlan added the comment: https://github.com/ncoghlan/cpython/pull/9/commits/54940a3817df3046da3f9c51d4d426a73b2ec786 implements Brandt's suggestion of disallowing NULL keys in MatchMapping and instead passing in an explicit "rest" identifier to capture the extra keys. This did require

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Nick Coghlan
Nick Coghlan added the comment: Setting clear timing expectations, given beta is so close: I'm not expecting to have time to finish the unparser work over the weekend, but I do expect to have time to finish it on Monday evening my time (UTC+10). -- __

[issue43856] Docs for importlib.metadata should mention Python version

2021-04-23 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue43911] Queue.get() memory leak

2021-04-23 Thread Jens
Jens added the comment: Also compared this library to deque, and Queues based on this: https://github.com/kata198/python-cllist It seems to be as fast as deque, uses a bit more memory at the top usage, but does not leak at all. -- ___ Python trac

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a77aac4fca9723b8fd52a832f3e9df13beb25113 by Pablo Galindo in branch 'master': bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525) https://github.com/python/cpython/commit/a77aac4fca9723b8fd52a832f3e9df13beb25113 -- ___

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Julien Castiaux
New submission from Julien Castiaux : Hello, We received multiple bug reports about broken links in rich html emails. Sometime, in some emails, a link like https://example.com";> would become https://example..com>, notice the double dot. After multiple researches both in the Python email sou

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 82b6c0909aae423d9c8f4ff7d0e8df16106dbe28 by Christian Heimes in branch '3.8': [3.8] bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) (GH-25556) https://github.com/python/cpython/commit/82b6c0909aae423d9c8f4ff7

[issue43920] OpenSSL 3.0.0: handle empty cadata consistently

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Jérôme Vanhaudenard
Change by Jérôme Vanhaudenard : -- nosy: +jev2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.11

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: I haven't followed this precisely, but I recall that when we first made PEP 563 the default, we had to fix a number of bugs in various library modules (e.g. inspect) that were only apparent when `from __future__ import annotations` was used. I hope we're n

[issue43908] array.array should remain immutable

2021-04-23 Thread Guido van Rossum
Guido van Rossum added the comment: Is there going to be a separate PR to actually *set* the IMMUTABLE flag on all built-in type objects? There are many of those. -- ___ Python tracker _

[issue35114] ssl.RAND_status docs describe it as returning True/False; actually returns 1/0

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: Thanks Zackery! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker _

[issue35114] ssl.RAND_status docs describe it as returning True/False; actually returns 1/0

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 7d37b86ad48368cf93440ca220b758696730d0e5 by Zackery Spytz in branch 'master': bpo-35114: Make ssl.RAND_status() return a bool (GH-20063) https://github.com/python/cpython/commit/7d37b86ad48368cf93440ca220b758696730d0e5 -- nosy: +chri

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, when running your code on my Intel Mac with 16 Gb of RAM, the "after return" result is 0.1%. So getting up to 2.2% seems to be specific to your build. Also, I just ran your code with a deque instrumented to count the number of mallocs and frees.

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread FHTMitchell
New submission from FHTMitchell : As of python 3.9, you now can't have multiple inheritance with `typing.NamedTuple` subclasses. This seems sensible, until you realise that `typing.Generic` works via inheritance. This fails whether or not `from __future__ import annotations` is enabled. exam

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread FHTMitchell
Change by FHTMitchell : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue43923] Can't create generic NamedTuple as of py3.9

2021-04-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +levkivskyi, rhettinger, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : -- files: main.py nosy: rafihassan190041234 priority: normal severity: normal status: open title: print unexpected values in infinite loop type: behavior versions: Python 3.9 Added file: https://bugs.python.org/file49975/main.py ___

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-23 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: @steve.dower Would you mind merging the backport of the PR to the 3.9 branch manually? Apparently there seems to a test failure. I'm not sure why. But it reports that test has been failing recently. -- ___ Python

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread R. David Murray
R. David Murray added the comment: Since python is doing the right thing here, I don't see a particularly good reason to put a hack into the stdlib to fix the failure of third party software to adhere to standards. (On the output side. We do follow Postel's rule on input and try hard to ha

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : -- type: behavior -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Removed file: https://bugs.python.org/file49975/main.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue43538] [Windows] support args and cwd in os.startfile()

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 019e9e816882f5c43c4b833f81844b8299e815fd by Steve Dower in branch 'master': bpo-43538: Add extra arguments to os.startfile (GH-25538) https://github.com/python/cpython/commit/019e9e816882f5c43c4b833f81844b8299e815fd -- __

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +24278 pull_request: https://github.com/python/cpython/pull/25559 ___ Python tracker ___ __

[issue43538] [Windows] support args and cwd in os.startfile()

2021-04-23 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 3513d55a617012002c3f82dbf3cec7ec1abd7090 by Steve Dower in branch 'master': bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) https://github.com/python/cpython/commit/3513d55a617012002c3f82dbf3cec7ec1abd7090 --

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +24277 pull_request: https://github.com/python/cpython/pull/25558 ___ Python tracker _

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue43911] Queue.get() memory leak

2021-04-23 Thread Jens
Jens added the comment: Ok, I see, thanks Raymond. Queue based logging leaks seem to hang my deployed applications atm, so this seemed like a possible reason for it. I use locally 8GB Ubuntu, and it gets to 2.2% after return with 20million puts, and on a remote 1GB Ubuntu instance, it gets

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24279 pull_request: https://github.com/python/cpython/pull/25560 ___ Python tracker ___ ___

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, I am being forced to revert commit a02cb474f9c097c83cd444a47e9fb5f99b4aaf45 due to have it failing of all refleak buildbots for more than two days. -- ___ Python tracker

[issue43892] Make match patterns explicit in the AST

2021-04-23 Thread Brandt Bucher
Brandt Bucher added the comment: I can probably find time to take a pass at the unparser, if you want. > cls needs to be an expression node to allow for attribute lookups That's why I suggested "identifier*"! Each identifier in the list would be one part of the dotted name, so we wouldn't ne

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Ethan Furman
Ethan Furman added the comment: My apologies, I was having hardware issues. Checking it out now. -- ___ Python tracker ___ ___ Pyt

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +24280 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25561 ___ Python tracker ___

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Added file: https://bugs.python.org/file49976/main.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread miss-islington
miss-islington added the comment: New changeset 04bcfe001cdf6290cb78fa4884002e5301e14c93 by Miss Islington (bot) in branch '3.9': bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) https://github.com/python/cpython/commit/04bcfe001cdf6290cb78fa4884002e5301e14c93 ---

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Added file: https://bugs.python.org/file49977/main.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Removed file: https://bugs.python.org/file49976/main.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Removed file: https://bugs.python.org/file49977/main.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Rafi Hassan Chowdhury
Change by Rafi Hassan Chowdhury : Added file: https://bugs.python.org/file49978/main.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue43925] Add hangul syllables to unicodedata.decomposititon

2021-04-23 Thread Frédéric Grosshans-André
New submission from Frédéric Grosshans-André : Currently (python 3.8.6, unidata_version 12.1.0) unicodedata.decomposition outputs an empty string for hangul syllable (codepoints in the AC00..D7A3 range) while the decomposition is not empty: it is always two characters (either a LV syllable and

[issue38659] enum classes cause slow startup time

2021-04-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks a lot Ethan. I will wait then for the investigation. -- ___ Python tracker ___ ___

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset e047239eafefe8b19725efffe7756443495cf78b by Christian Heimes in branch 'master': bpo-43921: ignore failing test_wrong_cert_tls13 on Windows (GH-25561) https://github.com/python/cpython/commit/e047239eafefe8b19725efffe7756443495cf78b

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Julien Castiaux
Change by Julien Castiaux : -- keywords: +patch pull_requests: +24281 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25562 ___ Python tracker ___

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread Julien Castiaux
Julien Castiaux added the comment: Hello David, thank you for your quick answer. I tried to keep it minimal with some unittests. Could you point me some resources to learn how to properly write a custom content manager ? -- ___ Python tracker

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset 52e9031fbd23c10668badc2a72ee5c203d6902c7 by Miss Islington (bot) in branch '3.9': bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) https://github.com/python/cpython/commit/52e9031fbd23c10668badc

[issue43908] array.array should remain immutable

2021-04-23 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Guido, I’ll prepare a separate PR for all converted built-in types, and you can decide what to do with it when consensus is reached :) There are approx. ~90 of these types. Not all of them are added to their respective module dicts though, but I would

[issue43924] print unexpected values in infinite loop

2021-04-23 Thread Zachary Ware
New submission from Zachary Ware : Without a description, it is impossible to tell what you're trying to report. You'll need to provide some details, such as what you're trying to do, what you expected to happen, what actually happened, and how you ran the code to get that result. As is, I

[issue43607] urllib's request.pathname2url not compatible with extended-length Windows file paths

2021-04-23 Thread Steve Dower
Steve Dower added the comment: New changeset e92d1106291e5a7d4970372478f2882056b7eb3a by Miss Islington (bot) in branch '3.8': bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) https://github.com/python/cpython/commit/e92d1106291e5a7d4970372478f2882056b7eb3a --

[issue42725] PEP 563: Should the behavior change for yield/yield from's

2021-04-23 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I've posted an entry on python-dev to collect comments about how we should act (whether just act them as strings on the symbol table or just forbid them completely): https://mail.python.org/archives/list/python-...@python.org/thread/5NQH5GURAYW6XINPBO6VSF45

[issue43911] Queue.get() memory leak

2021-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I don't think this is necessarily specific to my local build Replace "local" with "specific to a particular combination of C compiler and operating system". On my Mac, the effect mostly doesn't occur as all, 0.05% before the run and 0.10% after the run

[issue43921] test_ssl fails on Windows buildbots

2021-04-23 Thread Christian Heimes
Christian Heimes added the comment: Another TLS 1.3 client cert auth test is flaky, too. https://buildbot.python.org/all/#/builders/577/builds/14/steps/4/logs/stdio == FAIL: test_pha_required_nocert (test.test_ssl.TestPostHan

[issue43922] Double dots in quopri transported emails

2021-04-23 Thread R. David Murray
R. David Murray added the comment: As far as I know the only resources are the context manager docs and the source code. The stdlib content manager can serve as a model. I have to admit that it was long enough ago that I wrote that code that I'd have to re-read the docs and code myself to

  1   2   >