[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thanks, Łukasz! чт, 28 окт. 2021 г. в 23:04, Łukasz Langa : > > Change by Łukasz Langa : > > > -- > resolution: -> fixed > stage: patch review -> resolved > status: open -> closed > versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 > >

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-28 Thread Eryk Sun
Eryk Sun added the comment: If only force_hide is implemented, based on `wShowWindow=SW_HIDE`, please ensure that it's clearly documented that this option hides the main window (i.e. first top-level window) of any application that doesn't bypass the default behavior of the window manager.

Re: Why so fast a web framework?

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 3:49 PM Dan Stromberg wrote: > > I care, and I suspect the OP does too. Usually machine time doesn't matter > as much as developer time, but API overhead Can matter - especially on a > busy server. > > I wonder if Pypy would do any better? Or Micropython? Or Cython? > >

Re: Why so fast a web framework?

2021-10-28 Thread Dan Stromberg
I care, and I suspect the OP does too. Usually machine time doesn't matter as much as developer time, but API overhead Can matter - especially on a busy server. I wonder if Pypy would do any better? Or Micropython? Or Cython? CPython != Python. Sometimes this group reminds me of a certain

[issue45646] Star expression in comprehension wrongly indicates to use or_expression after the star

2021-10-28 Thread Arthur Milchior
Change by Arthur Milchior : -- keywords: +patch pull_requests: +27571 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29303 ___ Python tracker ___

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

2021-10-28 Thread Chris Wesseling
Change by Chris Wesseling : -- nosy: +CharString, CharString nosy_count: 4.0 -> 5.0 pull_requests: +27569, 27570 pull_request: https://github.com/python/cpython/pull/29273 ___ Python tracker

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

2021-10-28 Thread Chris Wesseling
Change by Chris Wesseling : -- nosy: +CharString nosy_count: 4.0 -> 5.0 pull_requests: +27569 pull_request: https://github.com/python/cpython/pull/29273 ___ Python tracker ___

Re: Get a Joke in Python

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 12:29 PM Jon Ribbens via Python-list wrote: > > On 2021-10-28, Greg Ewing wrote: > > On 29/10/21 11:34 am, Chris Angelico wrote: > >> On Fri, Oct 29, 2021 at 7:31 AM Mostowski Collapse > >> wrote: > >>> QA engineer walks into a bar. Orders a beer. Orders 0 beers. > >>>

Re: Get a Joke in Python

2021-10-28 Thread Jon Ribbens via Python-list
On 2021-10-28, Greg Ewing wrote: > On 29/10/21 11:34 am, Chris Angelico wrote: >> On Fri, Oct 29, 2021 at 7:31 AM Mostowski Collapse >> wrote: >>> QA engineer walks into a bar. Orders a beer. Orders 0 beers. >>> Orders 9 beers. Orders a lizard. Orders -1 beers. >>> Orders a sfdeljknesv.

Re: walrus with a twist :+= or ...

2021-10-28 Thread Grant Edwards
On 2021-10-28, Avi Gross via Python-list wrote: > I see := makes ≔ which is just a longer equals sign. On my screen it's an assignment operator that looks like := only a bit smaller. > Not sure this mailing list allows this stuff, so if your mailer does > not show it, never mind. Everything

Re: Get a Joke in Python

2021-10-28 Thread Greg Ewing
On 29/10/21 11:34 am, Chris Angelico wrote: On Fri, Oct 29, 2021 at 7:31 AM Mostowski Collapse wrote: QA engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 9 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv. Orders 1 пиво and is served a пиво. QA

RE: walrus with a twist :+= or ...

2021-10-28 Thread Avi Gross via Python-list
Thank, Chris. I found and installed one from here: https://github.com/samhocevar/wincompose My right ALT key now lets me type in all kinds of nonsense like ⑦ and © and ß and ℵ0 and ⅔ and ≠ and ⇒ and ♬and although :- makes ÷ I see := makes ≔ which is just a longer equals sign. Not sure this

RE: The task is to invent names for things

2021-10-28 Thread Avi Gross via Python-list
Stefan, I choose not to get involved in a discussion about arbitrary naming rules as many languages and programmers have their own ideas and preferences and rules. My examples were EXAMPLES and the actual names are irrelevant. Feel free not to use them and I assure you I have no plans to

[issue45347] datetime subject to rounding?

2021-10-28 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: Considering that I have found another pair of dates failing equality, and they are too on the last Sunday of October, the hypothesis of rounding in timezone code starts to look likely Python 3.7.9 (default, Jan 12 2021, 17:26:22) [GCC 8.3.0] on linux

Re: Get a Joke in Python

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 7:31 AM Mostowski Collapse wrote: > > QA engineer walks into a bar. Orders a beer. Orders 0 beers. > Orders 9 beers. Orders a lizard. Orders -1 beers. > Orders a sfdeljknesv. > Orders 1 пиво and is served a пиво. QA engineer sighs "not again". ChrisA --

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-28 Thread Guido van Rossum
Guido van Rossum added the comment: OK, OK, I see your point. I'm curious what Łukasz thinks. -- nosy: +lukasz.langa ___ Python tracker ___

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-28 Thread Steve Dower
Steve Dower added the comment: > But why does it happen only on Windows? Because it's the operating system that is terminating the process :) Other operating systems behave differently when you exceed the stack, and may also allocate different amounts of stack space, making it less likely

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +27566, 27567, 27568 pull_request: https://github.com/python/cpython/pull/29302 ___ Python tracker ___

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +27566, 27567 pull_request: https://github.com/python/cpython/pull/29302 ___ Python tracker ___

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +27566 pull_request: https://github.com/python/cpython/pull/29302 ___ Python tracker ___

[issue45577] Make `test_zoneinfo.py` to check all pickle protocols

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7203ecd332eca3a44a3f1c8bdadd76a08c5568a1 by Miss Islington (bot) in branch '3.10': bpo-45577: test all pickle protocols in `test_zoneinfo` (GH-29167) (GH-29296) https://github.com/python/cpython/commit/7203ecd332eca3a44a3f1c8bdadd76a08c5568a1

[issue45577] Make `test_zoneinfo.py` to check all pickle protocols

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dd674ca96f2150fb3f7b4086ef7ec0022c4e2058 by Miss Islington (bot) in branch '3.9': bpo-45577: test all pickle protocols in `test_zoneinfo` (GH-29167) (GH-29295) https://github.com/python/cpython/commit/dd674ca96f2150fb3f7b4086ef7ec0022c4e2058

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-28 Thread PABLO LOBATO DE LA CRUZ
PABLO LOBATO DE LA CRUZ added the comment: I see thanks for answering so quickly. But why does it happen only on Windows? El jue, 28 oct 2021 a las 23:09, Steve Dower () escribió: > > Steve Dower added the comment: > > This is almost certainly because of how Windows handles stack overflow >

[issue45396] Custom frozen modules get ignored.

2021-10-28 Thread Eric Snow
Change by Eric Snow : -- resolution: fixed -> stage: resolved -> patch review status: closed -> open ___ Python tracker ___ ___

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

2021-10-28 Thread Eric Snow
Eric Snow added the comment: This is done now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45396] Custom frozen modules get ignored.

