[issue44912] doc: macOS supports os.fsync(fd)

2021-08-13 Thread Ma Lin
New submission from Ma Lin : The doc of os.fsync() said: Availability: Unix, Windows. https://docs.python.org/3.11/library/os.html#os.fsync But it seems that macOS supports fsync. (I'm not a macOS user) -- assignee: docs@python components: Documentation, macOS messages: 399583

[issue44800] Code readability: rename InterpreterFrame to `_Py_framedata`

2021-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: >From a naming convention perspective, the code comments and NEWS entry in the >PR now refer to "full frame objects" (``PyFrameObject``) and "frame data >storage structs" (``_Py_framedata``) to avoid giving the misleading impression >that introspection and

[issue44800] Code readability: rename InterpreterFrame to `_Py_framedata`

2021-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: PR has been updated with a new API proposal prompted by Mark's review comments on the original proposal. * Rename "pycore_frame.h" to "pycore_framedata.h" * Rename the _interpreter_frame struct to _Py_execution_frame * Rename the type from InterpreterFrame to

[issue39039] zlib.error with tarfile.open

2021-08-13 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch nosy: +jack__d nosy_count: 3.0 -> 4.0 pull_requests: +26242 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27766 ___ Python tracker

[issue44892] [configparser] Module configparser fails when the file contains a "%" inside a commentary

2021-08-13 Thread Diego Ramirez
Diego Ramirez added the comment: I would like to give a better explanation of the issue (maybe the previous explanation was unclear). A user reported to Pip that, when he used a "setup.cfg" file, the configparser module crashed (as I said above). The file contained a percentage character

[issue44863] Allow TypedDict to inherit from Generics

2021-08-13 Thread Guido van Rossum
Guido van Rossum added the comment: See also https://github.com/python/mypy/issues/3863 -- ___ Python tracker ___ ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, I tried myself, and setting PYTHONHASHSEED didn't make the failures deterministic. -- ___ Python tracker ___

[issue44911] Leaked tasks cause IsolatedAsyncioTestCase to throw an exception

2021-08-13 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch pull_requests: +26241 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27765 ___ Python tracker ___

[issue44911] Leaked tasks cause IsolatedAsyncioTestCase to throw an exception

2021-08-13 Thread Bar Harel
New submission from Bar Harel : Writing a test that leaks a running asyncio task will cause IsolatedAsyncioTestCase to crash while attempting to cancel. Seems like the loop argument wasn't removed from the usage of asyncio.gather() in IsolatedAsyncioTestCase._tearDownAsyncioLoop Pushing a

[issue44908] recommend httpx as well as requests in http.client/urllib.request docs

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with linking anything is that it inspires requests like this. We don't hand out links like candy. I think the intent was to maybe link one package if in some sense the standard alternative. I don't know the protocol for adding more. Likely

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks both of you for the fix and clean patch. I wonder if doctest should have picked up these, but this would be another issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 43bab0537ceb6e2ca3597f8f3a3c79733b897434 by Miss Islington (bot) in branch '3.9': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/43bab0537ceb6e2ca3597f8f3a3c79733b897434 --

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 25122b2cf9b55f67572dd454b6809e1f62f78f39 by Miss Islington (bot) in branch '3.10': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/25122b2cf9b55f67572dd454b6809e1f62f78f39 --

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26239 pull_request: https://github.com/python/cpython/pull/27763 ___ Python tracker

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +26240 pull_request: https://github.com/python/cpython/pull/27764 ___ Python tracker ___

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ed524b4569b1e4a166886c880018418d46284378 by meowmeowmeowcat in branch 'main': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/ed524b4569b1e4a166886c880018418d46284378 --

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Example here is in https://docs.python.org/3/tutorial/controlflow.html#default-argument-values 2 more in PR in https://docs.python.org/3/tutorial/controlflow.html#function-examples I confirmed that message is same in 3.10 and 3.11. -- nosy:

[issue44898] Path.read_bytes() failed when path contains chinese character

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is no file or directory by the name you give, then the exception is correct and there is no bug in CPython. A failing example should look like Steven's, with the filename in a string that is use to both create and access the file. --

