[issue45493] str() and repr() of enum different in Python 3.11 from Python <= 3.10

2021-10-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: We just need https://github.com/python/cpython/pull/27010 to be done on main to roll it back. str and repr changes are quite painful to foist upon users existing code and tests. -- nosy: +gregory.p.smith ___ Py

[issue36481] telnetlib process_rawq() callback

2021-10-19 Thread Gökhan Öztürk
Change by Gökhan Öztürk : -- pull_requests: +27323 pull_request: https://github.com/python/cpython/pull/29052 ___ Python tracker ___

[issue36481] telnetlib process_rawq() callback

2021-10-19 Thread Gökhan Öztürk
Gökhan Öztürk added the comment: Made updates, tests for this old issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45520] Frozen dataclass deep copy doesn't work with __slots__

2021-10-19 Thread Justin Furuness
Justin Furuness added the comment: I didn't realize it was possible to add slots in that way (slots=True). I think for normal classes manually defining __slots__ is the common way of adding __slots__ (at least for me), so it feels weird to me that manually defining __slots__ instead of adding s

[issue45459] Limited API support for Py_buffer

2021-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Py_buffer is often used for handling arguments if the function supports bytes, bytearray and other bytes-like objects. For example bytes.partition(). Any additional memory allocation would add significant overhead here. bytes.join() creates Py_buffer for e

[issue19459] Python does not support the GEORGIAN-PS charset

2021-10-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Possible solutions (they can be combined): 1. Add support for the GEORGIAN-PS charset and all other encodings used in libc (issue22679). The problem is that it is difficult to get the official information about these encodings. 2. Falls back to utf-8 or a

[issue45512] [sqlite3] simplify "isolation level"

2021-10-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +27325 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29053 ___ Python tracker __

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: It doesn't look like there's anything we can do here on the python side. If nobody will object I will close this ticket. -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue38384] An assertion failure in test_pickle

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11 with Serhiy's reproducer: class F: @property def read(self): 1/0 import pickle pickle.load(F()) -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 _

[issue41309] test_subprocess.test_pause_reading timing out randomly on Windows

2021-10-19 Thread Steve Dower
Steve Dower added the comment: Assuming this is fixed -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: There has been work done on recursion handling in more recent python versions, so you should get clean RecursionErrors now rather than the fatal error. Please create a new issue if you have such problems on current versions (3.9+). -- nosy: +iritkatri

[issue37910] argparse wrapping fails with metavar="" (no metavar)

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel type: crash -> behavior versions: +Python 3.11 ___ Python tracker ___ ___

[issue36073] sqlite crashes with converters mutating cursor

2021-10-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27326 pull_request: https://github.com/python/cpython/pull/29054 ___ Python tracker ___ ___

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2021-10-19 Thread Erik Janssens
Erik Janssens added the comment: At least for us, the issue seems to be related to the MSVC runtime. We compiled python with mingw using the mingw runtime, and the issue was gone. On Tue, 2021-10-19 at 09:02 +, Irit Katriel wrote: > Irit Katriel added the comment: > It doesn't look like th

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Cool, and Nick also resolved it with the appropriate import. I'll close and if anyone still has a problem (on current python versions - 3.9+) then please create a new issue with up to date info. -- stage: -> resolved status: open -> closed _

[issue45434] [C API] Clean-up the Python.h header file

2021-10-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 52af0756b2ffc6788e364971d05cdaf127d77d5a by Victor Stinner in branch 'main': bpo-45434: Only exclude in Python 3.11 limited C API (GH-29027) https://github.com/python/cpython/commit/52af0756b2ffc6788e364971d05cdaf127d77d5a -- ___

[issue23449] Fatal errors rebuilding 3.5 from Visual Studio Windows 8.1 64 bit

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Seems out of date. I will close if nobody objects. -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker ___

[issue31779] assertion failures and a crash when using an uninitialized struct.Struct object

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker _

[issue45336] Issue with xml.tree.ElementTree.write