2021-10-28 Thread Eric Snow
Eric Snow added the comment: The behavior has been addressed in the fix for bpo-45395. However, I'd like to change the name of the -X option from "frozen_modules" to "frozen_stdlib", to avoid any confusion in the future. After that this issue is done. -- resolution: -> fixed

[issue45396] Custom frozen modules get ignored.

2021-10-28 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +27565 pull_request: https://github.com/python/cpython/pull/29301 ___ Python tracker ___

[issue45443] 'ThreadPoolExecutor' object has no attribute 'map'

2021-10-28 Thread Dennis Sweeney
Dennis Sweeney added the comment: It's been a couple of weeks, so I'm closing this. Feel free to re-open if you figure out that this is a bug that you can reliably reproduce on a fresh install of cpython. -- resolution: -> not a bug stage: -> resolved status: pending -> closed

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8813a987b1df78b5eaddb085e514dfa5af5c8634 by Alex Waygood in branch '3.9': [3.9] bpo-45655: Add "relevant PEPs" section to typing documentation (GH-29297) https://github.com/python/cpython/commit/8813a987b1df78b5eaddb085e514dfa5af5c8634

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Carl Friedrich! ✨  ✨ -- components: +Tests resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 67a1abb6aab3b3ce40eb3fdc0af73179ab436a3a by Miss Islington (bot) in branch '3.9': bpo-45624: make test_graphlib not depend on the iteration order of sets (GH-29233) (GH-29292)

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset eccb753ae6e1459dc697d5408e1082fff4f6d8f7 by Miss Islington (bot) in branch '3.10': bpo-45624: make test_graphlib not depend on the iteration order of sets (GH-29233) (GH-29293)

[issue45484] test_pickle segfault on s390x RHEL7 LTO 3.x

2021-10-28 Thread Dennis Sweeney
Dennis Sweeney added the comment: Hopefully this was fixed by https://github.com/python/cpython/pull/29258 -- nosy: +Dennis Sweeney ___ Python tracker ___

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