[issue44896] AttributeError in ast.unparse

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Issue with unparse in ast module -> AttributeError in ast.unparse ___ Python tracker ___ ___

[issue44896] Issue with unparse in ast module

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +BTaskaya, Mark.Shannon, benjamin.peterson, brett.cannon, pablogsal, yselivanov ___ Python tracker ___

[issue44894] HTTP request handler: check sys.stderr != None before logging

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: HTTP request handler should check sys.stderr for None before use for logging -> HTTP request handler: check sys.stderr != None before logging ___ Python tracker

[issue44865] [argparse] Missing translations

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Same comment as for #44964, plus note that 3.8 and before only get security patches. Also, 3.9,3.10 only get bug fixes and I don't know if this qualifies. -- nosy: +terry.reedy versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue44864] [argparse] Do not translate user-provided strings in `ArgumentParser.add_subparsers()`

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jérémie, what does the doc say about translation? This will likely determine whether the is a bug report or a future-version-only enhancement request. The PR changes the two lines as indicated above and the CLA is signed. A blurb will be needed if this is

[issue44863] Allow TypedDict to inherit from Generics

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +gvanrossum, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44862] [docs] make "Deprecated since version {deprecated}, will be removed in version {removed}" translation available

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for patching the english Python docs and CPython interpreter. Questions about using python should be asked elsewhere. The translated docs are the responsibility of a separate translation team and specific language teams. Either they chose

[issue35105] Document that CPython accepts "invalid" identifiers

2021-08-13 Thread Andrei Kulakov
Andrei Kulakov added the comment: In the last message I've said that according to __dict__ docs, anything in __dict__ is an attribute of respective obj. That's a bit too-strongly worded, the docs can be understood in the sense that anything that ends up in __dict__ via other mechanisms,

[issue44906] Crash on deep call stack under Windows

2021-08-13 Thread Steve Dower
Steve Dower added the comment: I get stack overflows all the way back to 3.7, so it's probably not anything new. But our stack overflow detection is clearly not going to catch this case. It's really only set up for a direct call within Python code, but this is going through many more steps.

[issue44910] Floating point issue

2021-08-13 Thread A wilson
A wilson added the comment: Eric, I was unaware of this document and its implementation in python. where 0.01+0.15 = 0.16 but 0.01+273.15=273.159997 the latter which should be 273.16 which is triple point temperature of water in Kelvin. This floating point variance explains some

[issue44906] Crash on deep call stack under Windows

2021-08-13 Thread Steve Dower
Steve Dower added the comment: I guess we've got a new path through the interpreter loop that takes more stack space than before and isn't part of our existing recursion tests. It's probably somewhere in the vector call changes. Capturing the stack at overflow point should show us - I'll

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-08-13 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44892] configparser fails when the file contains a "%" inside a commentary

2021-08-13 Thread Diego Ramirez
Diego Ramirez added the comment: Lukasz Langa, I would like to know your opinion, as you are recognized as the "configparser" developer. -- nosy: +lukasz.langa ___ Python tracker

[issue44910] Floating point issue

2021-08-13 Thread Eric V. Smith
Eric V. Smith added the comment: This a limitation of the floating point type that python uses. See https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: If someone can reproduce more or less reliably, it would be great to know where are the leaked objects. For that, compile CPython with "-with-trace-refs", surround the suspicious test in a loop (test_no_hang_on_context_chain_cycle2 for example) of a

[issue44079] [sqlite3] remove superfluous statement weak ref list from connection object

2021-08-13 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Berker: > My understanding is that their usages is a bit different: > one is for performance reasons (and it can configurable by users) and the > other is to keep track of statements inside a connection. > > I'm not fully sure that the both use cases can

[issue30077] Support Apple AIFF-C pseudo compression in aifc.py