2021-10-19 Thread ed wolf
ed wolf added the comment: Hi Andrew I removed the quotes and still see an issue with the standalone not being added to the xml declaration. I set the command as follows rte_ecu_tree.write(rtexmlFile, encoding="UTF-8", xml_declaration=True, default_namespace=None, method="xml",short_empty_e

[issue39410] CentOS 6.10 SQLite 3.30.1 - _sqlite3 builds successfully but is removed because it cannot be imported.

2021-10-19 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: If you are building CPython against a specific version of SQLite (for example one you've compiled yourself), make sure that you adjust _both_ CFLAGS and LDFLAGS. Note: since bpo-40810 / GH-24106, SQLite 3.7.15 or newer is required. Closing this as not-a-

[issue43851] Optimise SQLite builds on macOS and Windows

2021-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 8702b667d8e7da7a1888297d84f493f26c580a2d by Erlend Egeberg Aasland in branch 'main': bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on Windows (GH-25414) https://github.com/python/cpython/commit/8702b667d8e7da7a1888297d84f493f26c580a2d ---

[issue43851] Optimise SQLite builds on macOS and Windows

2021-10-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45522] Allow to build Python without freelists

2021-10-19 Thread Christian Heimes
New submission from Christian Heimes : Freelists are an optimization trick to avoid allocation and deallocation of commonly used structures. Currently Python has freelists for frame, tuple, float, list, dict, async generators, and context objects. Small ints are also cached. For experimentat

[issue37577] ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'

2021-10-19 Thread Irit Katriel
Change by Irit Katriel : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19459] Python does not support the GEORGIAN-PS charset

2021-10-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 19.10.2021 10:44, Serhiy Storchaka wrote: > > Possible solutions (they can be combined): > > 1. Add support for the GEORGIAN-PS charset and all other encodings used in > libc (issue22679). The problem is that it is difficult to get the official > inf

[issue45522] Allow to build Python without freelists

2021-10-19 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +27327 pull_request: https://github.com/python/cpython/pull/29056 ___ Python tracker ___ ___

[issue34543] _struct.Struct: calling functions without calling __init__ results in SystemError

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11: >>> from _struct import Struct >>> s = Struct.__new__(Struct) >>> s.unpack_from(b'asdf') Assertion failed: (self->s_codes != NULL), function Struct_unpack_from_impl, file /Users/iritkatriel/src/cpython/Modules/_struct.c, line 1603. zsh: abor

[issue1336] subprocess.Popen hangs when child writes to stderr

2021-10-19 Thread EricLin
EricLin added the comment: @torsten Your comment here did a great help to me. I observed a long running python 2.7 process leaking memory. I did a lot of digging and eventually found that gc was disabled in this process. But who disabled it? I really have no idea. Luckily, I find this comment

[issue44927] [sqlite3] proposal: add sqlite3.Cursor.insert() method

2021-10-19 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I'm closing this for now. As I see it, there is little added value, and it would be hard to make a good API for all invariants. If this idea surfaces again, we can always reopen this issue. Thanks for you interest in improving CPython :) -- resol

[issue45459] Limited API support for Py_buffer

2021-10-19 Thread Petr Viktorin
Petr Viktorin added the comment: > I recommend to get feedback from NumPy, Pillow, and Cython devs first. Could you split this into two PRs: one to add the new API, and another to add things to the limited set? There's no rush to add it to the limited API, esp. since it can't be tested wit

[issue45336] Issue with xml.tree.ElementTree.write

2021-10-19 Thread Andrei Kulakov
Andrei Kulakov added the comment: Ed: it seems ElementTree.write does not support `standalone` option, but both minidom (https://docs.python.org/3/library/xml.dom.minidom.html) and lxml (https://lxml.de/) support it. Are either of those suitable for your usecase? --

[issue45336] Issue with xml.tree.ElementTree.write

2021-10-19 Thread Andrei Kulakov
Change by Andrei Kulakov : -- components: +Library (Lib) -Documentation nosy: +kj ___ Python tracker ___ ___ Python-bugs-list mailin

[issue45336] xml.tree.ElementTree.write does not support `standalone` option

2021-10-19 Thread Andrei Kulakov
Change by Andrei Kulakov : -- title: Issue with xml.tree.ElementTree.write -> xml.tree.ElementTree.write does not support `standalone` option ___ Python tracker ___ __

[issue31885] Cygwin: socket test suites hang indefinitely due to bug in Cygwin

2021-10-19 Thread Erik Bray
Erik Bray added the comment: Thanks for asking. Indeed the fix to that issue was included in https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=5ca28a0cd71436a84797d5d66831790004e0 and as Cygwin obsoletes old releases rather quickly I see no reason to keep this issue open.

[issue45336] xml.tree.ElementTree.write does not support `standalone` option

2021-10-19 Thread ed wolf
ed wolf added the comment: Will ElementTree.write be updated to correct this issue? -- ___ Python tracker ___ ___ Python-bugs-list

[issue31882] Cygwin: asyncio and asyncore test suites hang indefinitely due to bug in Cygwin

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: See discussion on issue31885. -- nosy: +iritkatriel resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue31885] Cygwin: socket test suites hang indefinitely due to bug in Cygwin

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Thanks. Do you know whether anyone is looking at Cygwin support for cpython at the moment? Is there interest in that? -- ___ Python tracker __