2021-10-28 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +27564 pull_request: https://github.com/python/cpython/pull/29300 ___ Python tracker ___

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-28 Thread Steve Dower
Steve Dower added the comment: This is almost certainly because of how Windows handles stack overflow exceptions, and the fact that there's no way for us to detect it reliably. There's some work going on to reduce the C stack depth when calling heavily nested Python code (see issue45256),

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-28 Thread Steve Dower
Steve Dower added the comment: I'd rather only have one force_hide option that does its best to hide everything. Yes, it's probably unintuitive for GUI apps, it might even be maliciously misused, but it does have occasional legitimate uses. And besides, an app can easily ignore SW_HIDE if

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

2021-10-28 Thread Eric Snow
Eric Snow added the comment: New changeset 074fa5750640a067d9894c69378a00ceecc3b948 by Eric Snow in branch 'main': bpo-45395: Make custom frozen modules additions instead of replacements. (gh-28778) https://github.com/python/cpython/commit/074fa5750640a067d9894c69378a00ceecc3b948

[issue45623] static build is broken

2021-10-28 Thread Steve Dower
Steve Dower added the comment: winver is static data, so no reason we can't define it all the time. Unassigning myself - if anyone else would like to work on this, feel free. -- assignee: steve.dower -> ___ Python tracker

[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-28 Thread Martin
Change by Martin : -- pull_requests: +27563 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/29299 ___ Python tracker ___

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

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

[issue45657] Enum behavior when values are functions

2021-10-28 Thread Ronald Pandolfi
Ronald Pandolfi added the comment: Ok, yeah that works. I would have thought that __members__ could be able to differentiate between bound methods and external functions, but that's probably asking too much. Fair enough! This works so I'm happy. Closing, "not a bug"... --

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Alex Waygood
Change by Alex Waygood : -- pull_requests: +27561 pull_request: https://github.com/python/cpython/pull/29297 ___ Python tracker ___

Re: Why so fast a web framework?

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 6:17 AM Calvin Spealman wrote: > > I don't think there's anything meaningful being compared in that so-called > "benchmark" at all. There is no evidence that its worth even the smallest > bit of attention. > > You want to write a web service? Do it. Use Python or PHP, or

[issue45664] resolve_bases() and new_class() do not work with type alias of a built-in type

2021-10-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : resolve_bases() returns incorrect result: >>> import types >>> types.resolve_bases((list[int],)) (list[int],) Expected (list,). new_class() fails: >>> types.new_class('L', (list[int],), {}) Traceback (most recent call last): File "", line 1, in

Re: Get a Joke in Python

2021-10-28 Thread Mostowski Collapse
QA engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 9 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv. LoL joel.d...@gmail.com schrieb am Mittwoch, 27. Oktober 2021 um 21:00:29 UTC+2: > Get a Joke in Python. Pyjokes - is a python library / module for one

[issue45612] [doc] add sqlite3 module docstring

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

[issue45612] [doc] add sqlite3 module docstring

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d6623c3ddb9a0e5ffed81253bd40f75c3c662f1a by Miss Islington (bot) in branch '3.9': bpo-45612: Add sqlite3 module docstring (GH-29224) (GH-29289) https://github.com/python/cpython/commit/d6623c3ddb9a0e5ffed81253bd40f75c3c662f1a --

[issue45612] [doc] add sqlite3 module docstring

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 823b3e39ae12884d5aa3c98341a41b2d6f19d329 by Miss Islington (bot) in branch '3.10': bpo-45612: Add sqlite3 module docstring (GH-29224) (GH-29288) https://github.com/python/cpython/commit/823b3e39ae12884d5aa3c98341a41b2d6f19d329 --

[issue45396] Custom frozen modules get ignored.

2021-10-28 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +27560 pull_request: https://github.com/python/cpython/pull/28778 ___ Python tracker ___

[issue45577] Make `test_zoneinfo.py` to check all pickle protocols

2021-10-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27558 pull_request: https://github.com/python/cpython/pull/29295 ___ Python tracker

[issue45577] Make `test_zoneinfo.py` to check all pickle protocols

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27559 pull_request: https://github.com/python/cpython/pull/29296 ___ Python tracker ___

[issue45577] Make `test_zoneinfo.py` to check all pickle protocols

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 66e6b3dcd3bbab06feeff2cbaf8aade7b6223d6c by Nikita Sobolev in branch 'main': bpo-45577: test all pickle protocols in `test_zoneinfo` (GH-29167) https://github.com/python/cpython/commit/66e6b3dcd3bbab06feeff2cbaf8aade7b6223d6c -- nosy:

[issue45379] Improve errors related to frozen modules.

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 233841ab782953510ad308dc6173072a6cc6a1cd by Filipe Laíns in branch 'main': bpo-45379: add custom error string for FROZEN_DISABLED (GH-29190) https://github.com/python/cpython/commit/233841ab782953510ad308dc6173072a6cc6a1cd -- nosy:

[issue45649] Add tarinfo.Path

2021-10-28 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Arthur! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8 ___ Python tracker

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3767e0d94351653a34ba6a6914e57c5c231012b0 by Miss Islington (bot) in branch '3.9': bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29286) https://github.com/python/cpython/commit/3767e0d94351653a34ba6a6914e57c5c231012b0

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fef54abf5fa3bf3d3cdeb2cba7a2921d204867c6 by Miss Islington (bot) in branch '3.10': bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29285) https://github.com/python/cpython/commit/fef54abf5fa3bf3d3cdeb2cba7a2921d204867c6