2021-08-13 Thread Toby Thurston
Toby Thurston added the comment: Hey! thanks for letting me know, glad it got there in the end. T. On Fri, 13 Aug 2021, at 12:33, Łukasz Langa wrote: > > Łukasz Langa added the comment: > > Thanks for reporting and the initial patch, Toby. And thanks for > pushing this across the finish

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: Last question: might trying different values of PYTHONHASHSEED help? -- ___ Python tracker ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Irit Katriel added the comment: For instance, if memory addresses of objects are different, so objects sort differently in different runs on the same system. -- ___ Python tracker

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: "How does this explain it not being non-deterministic on" -> "How does this explain it not being deterministic on" -- ___ Python tracker

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Maybe it's a very precise threshold which triggers the issue. Between Linux > and macOS, the site module executes different code paths which produce > different GC counters. > Sometimes, the GC must happen in a very precise line, one line later is too >

[issue44903] [Doc] How does one to about getting onto the "Other Graphical User Interface Packages" page?

2021-08-13 Thread Gautam Chaudhuri
Gautam Chaudhuri added the comment: I've submitted a PR making the changes suggested by Terry. Any feedback/suggestions on the PR would be highly appreciated. -- Gautam Chaudhuri -- ___ Python tracker

[issue42649] RecursionError when parsing unwieldy expression (regression from 2.7 -> 3.x)

2021-08-13 Thread Jack DeVries
Jack DeVries added the comment: edit; typo: **This document is the **closest** I can find -- ___ Python tracker ___ ___

[issue42649] RecursionError when parsing unwieldy expression (regression from 2.7 -> 3.x)

2021-08-13 Thread Jack DeVries
Jack DeVries added the comment: I spent some time experimenting with making the expression bigger and the recursion limit lower in python2. It seems like in python2, the depth that the compiler will recurse is unrelated to sys.recursionlimit. Then, I lowered resource limits on stack and

[issue44903] [Doc] How does one to about getting onto the "Other Graphical User Interface Packages" page?

2021-08-13 Thread Gautam Chaudhuri
Change by Gautam Chaudhuri : -- keywords: +patch pull_requests: +26238 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27762 ___ Python tracker

[issue44910] Floating point issue

2021-08-13 Thread A wilson
New submission from A wilson : 0.01 + 273.15 should equal 273.16 but in python 3.9.5 or earlier report as 273.159997. -- messages: 399550 nosy: afw2alan priority: normal severity: normal status: open title: Floating point issue type: behavior versions: Python 3.9

[issue35105] Document that CPython accepts "invalid" identifiers

2021-08-13 Thread Andrei Kulakov
Andrei Kulakov added the comment: It seems like the documentation is lacking and perhaps misleading in regard to attributes. - anything hashable can be used as a key in an obj.__dict__: an int, a tuple, etc. According to __dict__ docs, all of those are attributes. There's no warning that

[issue44881] Consider integration of PyObject_GC_UnTrack() with the trashcan C API

2021-08-13 Thread Neil Schemenauer
Neil Schemenauer added the comment: > I think in any case we should benchmark this because this will affect *all* > GC types if I understand correctly and the TS mechanism had shown slowdowns > before We definitely need to benchmark. I would guess that adding trashcan protection to all GC

[issue40222] "Zero cost" exception handling

2021-08-13 Thread Guido van Rossum
Guido van Rossum added the comment: I've started a thread on python-dev. https://mail.python.org/archives/list/python-...@python.org/thread/ZWTBR5ESYR26BUIVMXOKPFRLGGYDJSFC/#ZWTBR5ESYR26BUIVMXOKPFRLGGYDJSFC -- ___ Python tracker

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Irit Katriel added the comment: Regarding the hang in msg399539, do we need some special handling of the case were a RecursionError is being raised and its context is another RecursionError? Like a FatalError? -- ___ Python tracker

[issue41234] Remove symbol.sym_name

2021-08-13 Thread Andrei Kulakov
Andrei Kulakov added the comment: Terry: thanks! - that's good to know. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41234] Remove symbol.sym_name

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Remove the old parser ___ Python tracker ___