[issue45523] Python3 ThreadingHTTPServer fails to send chunked encoded response

2021-10-19 Thread Manuel
New submission from Manuel : I'm implementing an HTTPServer class that produces a response with transfer-encoding chunked mode. I'm sending the chunks as described in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding#chunked_encoding If I send chunks of length <= 9

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-10-19 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 09c04e7f0d26f0006964554b6a0caa5ef7f0bd24 by Erlend Egeberg Aasland in branch 'main': bpo-42064: Add module backref to `sqlite3` callback context (GH-28242) https://github.com/python/cpython/commit/09c04e7f0d26f0006964554b6a0caa5ef7f0bd24 --

[issue45336] xml.etree.ElementTree.write does not support `standalone` option

2021-10-19 Thread Andrei Kulakov
Change by Andrei Kulakov : -- title: xml.tree.ElementTree.write does not support `standalone` option -> xml.etree.ElementTree.write does not support `standalone` option ___ Python tracker ___

[issue31885] Cygwin: socket test suites hang indefinitely due to bug in Cygwin

2021-10-19 Thread Erik Bray
Erik Bray added the comment: That person was me--I have the keys to a cygwin buildbot, but it's currently not running. I lost the urgency to make cygwin fully supported, though it's come a long way. In particular the deprecation of distutils should help nix some of the long-standing issues

[issue31882] Cygwin: asyncio and asyncore test suites hang indefinitely due to bug in Cygwin

2021-10-19 Thread Erik Bray
Erik Bray added the comment: To my knowledge this issue is *not* fixed upstream. However, my PR no doubt needs rebasing. -- ___ Python tracker ___ __

[issue45336] xml.etree.ElementTree.write does not support `standalone` option

2021-10-19 Thread Andrei Kulakov
Andrei Kulakov added the comment: Ed: I can look into adding it, but not sure when. If you can make the case that minidom and lxml are not suitable workarounds for this, it will be more likely that me or someone else will add this option; but note that as this is a new feature, it will only

[issue31882] Cygwin: asyncio and asyncore test suites hang indefinitely due to bug in Cygwin

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Sorry I thought this was the same issue. Note that asyncore is deprecated now. -- resolution: out of date -> status: closed -> open ___ Python tracker _

[issue45113] [subinterpreters][C API] Add a new function to create PyStructSequence from Heap.

2021-10-19 Thread Petr Viktorin
Petr Viktorin added the comment: Ah, sorry, I overlooked the flags. This does beg the question: what else from PyType_Spec will be needed? I guess we don't want to allow additional slots/methods. (Combining them would be hard anyway; if someone needs them they should make a subclass.) So it se

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Aidan Clark
New submission from Aidan Clark : [I believe this is fundamentally a dataclass version of https://bugs.python.org/issue41249] When using `from __future__ import annotations`, calling get_type_hints on the constructor of a dataclass B which inherits from a dataclass A defined in another modul

[issue45474] [C API] marshal.h must not use FILE* type in the limited C API

2021-10-19 Thread Petr Viktorin
Petr Viktorin added the comment: Nothing from marshal.h is part of the limited API, and nothing from there is exported in the stable ABI DLL. The entire file should be in `#ifndef Py_LIMITED_API`, rather than just a part. -- status: closed -> open

[issue45474] [C API] marshal.h must not use FILE* type in the limited C API

2021-10-19 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +27328 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/29061 ___ Python tracker ___ ___

[issue4304] build mode which fails for build failures in extensions

2021-10-19 Thread Petr Viktorin
Petr Viktorin added the comment: This would be nice. Too often when hacking on an extension, test pass just because I don't notice there was a compile error and so I'm testing an older version. -- nosy: +petr.viktorin ___ Python tracker

[issue45434] [C API] Clean-up the Python.h header file

2021-10-19 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue14185] Failure to build _dbm with ndbm on Arch Linux