[issue45663] is_dataclass() does not work for dataclasses which are subclasses of types.GenericAlias

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

[issue45663] is_dataclass() does not work for dataclasses which are subclasses of types.GenericAlias

2021-10-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> import dataclasses, types >>> @dataclasses.dataclass ... class A(types.GenericAlias): ... origin: type ... args: type ... >>> dataclasses.is_dataclass(A) True >>> a = A(list, int) >>> dataclasses.is_dataclass(type(a)) True >>>

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Nikita! ✨  ✨ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 01d11b1d62b869f77e024b3979dbc064e9019b7c by Miss Islington (bot) in branch '3.9': bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func (GH-29226) (GH-29284)

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27556 pull_request: https://github.com/python/cpython/pull/29293 ___ Python tracker ___

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 76658e5bdbdf57464f4b43f1625c02c2ba4222dd by Miss Islington (bot) in branch '3.8': bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29287) https://github.com/python/cpython/commit/76658e5bdbdf57464f4b43f1625c02c2ba4222dd

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7401694807fc6b5f7b35ff73c06f4bb852e02946 by Carl Friedrich Bolz-Tereick in branch 'main': bpo-45624: make test_graphlib not depend on the iteration order of sets (GH-29233)

[issue45662] Incorrect repr of InitVar of a type alias

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

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27555 pull_request: https://github.com/python/cpython/pull/29292 ___ Python tracker

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2021-10-28 Thread primexx
Change by primexx : -- nosy: +primexx ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fb80aede6ab5d10297b787526657b1a6e20a706a by Miss Islington (bot) in branch '3.10': bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func (GH-29226) (GH-29283)

[issue45608] [sqlite3] some DB-API attributes are undocumented

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

[issue45608] [sqlite3] some DB-API attributes are undocumented

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1d88b2b0a15198843a43f34aba1abc65455d3ba7 by Miss Islington (bot) in branch '3.10': bpo-45608: Document missing `sqlite3` DB-API attributes and methods (GH-29219) (GH-29281)

[issue45608] [sqlite3] some DB-API attributes are undocumented

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 020aa06ec8b0f473a682f4ae74af5833035b054b by Miss Islington (bot) in branch '3.9': bpo-45608: Document missing `sqlite3` DB-API attributes and methods (GH-29219) (GH-29282)

[issue45653] Freeze the encodings module.

2021-10-28 Thread Eric Snow
Eric Snow added the comment: On Thu, Oct 28, 2021 at 12:15 PM Marc-Andre Lemburg wrote: > encodings is a package. I think you first have to check whether mixing > frozen and non-frozen submodules are even supported. I've never tried > having only part of a package frozen. It works as long as

[issue45612] [doc] add sqlite3 module docstring

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27552 pull_request: https://github.com/python/cpython/pull/29289 ___ Python tracker ___

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27553 pull_request: https://github.com/python/cpython/pull/29290 ___ Python tracker

[issue45612] [doc] add sqlite3 module docstring

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4dd1e84789f0bd2da83ad06d23c569bf03713a50 by Erlend Egeberg Aasland in branch 'main': bpo-45612: Add sqlite3 module docstring (GH-29224) https://github.com/python/cpython/commit/4dd1e84789f0bd2da83ad06d23c569bf03713a50 -- nosy:

[issue45655] List of PEPs at top of typing docs is too long to be readable

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 03db1bbfd2d3f5a343c293b2f0e09a1e962df7ea by Alex Waygood in branch 'main': bpo-45655: Add "relevant PEPs" section to ``typing`` documentation (GH-29280) https://github.com/python/cpython/commit/03db1bbfd2d3f5a343c293b2f0e09a1e962df7ea --