[issue41234] Remove symbol.sym_name

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andrei, on bpo, # tags numbers as bpo numbers, and creates links to bpo issues, whereas in PRs, # tags numbers as PR numbers and creates links to PRs. So # must be removed and PR added when transferring references. So: PR 21624 or PR21624 or even, says the

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Dong-hee Na
Dong-hee Na added the comment: Oops sorry. Without PR 27746, I was able to reproduce on my macOS environment. test_exceptions leaked [6, 6, 6] references, sum=18 test_exceptions leaked [6, 6, 6] memory blocks, sum=18 test_exceptions failed (reference leak) --

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26237 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27761 ___ Python tracker ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Dong-hee Na
Dong-hee Na added the comment: > However hang was able to reproduce. I meant msg399539 -- ___ Python tracker ___ ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Dong-hee Na
Dong-hee Na added the comment: >From my macOS, I was not able to reproduce the issue also as like as Victor >and Pablo. repeat 10 ./python.exe -m test -R 3:3 test_exceptions -m test_no_hang_on_context_chain_cycle2 -m test_recursion_normalizing_infinite_exception -m

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Irit Katriel added the comment: Adding Mark since he worked on recursion recently. -- nosy: +Mark.Shannon ___ Python tracker ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Irit Katriel added the comment: The script below hangs on my mac (it's an extract from test_recursion_in_except_handler). --- import sys count = 0 def main(): def f(): global count count += 1 try: f() except RecursionError: f()

[issue40222] "Zero cost" exception handling

2021-08-13 Thread Guido van Rossum
Guido van Rossum added the comment: > >> I want to get rid of PyCode_NewWithPosArgs() and just have PyCode_New(). > That as added because of PEP 387 and unfortunately removing it is backwards > incompatible. Is changing the signature allowed? Because it *must* be changed (at the very

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have tried to reproduce this on my Linux and Mac machines and I have been unable to do it for the time being in either of them. -- nosy: +pablogsal ___ Python tracker

[issue40222] "Zero cost" exception handling

2021-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >> I want to get rid of PyCode_NewWithPosArgs() and just have PyCode_New(). That as added because of PEP 387 and unfortunately removing it is backwards incompatible. >> I propose we declare all APIs for code objects *unstable*, liable to change >>

[issue40222] "Zero cost" exception handling

2021-08-13 Thread Guido van Rossum
Guido van Rossum added the comment: I propose we declare all APIs for code objects *unstable*, liable to change each (feature) release. I want to get rid of PyCode_NewWithPosArgs() and just have PyCode_New(). All callers to either one must be changed anyways. (And we’re not done changing

[issue44905] Abstract instance and class attributes for abstract base classes

2021-08-13 Thread Alex Waygood
Alex Waygood added the comment: +1 to this suggestion. I had a use case for this the other day. It currently feels like something of a discrepancy between ABCs and `typing.Property`, which can be seen as analogous in some ways to "an ABC for the static type-checker". `typing.Property`

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread STINNER Victor
STINNER Victor added the comment: Chris: > Out of curiosity, is the failure deterministic in environments where it > fails? If not, what is the source of the indeterminism -- some kind of race > condition or something else? The GC uses counters and thresholds to decide which collection and

[issue44903] [Doc] How does one to about getting onto the "Other Graphical User Interface Packages" page?

2021-08-13 Thread PySimpleGUI
PySimpleGUI added the comment: Thank you Terry! I'm glad I got it right. I've been trying to keep the wiki page updated that you mentioned as best I can: https://wiki.python.org/moin/GuiProgramming I agree with the overall conclusion that the wiki is the place these lists should live.

[issue40469] TimedRotatingFileHandler rotating on use not time

2021-08-13 Thread Vinay Sajip
Vinay Sajip added the comment: > You are far better and more experienced in maintaining widely used opensource > codebases so I wouldn't argue with you, but... :) Well, if a change introduces a problem, it will be my lookout, won't it? Just as the original patch for bpo-8117 is proving to

[issue44903] [Doc] How does one to about getting onto the "Other Graphical User Interface Packages" page?

2021-08-13 Thread Gautam Chaudhuri
Change by Gautam Chaudhuri : -- nosy: +quantum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16580] [doc] Add examples to int.to_bytes and int.from_bytes

2021-08-13 Thread Gautam Chaudhuri
Change by Gautam Chaudhuri : -- pull_requests: +26236 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27760 ___ Python tracker ___

[issue30077] Support Apple AIFF-C pseudo compression in aifc.py

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for reporting and the initial patch, Toby. And thanks for pushing this across the finish line, Yussuf! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.8

[issue30077] Support Apple AIFF-C pseudo compression in aifc.py

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e4ed9d21534c2ed4397fdee0bb530a6e6a2c5af8 by dnknth in branch 'main': bpo-30077: Add support for Apple aifc/sowt pseudo-compression (GH-24449) https://github.com/python/cpython/commit/e4ed9d21534c2ed4397fdee0bb530a6e6a2c5af8 -- nosy:

[issue36700] base64 has old references that should be updated

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for reporting, Paul, and Andrei for the patch! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36700] base64 has old references that should be updated

2021-08-13 Thread miss-islington
miss-islington added the comment: New changeset 16f73c8b5dbe02b4bf7f91ff9dbcd0886529bfe5 by Miss Islington (bot) in branch '3.10': bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700) https://github.com/python/cpython/commit/16f73c8b5dbe02b4bf7f91ff9dbcd0886529bfe5

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-13 Thread miss-islington
miss-islington added the comment: New changeset d4128485d6c2cbfebe756f3eeec2c60137b63bba by Miss Islington (bot) in branch '3.10': bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754) https://github.com/python/cpython/commit/d4128485d6c2cbfebe756f3eeec2c60137b63bba