2021-10-19 Thread Irit Katriel
Irit Katriel added the comment: Python 3.3 is not longer maintained. Please create a new issue if you are having problems building a current version (3.9+). -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed __

[issue45525] PyType_Spec basicsize/itemsize should allow -1 for "inherit"

2021-10-19 Thread Petr Viktorin
New submission from Petr Viktorin : For cases where you aren't adding new C-level state, especially if don't have the superclass' struct available, it would be good to allow inheriting basicsize/itemsize from the superclass. (SuperType->tp_size is not easily usable for the same reason PyType

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Alex Waygood
Alex Waygood added the comment: I can't reproduce this on Python 3.8.3, 3.9.6, 3.10.0 or 3.11.0a1+. Which versions of Python have you tried this on? (I'm able to reproduce the `typing.TypedDict` bug on Python 3.8, since the fix was only backported to 3.9, but not this.) -- nosy: +Al

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Sergei Lebedev
Sergei Lebedev added the comment: I think the example has a minor typo. The crash is reproducible on 3.9 if the last line in bar.py is typing.get_type_hints(B.__init__) instead of typing.get_type_hints(B) -- ___ Python tracker

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Alex Waygood
Alex Waygood added the comment: Thanks @Sergei. With that alteration, I have reproduced this on Python 3.9, 3.10 and 3.11. -- ___ Python tracker ___ _

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.10, Python 3.11 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25934] ICC compiler: ICC treats denormal floating point numbers as 0.0

2021-10-19 Thread Mark Dickinson
Mark Dickinson added the comment: > Closing this as out of date. SGTM. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 16.10.2021 21:20, Eric Snow wrote: > > On Sat, Oct 16, 2021 at 5:01 AM Marc-Andre Lemburg > wrote: >> I can try to port PyRun to 3.9 and 3.10 to see whether I run into any issues. >> Would that help ? > > Yeah, that would totally help. Ok, I'll start

[issue45526] Set ADDRESS_BITS to 64 for obmalloc radix tree

2021-10-19 Thread Neil Schemenauer
New submission from Neil Schemenauer : Given this feedback: https://github.com/python/cpython/pull/14474/files#r725488766 it is perhaps not so safe to assume that only the lower 48 bits of virtual addresses are significant. I had the idea that Go made similar assumptions but now I'm not sur

[issue45450] Improve syntax error for parenthesized arguments

2021-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Note that the first error is adding invalid outer parens, whereas the second > is adding inner parens for sublist. Yeah, but you can also write: lambda x, (y, z), w: None So is kind of the same error -- __

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-10-19 Thread Joe Wells
Joe Wells added the comment: I would like to request that this bug be repopened and fixed. I've changed (or at least tried to change, I'm not sure if it will let me) the title of the bug to point out that the failure happens in FrameSummary.__init__. It does not happen in StackSummary.forma

[issue45527] Reduce overhead for cache hits in specialized opcodes.

2021-10-19 Thread Mark Shannon
New submission from Mark Shannon : Every time we get a cache hit in, e.g. LOAD_ATTR_CACHED, we increment the saturating counting. Takes a dependent load and a store, as well as the shift. For fast instructions like BINARY_ADD_FLOAT, this represents a significant portion of work done in the in

[issue45526] Set ADDRESS_BITS to 64 for obmalloc radix tree

2021-10-19 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +27329 pull_request: https://github.com/python/cpython/pull/29062 ___ Python tracker ___ ___

[issue45524] Cross-module dataclass inheritance breaks get_type_hints