[issue45612] [doc] add sqlite3 module docstring

2021-10-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27551 pull_request: https://github.com/python/cpython/pull/29288 ___ Python tracker

[issue45020] Freeze all modules imported during startup.

2021-10-28 Thread Eric Snow
Eric Snow added the comment: I consider this done. There is some lingering follow-up work, for which I've created a number of issues: * https://bugs.python.org/issue45396 - -X frozen_modules=off ignores custom frozen modules * https://bugs.python.org/issue45395 - custom modules override

[issue35540] dataclasses.asdict breaks with defaultdict fields

2021-10-28 Thread Raymond Xu
Raymond Xu added the comment: I am seeing this bug with 3.9.7 -- nosy: +greenfish6 ___ Python tracker ___ ___ Python-bugs-list

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d9c1868c25ec6466e8d8ae21fe9315a8a03836ab by Arthur Milchior in branch 'main': bpo-45583: Correct datamodel documentation of int() (GH-29182) https://github.com/python/cpython/commit/d9c1868c25ec6466e8d8ae21fe9315a8a03836ab -- nosy:

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27549 pull_request: https://github.com/python/cpython/pull/29286 ___ Python tracker ___

[issue45583] Documentation of int() in datamodel.rst is out of date

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

[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27550 pull_request: https://github.com/python/cpython/pull/29287 ___ Python tracker ___

[issue45662] Incorrect repr of InitVar of a type alias

2021-10-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The repr of InitVar preserves type aliases from the typing module, but not builtin. >>> import typing, dataclasses >>> dataclasses.InitVar[typing.List[int]] dataclasses.InitVar[typing.List[int]] >>> dataclasses.InitVar[list[int]]

[issue45661] [meta] Freeze commonly used stdlib modules.

2021-10-28 Thread Eric Snow
Eric Snow added the comment: One to consider that isn't necessarily used that commonly is sysconfig. However, that could also involve freezing the "sysconfigdata" file (without needing to expose it as a module). -- ___ Python tracker

[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-28 Thread Martin
Martin added the comment: Once again a very good summary, thanks Joe! > it would be quite useful if this function parameter was given not just the > local variable values, but also the name of the local variable and maybe also > the stack frame it is in So this would be something like

[issue45661] [meta] Freeze commonly used stdlib modules.

2021-10-28 Thread Eric Snow
New submission from Eric Snow : We're already freezing modules needed for bootstrapping the runtime, as well as the modules imported during startup. [1][2] We're also planning on freezing argparse. [3] There may be other modules (or files) worth freezing (assuming we don't just freeze the

[issue45651] -X frozen_modules not defaulting to "off" on Windows when running in source tree?

2021-10-28 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1fb968c07a76fb2d1ec8c14a0026f1d15828f4a5 by Nikita Sobolev in branch 'main': bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func (GH-29226) https://github.com/python/cpython/commit/1fb968c07a76fb2d1ec8c14a0026f1d15828f4a5

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27547 pull_request: https://github.com/python/cpython/pull/29284 ___ Python tracker ___

[issue45604] multiprocessing.log_to_stderr missing documentation for parameter

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

[issue45608] [sqlite3] some DB-API attributes are undocumented

2021-10-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +27545 pull_request: https://github.com/python/cpython/pull/29282 ___ Python tracker ___

[issue45608] [sqlite3] some DB-API attributes are undocumented

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 88d8a1a340fb09c54d47f354f5fd7d4fbc5f0c78 by Erlend Egeberg Aasland in branch 'main': bpo-45608: Document missing `sqlite3` DB-API attributes and methods (GH-29219) https://github.com/python/cpython/commit/88d8a1a340fb09c54d47f354f5fd7d4fbc5f0c78

[issue45608] [sqlite3] some DB-API attributes are undocumented

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

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Sam! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker

[issue45654] Freeze the runpy module.

2021-10-28 Thread Eric Snow
Eric Snow added the comment: (See https://bugs.python.org/issue45020#msg402118.) -- ___ Python tracker ___ ___ Python-bugs-list

Re: walrus with a twist :+= or ...

2021-10-28 Thread Chris Angelico
On Fri, Oct 29, 2021 at 5:53 AM Avi Gross via Python-list wrote: > Is there a reasonable extension to a keyboard that might be reasonable, > perhaps with an accommodation to those without such a keyboard so that > entering some sequence gets it converted into what you want on the screen > but

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-28 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 193504acf3bfb7cff1edf7f568c2405b857fa1f7 by Miss Islington (bot) in branch '3.9': bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) (GH-29248)

  1   2   3   >