[issue44873] base64 RFC4648 test cases

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Andrei! ✨  ✨ -- nosy: +lukasz.langa resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44891] Tests for `id(a) == id(a * 1)` for `bytes` and `str`

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: I opted for landing this and backporting to 3.10 to increase visibility. There will be a NEWS entry about this so if any alt implementations have issues with this test, they can reach us and we'll adapt. Thanks, Nikita! ✨  ✨ -- resolution: -> fixed

[issue44891] Tests for `id(a) == id(a * 1)` for `bytes` and `str`

2021-08-13 Thread miss-islington
miss-islington added the comment: New changeset 45a97d91a42795fb0b220e67ee25a14b940c7e50 by Miss Islington (bot) in branch '3.10': bpo-44891: Tests `id` preserving on `* 1` for `str` and `bytes` (GH-27745) https://github.com/python/cpython/commit/45a97d91a42795fb0b220e67ee25a14b940c7e50

[issue36700] base64 has old references that should be updated

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e43b9bbc31c22a0d97dc4fc420300e40c2d74166 by andrei kulakov in branch 'main': bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700) https://github.com/python/cpython/commit/e43b9bbc31c22a0d97dc4fc420300e40c2d74166 -- nosy:

[issue36700] base64 has old references that should be updated

2021-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +26235 pull_request: https://github.com/python/cpython/pull/27759 ___ Python tracker

[issue44873] base64 RFC4648 test cases

2021-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +26234 pull_request: https://github.com/python/cpython/pull/27757 ___ Python tracker

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dd8eb303b90d63e1f56684bedadca6674bb74a29 by Łukasz Langa in branch 'main': bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754) https://github.com/python/cpython/commit/dd8eb303b90d63e1f56684bedadca6674bb74a29 --

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +26233 pull_request: https://github.com/python/cpython/pull/27758 ___ Python tracker ___

[issue40222] "Zero cost" exception handling

2021-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Is there a separate issue for how we are handling CodeType()? No, that's why this is marked as release blocker, because this is the first issue where CodeType was changed. If you wish to close this one, please open a new issue explaining the

[issue44881] Consider integration of PyObject_GC_UnTrack() with the trashcan C API

2021-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks Neil for the thorough explanation! I think in any case we should benchmark this because this will affect *all* GC types if I understand correctly and the TS mechanism had shown slowdowns before --