2021-10-19 Thread Aidan Clark
Aidan Clark added the comment: Ah yes, I completely apologize about that typo, the __init__ is definitely needed (serves me right for trying to clean up a repo before posting it). One other comment to make, perhaps obvious; manually passing a namespace to get_type_hints' `globalns` which con

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-10-19 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +27330 pull_request: https://github.com/python/cpython/pull/29063 ___ Python tracker ___ ___

[issue45527] Reduce overhead for cache hits in specialized opcodes.

2021-10-19 Thread Mark Shannon
Change by Mark Shannon : -- nosy: +kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue35673] Loader for namespace packages

2021-10-19 Thread Brett Cannon
Brett Cannon added the comment: Should we register with the ABC or is it time to do proper typing.Protocol classes and have the ABCs inherit from those? -- ___ Python tracker ___

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2021-10-19 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +27331 pull_request: https://github.com/python/cpython/pull/29064 ___ Python tracker ___

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +27333 pull_request: https://github.com/python/cpython/pull/29066 ___ Python tracker ___ __

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +27332 pull_request: https://github.com/python/cpython/pull/29065 ___ Python tracker _

[issue45449] Document that collections.abc types are subscriptable

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7bafa0cf586227987d3d662264d491e3780024b7 by Filipe Laíns in branch 'main': bpo-45449: add note about PEP 585 in collections.abc's documentation (GH-29047) https://github.com/python/cpython/commit/7bafa0cf586227987d3d662264d491e3780024b7 -

[issue45449] Document that collections.abc types are subscriptable

2021-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +27334 pull_request: https://github.com/python/cpython/pull/29067 ___ Python tracker _

[issue45449] Document that collections.abc types are subscriptable

2021-10-19 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +27335 pull_request: https://github.com/python/cpython/pull/29068 ___ Python tracker ___ _

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fdbdf3f7359832820a11ece4c4b01581004d6fe7 by Gregory P. Smith in branch 'main': bpo-40360: Make the 2to3 deprecation more obvious. (GH-29064) https://github.com/python/cpython/commit/fdbdf3f7359832820a11ece4c4b01581004d6fe7 -- ___

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8cef526a871695f8df4fac167139bbf3292396db by Miss Islington (bot) in branch '3.10': bpo-45515: Add zoneinfo to the datetime documentation (GH-29038) (GH-29065) https://github.com/python/cpython/commit/8cef526a871695f8df4fac167139bbf3292396db -

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 76578884c5c727c013cba9d14ced9040b5a0c8a1 by Miss Islington (bot) in branch '3.9': bpo-45515: Add zoneinfo to the datetime documentation (GH-29038) (GH-29066) https://github.com/python/cpython/commit/76578884c5c727c013cba9d14ced9040b5a0c8a1 --

[issue42222] Modernize integer test/conversion in randrange()

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 574241632bd19e56ed488ee4d8999aefc6a8d7cd by Serhiy Storchaka in branch 'main': bpo-4: Improve tests for invalid argument types in randrange() (GH-29021) https://github.com/python/cpython/commit/574241632bd19e56ed488ee4d8999aefc6a8d7cd ---

[issue45449] Document that collections.abc types are subscriptable

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 092ec4b9d144c493cb514df0978638fdd2d9622a by Miss Islington (bot) in branch '3.10': bpo-45449: add note about PEP 585 in collections.abc's documentation (GH-29047) (GH-29067) https://github.com/python/cpython/commit/092ec4b9d144c493cb514df0978638fd

[issue43656] TracebackException or StackSummary.extract with capture_locals=True fail to catch exceptions raised by repr() on value of frame local variable in FrameSummary.__init__.

2021-10-19 Thread Andrei Kulakov
Andrei Kulakov added the comment: related issue: https://bugs.python.org/issue20853 similarly to this, if args cmd is used in pdb in the TestClass __init__ method, `self` will be displayed, which means the TestClass.__str__ or __repr__ will run, lacking any required state set in the __init__

[issue42174] shutil.get_terminal_size() returns 0 when run in a pty

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 236e301b8ad9b78ee880baf12e98a826113dc59b by Filipe Laíns in branch 'main': bpo-42174: fallback to sane values if the columns or lines are 0 in get_terminal_size (GH-29046) https://github.com/python/cpython/commit/236e301b8ad9b78ee880baf12e98a82611

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-19 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue42222] Modernize integer test/conversion in randrange()

