[issue44116] The _csv module can't be garbage-collected after _csv.register_dialect is called

2021-05-12 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue31753] Unnecessary closure in ast.literal_eval

2021-05-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue44118] cython compiler error

2021-05-12 Thread Marc Udoff
New submission from Marc Udoff : Hi, The follow gives an unexpected error during compilation: In [1]: %%cython ...: #cython: infer_types=True ...: class A: ...: def f(self): ...: x = max(self.a, self.a) Removing max, or setting infer_types=False, or setting x = N

[issue44118] cython compiler error

2021-05-12 Thread Marc Udoff
Marc Udoff added the comment: Wrong forum -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___

[issue44113] [C API] Deprecate legacy API for configure Python initialization

2021-05-12 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 3.0 -> 4.0 pull_requests: +24722 pull_request: https://github.com/python/cpython/pull/26083 ___ Python tracker ___ __

[issue44113] [C API] Deprecate legacy API for configure Python initialization

2021-05-12 Thread STINNER Victor
STINNER Victor added the comment: PyConfig API was added to Python 3.8, so it's now widely available. Python 3.8 always switched to security fixes only phase. So IMO it's ok to deprecate the old API now. -- ___ Python tracker

[issue44113] [C API] Deprecate legacy API for configure Python initialization

2021-05-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24723 pull_request: https://github.com/python/cpython/pull/26084 ___ Python tracker ___ __

[issue44113] [C API] Deprecate legacy API for configure Python initialization

2021-05-12 Thread STINNER Victor
STINNER Victor added the comment: """ Check warning on line 82 in Python/frozenmain.c GitHub Actions / Ubuntu ‘Py_SetProgramName’ is deprecated [-Wdeprecated-declarations] """ Well, Py_FrozenMain() should be rewritten with PyConfig, I want to do that for a long time, but I don't know how to te

[issue33809] Expose `capture_locals` parameter in `traceback` convenience functions

2021-05-12 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue15003] make PyNamespace_New() public

2021-05-12 Thread Jouke Witteveen
Change by Jouke Witteveen : -- nosy: +joukewitteveen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue44113] [C API] Deprecate legacy API for configure Python initialization

2021-05-12 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +24724 pull_request: https://github.com/python/cpython/pull/26085 ___ Python tracker ___ _

[issue44030] Markup with_traceback code example

2021-05-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24725 pull_request: https://github.com/python/cpython/pull/26086 ___ Python tracker _

[issue44030] Markup with_traceback code example

2021-05-12 Thread Irit Katriel
Irit Katriel added the comment: New changeset 6275ea02825731fd23f523058ac87aac53888740 by Miss Islington (bot) in branch '3.10': bpo-44030: Fix formatting error in exceptions docs (GH-25929) (GH-26086) https://github.com/python/cpython/commit/6275ea02825731fd23f523058ac87aac53888740 ---

[issue44030] Markup with_traceback code example

2021-05-12 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44113] [C API] Deprecate legacy API for configure Python initialization

2021-05-12 Thread STINNER Victor
STINNER Victor added the comment: commit 6cd0446ef72c6676b292d7f54b1ddb8ae5e1fb8d Author: Victor Stinner Date: Wed May 12 23:59:25 2021 +0200 bpo-44113: Deprecate old functions to config Python init (GH-26060) Deprecate the following functions to configure the Python initia

[issue15003] make PyNamespace_New() public

2021-05-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-05-12 Thread Barney Gale
Change by Barney Gale : -- pull_requests: +24726 pull_request: https://github.com/python/cpython/pull/26087 ___ Python tracker ___ _

[issue43757] pathlib: move 'resolve()' logic out of path flavour

2021-05-12 Thread Barney Gale
Change by Barney Gale : -- pull_requests: +24727 pull_request: https://github.com/python/cpython/pull/26088 ___ Python tracker ___ _

[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-05-12 Thread Barney Gale
Change by Barney Gale : -- pull_requests: +24728 pull_request: https://github.com/python/cpython/pull/26089 ___ Python tracker ___ _

[issue43757] pathlib: move 'resolve()' logic out of path flavour

2021-05-12 Thread Barney Gale
Change by Barney Gale : -- pull_requests: +24729 pull_request: https://github.com/python/cpython/pull/26090 ___ Python tracker ___ _

[issue26032] Use scandir() to speed up pathlib globbing

2021-05-12 Thread Barney Gale
Change by Barney Gale : -- nosy: +barneygale nosy_count: 8.0 -> 9.0 pull_requests: +24730 pull_request: https://github.com/python/cpython/pull/25701 ___ Python tracker ___

[issue44115] Improve conversions for fractions

2021-05-12 Thread Vedran Čačić
Vedran Čačić added the comment: Absolutely. I think that's a big part of the reason that as_integer_ratio is there. -- nosy: +veky ___ Python tracker ___ _

[issue44069] pathlib.Path.glob's generator is not a real generator

2021-05-12 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue44115] Improve conversions for fractions

2021-05-12 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43176] Dataclasses derived from empty frozen bases skip immutability checks

2021-05-12 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue40938] urllib.parse.urlunsplit makes relative path to absolute (http:g -> http:///g)

2021-05-12 Thread hai shi
Change by hai shi : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue44114] Incorrect function signatures in dictobject.c

2021-05-12 Thread Ma Lin
Change by Ma Lin : -- nosy: +methane ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue44098] Remove ParamSpec from __parameters__ of most typing generics

2021-05-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24731 pull_request: https://github.com/python/cpython/pull/26091 ___ Python tracker _

[issue44104] http.cookies.CookieError: Illegal key

2021-05-12 Thread ra1nb0w
ra1nb0w added the comment: Thank you very much jaswdr for the clarification. Now I close this issue. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue44119] Use glob.glob() to implement pathlib.Path.glob()

2021-05-12 Thread Barney Gale
New submission from Barney Gale : I have a scratchy patch that replaces pathlib's globbing implementation with glob.glob(), which gained a `root_dir` argument in bpo-38144 Encouraging timings: $ ./python -m timeit -s "from pathlib import Path; p = Path()" -- "list(p.glob('**/*'))" Unpatched:

[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-12 Thread Hiroaki Mizuguchi
New submission from Hiroaki Mizuguchi : This bug is loading bar.logging.FooBarFormatter is occur "ModuleNotFoundError: No module named 'bar.logging.FooBarFormatter'; 'bar.logging' is not a package" when bar module has 'import logging' directive. logging.config._resolve and logging.config.Base

[issue44119] Use glob.glob() to implement pathlib.Path.glob()

2021-05-12 Thread Barney Gale
Barney Gale added the comment: Flawed implementation, timings were bogus. Closing in shame. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

<    1   2