[issue44891] Tests for `id(a) == id(a * 1)` for `bytes` and `str`

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a2ce538e16d5e3a6168704366bdd7a8c5af29881 by Nikita Sobolev in branch 'main': bpo-44891: Tests `id` preserving on `* 1` for `str` and `bytes` (GH-27745) https://github.com/python/cpython/commit/a2ce538e16d5e3a6168704366bdd7a8c5af29881 --

[issue44891] Tests for `id(a) == id(a * 1)` for `bytes` and `str`

2021-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26232 pull_request: https://github.com/python/cpython/pull/27756 ___ Python tracker

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: I merged the workaround to get refleak buildbots unstuck for the weekend. I bumped the issue stage back to "needs patch" as the available one isn't a solution. -- stage: patch review -> needs patch ___ Python

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread miss-islington
miss-islington added the comment: New changeset ebc59262349d6901b825ed9101d604e826757262 by Miss Islington (bot) in branch '3.10': bpo-44895: Temporarily add an extra gc.collect() call (GH-27746) https://github.com/python/cpython/commit/ebc59262349d6901b825ed9101d604e826757262 --

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread meowmeowcat
Change by meowmeowcat : -- keywords: +patch pull_requests: +26231 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27755 ___ Python tracker ___

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x, 12.1

2021-08-13 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26230 pull_request: https://github.com/python/cpython/pull/27754 ___ Python tracker ___

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread meowmeowcat
Change by meowmeowcat : -- title: examples code output do not macth the current version 3.9 -> examples code output do not match the current version 3.9 ___ Python tracker

[issue44907] examples code output do not macth the current version 3.9

2021-08-13 Thread meowmeowcat
meowmeowcat added the comment: Thanks! Confirmed with Python 3.9.2. I will open a PR for fixing this. -- nosy: +meowmeowmeowcat ___ Python tracker ___

[issue44891] Tests for `id(a) == id(a * 1)` for `bytes` and `str`

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: Dennis, there's an existing issue on making the test suite more pypy-compatible: https://bugs.python.org/issue25130 In that issue Maciej says pypy adopted a policy to adjust tests when they have to so I'd say that unless we get a report on which additional

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Irit Katriel added the comment: > what is the source of the indeterminism -- some kind of race condition or > something else? My hunch is it could be timing of GC. But it's hard to say at this point. -- ___ Python tracker

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-13 Thread miss-islington
miss-islington added the comment: New changeset ef36dfe4de1ee0df11cde94fd76465336aa8141d by Benjamin Peterson in branch '3.10': [3.10] bpo-33930: Fix typo in the test name. (GH-27736) https://github.com/python/cpython/commit/ef36dfe4de1ee0df11cde94fd76465336aa8141d --

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: Since the refleak investigation moved to its own issue, I'm re-closing this one for clarity. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26229 pull_request: https://github.com/python/cpython/pull/27753 ___ Python tracker

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7bf28cbb4bf37fa6bdfc2d3f8a3939066b3f8f22 by Irit Katriel in branch 'main': bpo-44895: Temporarily add an extra gc.collect() call (GH-27746) https://github.com/python/cpython/commit/7bf28cbb4bf37fa6bdfc2d3f8a3939066b3f8f22 -- nosy:

[issue44869] MacOS Monterrey malloc issue

2021-08-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: There is a 3th possibility: This could be a bug in the OS, Monterey is still in beta at this point and beta's tend to contain more bugs than release versions. -- ___ Python tracker

[issue42837] Symbol table incorrectly identifies code as a generator, when 'yield' occurs in an annotation

2021-08-13 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: AFAIK this is already resolved on the main (https://bugs.python.org/issue42725) -- ___ Python tracker ___

[issue44895] refleak test failure in test_exceptions

2021-08-13 Thread Irit Katriel
Irit Katriel added the comment: It’s not deterministic. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40469] TimedRotatingFileHandler rotating on use not time

2021-08-13 Thread Ivan Marton
Ivan Marton added the comment: > Well, what's the need to rotate based on time when you just run scripts > sporadically or they're very short-lived? Not trying to argue, just trying to > understand. > Yes, but generally daemons are long-lived relative to the rotation interval, > aren't

  1   2   >