2021-10-19 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42174] shutil.get_terminal_size() returns 0 when run in a pty

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: We decided not to backport this to 3.10 nor 3.9 due to the subtle nature of the change. -- versions: +Python 3.11 -Python 3.9 ___ Python tracker __

[issue42174] shutil.get_terminal_size() returns 0 when run in a pty

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the fix, Filipe! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33277] Deprecate __loader__, __package__, and __cached__ on modules

2021-10-19 Thread Brett Cannon
Change by Brett Cannon : -- title: Deprecate __loader__, __package__, __file__, and __cached__ on modules -> Deprecate __loader__, __package__, and __cached__ on modules ___ Python tracker __

[issue1336] subprocess.Popen hangs when child writes to stderr

2021-10-19 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue45449] Document that collections.abc types are subscriptable

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a18e4e9c15a0be833e01c3892206661fc91e6918 by Łukasz Langa in branch '3.9': [3.9] bpo-45449: add note about PEP 585 in collections.abc's documentation (GH-29047) (GH-29068) https://github.com/python/cpython/commit/a18e4e9c15a0be833e01c3892206661fc91

[issue45449] Document that collections.abc types are subscriptable

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Filipe! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45493] str() and repr() of enum different in Python 3.11 from Python <= 3.10

2021-10-19 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I can see why Ethan might be overwhelmed by reverting this change. I tried to merge in his branch but failed, so I'm chucking that work and will try again. -- ___ Python tracker

[issue45436] test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x

2021-10-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +epaine ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue45436] test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x

2021-10-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +27336 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29002 ___ Python tracker ___

[issue45500] Rewrite test_dbm

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 975b94b9de969777218e96a9950c1dab2dab65a0 by Serhiy Storchaka in branch 'main': bpo-45500: Rewrite test_dbm (GH-29002) https://github.com/python/cpython/commit/975b94b9de969777218e96a9950c1dab2dab65a0 -- nosy: +lukasz.langa __

[issue45195] test_readline: test_nonascii() failed on aarch64 RHEL8 Refleaks 3.x

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1d8cb01e23ab5fc626d4deda216f9a9a19a644a2 by Miss Islington (bot) in branch '3.8': bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28984) https://github.com/python/cpython/commit/1d8cb01e23ab5fc626d4deda216f9a9a19a644a2 -- nosy

[issue45436] test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x

2021-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: EP, do you have any insight into these issues? Why does 8.6.11 result in test failures? Bug in our test or in tk? -- nosy: +terry.reedy ___ Python tracker ___

[issue45310] test_multiprocessing_forkserver: test_shared_memory_basics() failed with FileExistsError: [Errno 17] File exists: '/test01_tsmb'

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7f70ba36706219181546c05363097f732827a081 by Victor Stinner in branch '3.8': bpo-45310: Fix parrallel shared memory tests (GH-28661) (GH-28979) https://github.com/python/cpython/commit/7f70ba36706219181546c05363097f732827a081 -- nosy: +luk

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 67e10be3fee7c69d4ece26e75a0b7a84dab68ce5 by Miss Islington (bot) in branch '3.8': bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623) (GH-28978) https://github.com/python/cpython/commit/67e10be3fee7c69d4ece26e75a0b7a84dab68ce5

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-10-19 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a106343f632a99c8ebb0136fa140cf189b4a6a57 by Pablo Galindo Salgado in branch 'main': bpo-45494: Fix parser crash when reporting errors involving invalid continuation characters (GH-28993) https://github.com/python/cpython/commit/a106343f632a99c8ebb

[issue45436] test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x with Tcl/Tk 8.6.11

2021-10-19 Thread STINNER Victor
Change by STINNER Victor : -- title: test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x -> test_tk.test_configure_type() failed on x86 Gentoo Non-Debug with X 3.x with Tcl/Tk 8.6.11 ___ Python tracker

[issue45528] mmap: constants not listed in the documentation

2021-10-19 Thread Michael Wayne Goodman
New submission from Michael Wayne Goodman : Some constants mentioned in the mmap module documentation are not listed as module contents (i.e., with permalinks), so the mentions do not appear as links and it's not explicit that they are in the mmap module namespace. For instance, ACCESS_READ i

  1   2   >