[issue43918] anext builtin docstring has no signature text or info about default argument

2021-04-24 Thread Erik Welch
Erik Welch added the comment: Thanks for taking a look Terry. I saw that error as well. It is separate from this issue, and I don't think it is a bug. No other builtin functions or methods that raise this error with this text have such a notice in their docstring, so it doesn't seem

[issue14965] super() and property inheritance behavior

2021-04-24 Thread Victor Milovanov
Victor Milovanov added the comment: There's a patch attached to this bug. Why is its stage "needs patch"? -- nosy: +Victor Milovanov ___ Python tracker ___

Re: async watch directory for new files

2021-04-24 Thread Zoran
> Bear in mind that asyncio is NOT the only way to be asynchronous. So > what you're asking for is, very specifically, an asyncio-compatible > inotify. Turns out, there's an ainotify on PyPI that might be what you > want. Yes there is: https://github.com/rbarrois/aionotify

[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-24 Thread Ammar Askar
Ammar Askar added the comment: For what it's worth I think Brett's suggestion of just removing the coverage build entirely is good too since it seems like no one actually looks at the results and they take up valuable CI time. -- nosy: +ammar2

[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Coverage runs are still failing on the master, and I think at least we should do something like allow failure or other wise github will send notifications for this flaky run. -- nosy: +BTaskaya ___ Python

[issue43929] Raise on threading.Event.__bool__ due to ambiguous nature

2021-04-24 Thread Aritn Sarraf
Aritn Sarraf added the comment: Understood. Thanks both, for taking the time to look. -- ___ Python tracker ___ ___

[issue38530] Offer suggestions on AttributeError and NameError

2021-04-24 Thread Dennis Sweeney
Dennis Sweeney added the comment: I opened PR 25584 to fix this current behavior: >>> v Traceback (most recent call last): File "", line 1, in NameError: name 'v' is not defined. Did you mean: 'id'? >>> vv Traceback (most recent call last): File "", line 1, in NameError: name 'vv' is

[issue38530] Offer suggestions on AttributeError and NameError

2021-04-24 Thread Dennis Sweeney
Change by Dennis Sweeney : -- nosy: +Dennis Sweeney nosy_count: 8.0 -> 9.0 pull_requests: +24304 pull_request: https://github.com/python/cpython/pull/25584 ___ Python tracker

[issue42737] PEP 563: drop annotations for complex assign targets

2021-04-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Ah, seems like there is still one open PR. Keeping this up for that... -- resolution: postponed -> status: closed -> open ___ Python tracker

[issue42737] PEP 563: drop annotations for complex assign targets

2021-04-24 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> postponed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2021-04-24 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +24303 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25583 ___ Python tracker ___

[issue42737] PEP 563: drop annotations for complex assign targets

2021-04-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 8cc3cfa8afab1651c4f6e9ba43a7ab7f10f64c32 by Batuhan Taskaya in branch 'master': bpo-42737: annotations with complex targets no longer causes any runtime effects (GH-23952)

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wait for responses -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43925] Add hangul syllables to unicodedata.decomposititon

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified the claim in 3.19.0a7 freshly compiled today. >>> import unicodedata as ud >>> ud.decomposition('\uac00') '' >>> for cp in range(0xac00, 0xd7a4): if (s := ud.decomposition(chr(cp))) != '': print(cp, s) >>> -- nosy:

[issue43889] Pickle performance regression in 3.10

2021-04-24 Thread Ken Jin
Ken Jin added the comment: I'm unable to reproduce the regression locally with pyperformance. Additionally, the links on speed.python.org show that the results returned to normal after a week (again seemingly without any commit to cause such a change). I'm closing this bug as it doesn't

[issue43918] anext builtin docstring has no signature text or info about default argument

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: inspect.signature(anext) raises "ValueError: builtin has invalid signature". Guido, is this a bug? Even if not, docstring should have it. -- nosy: +terry.reedy ___ Python tracker

[issue43754] Eliminate bindings for partial pattern matches

2021-04-24 Thread Brandt Bucher
Brandt Bucher added the comment: Since the feature freeze is coming up (and this changes the bytecode), I'd like to open this up for review now. It probably shouldn't actually be merged before the AST changes in issue 43892, though. There will be quite a few conflicts that need resolving,

[issue28874] test_logging fails and freezes

2021-04-24 Thread wim glenn
wim glenn added the comment: I was seeing this problem when building 3.6.4. Fixed it by replacing the test cert with a newer one from 3.6.13: curl https://raw.githubusercontent.com/python/cpython/v3.6.13/Lib/test/keycert.pem > ./Lib/test/keycert.pem Hope this helps someone else one

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: I think "no user-visible changes" is a pipe dream. Deleting __annotations__ seems fairly pointless so I don't mind changes that are only visible when you do that. -- ___ Python tracker

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-24 Thread Larry Hastings
Larry Hastings added the comment: > Functions don't store __annotations__ in their __dict__, it is a > separate slot named func_annotations (see funcobject.c). I guess > that's because the __dict__ is purely for user-defined function > attributes. I brought up functions because I'm now

[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-24 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43762] Add audit events for loading of sqlite3 extensions

2021-04-24 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Maybe it's better to send the event only if the connection succeeded: diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c index 8dbfa7b38a..0220978cf2 100644 --- a/Modules/_sqlite/module.c +++ b/Modules/_sqlite/module.c @@ -97,6 +97,12 @@

[issue43762] Add audit events for loading of sqlite3 extensions

2021-04-24 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Something like the attached patch, if I understand you correctly? -- Added file: https://bugs.python.org/file49982/patch.diff ___ Python tracker

[issue43762] Add audit events for loading of sqlite3 extensions

2021-04-24 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Good question. sqlite3_load_extension() loads an extension into a database connection, so it would make sense to also pass the connection object. I'd say we do it; it's a small change, and as you say: if we wanted to add it later, we couldn't. Ref.

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: So, honestly I don't understand what your concern with the lazy approach is. Was your design based on having a bit in the class/module object (outside its __dict__) saying "I already lazily created one"? Or am I missing something? Also, I'll stop going on

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: Functions don't store __annotations__ in their __dict__, it is a separate slot named func_annotations (see funcobject.c). I guess that's because the __dict__ is purely for user-defined function attributes. But perhaps for classes the C equivalent of this

[issue43929] Raise on threading.Event.__bool__ due to ambiguous nature

2021-04-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Steven is right that this would be a behavior change. It is also out of line with Python norms where all objects are born true and have to learn to be false with either __len__ or __bool__. It is not a norm for bool(obj) to raise an exception.

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-24 Thread Larry Hastings
Larry Hastings added the comment: Hmm. Sorry for the stream-of-consciousness thought process here, but this approach adds wrinkles too. Function objects from the very beginning have lazy-created their annotations dict if it's not set. Which means this works fine: while True:

[issue43908] array.array should remain immutable

2021-04-24 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > Does the test suite pass for apply-to-all.diff? No, multiple tests fail. First test_distutils fails, then during the re-run, test_multiprocessing_forkserver, test_multiprocessing_spawn, and test_pdb fail. > Also, quite a hornet's nest you've

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-24 Thread Larry Hastings
Change by Larry Hastings : -- title: Add an empty annotations dict to all unannotated classes and modules -> Lazy-create an empty annotations dict in all unannotated user classes and modules ___ Python tracker

[issue43901] Add an empty annotations dict to all unannotated classes and modules

2021-04-24 Thread Larry Hastings
Larry Hastings added the comment: And I just had a realization. Lazy creation of an empty annotations dict, for both classes and modules, will work fine. As stated in my previous comment in this issue, my goal here is to improve best practices in 3.10+, while preserving the unfortunate

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +24302 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25582 ___ Python tracker ___

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Paul Moore
Paul Moore added the comment: New changeset fc82f3f8fb36f88a4e7238a463812c2916bd4db0 by Stéphane Bidoul in branch '3.8': [3.8] bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0 (GH-25576) (GH-25579)

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Paul Moore
Paul Moore added the comment: New changeset d962b00fcffa9070acdca850753f254828caa1d7 by Stéphane Bidoul in branch '3.9': [3.9] bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0 (GH-25578) https://github.com/python/cpython/commit/d962b00fcffa9070acdca850753f254828caa1d7

[issue43901] Add an empty annotations dict to all unannotated classes and modules

2021-04-24 Thread Larry Hastings
Larry Hastings added the comment: I'm please you folks are as supportive as you are of what I'm doing here, given that you seem a little unsure of the details. I concede that there's a lot going on and it can be hard to keep it all in your head. The point of this issue / PR is to improve

[issue43934] Minimal version of SQLite3 - 3.26 ?

2021-04-24 Thread Berker Peksag
Berker Peksag added the comment: Thank you for taking your time to improve the sqlite3 module! -- ___ Python tracker ___ ___

[issue43901] Add an empty annotations dict to all unannotated classes and modules

2021-04-24 Thread Eric V. Smith
Eric V. Smith added the comment: "It's fine to have advice ..." -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43901] Add an empty annotations dict to all unannotated classes and modules

2021-04-24 Thread Eric V. Smith
Eric V. Smith added the comment: It's find to have advice of "do X in 3.9", and "do Y in 3.10+". I think the issue is: if you have code that needs to run in 3.9 and 3.10+, what should you do? There needs to be some advice for that case. -- ___

[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great!!! I also tried >>> try: compile("a xyzjdkjfk", '', 'single') except SyntaxError as e: print(e, e.msg, e.lineno, e.offset, e.end_lineno, e.end_offset) invalid syntax. Perhaps you forgot a comma? (, line 1) invalid syntax. Perhaps you

[issue38659] enum classes cause slow startup time

2021-04-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems that the buildbots are going back to green so I will close the revert PR. THanks a lot, Ethan for the fix and the investigation! -- ___ Python tracker

[issue38659] enum classes cause slow startup time

2021-04-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43934] Minimal version of SQLite3 - 3.26 ?

2021-04-24 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43934] Minimal version of SQLite3 - 3.26 ?

2021-04-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Berker, No problem, that was just a question/suggestion, and I fully understand your remarks. Thanks for your feedback. Stéphane -- ___ Python tracker

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-24 Thread Terence Honles
Terence Honles added the comment: Sorry I didn't know what to put, and now that you changed it I understand what behavior means. Thanks for changing it. Should I do anything further? Not sure how to proceed. -- ___ Python tracker

[issue43936] os.path.realpath() normalizes paths before resolving links on Windows

2021-04-24 Thread Barney Gale
New submission from Barney Gale : Capturing a write-up by eryksun on GitHub into a new bug. Link: https://github.com/python/cpython/pull/25264#pullrequestreview-631787754 > `nt._getfinalpathname()` opens a handle to a file/directory with > `CreateFileW()` and calls

[issue43934] Minimal version of SQLite3 - 3.26 ?

2021-04-24 Thread Berker Peksag
Berker Peksag added the comment: This would make sqlite3 module unusable for many users. We have already increased the minimal required version in 3.10 and am opposed to do this change. I also don't understand what part of msg370266 made you think that this is a reasonable change. The gist

[issue43901] Add an empty annotations dict to all unannotated classes and modules

2021-04-24 Thread Larry Hastings
Larry Hastings added the comment: I'm not breaking backwards compatibility--that's the point of all this. But I'm improving the experience. And if you don't care about 3.9 and before, you can stick to the new improved experience. Looking in the class dict for annotations is terrible, but

Re: async watch directory for new files

2021-04-24 Thread Chris Angelico
On Sun, Apr 25, 2021 at 6:16 AM Zoran wrote: > > On Saturday, 24 April 2021 at 18:52:24 UTC+2, Dieter Maurer wrote: > > Zoran wrote at 2021-4-23 14:31 -0700: > > >I need to watch for new files in directory, and when it shows up, I should > > >create async task with file's full path for it, and

Re: "py.ini" question

2021-04-24 Thread Chris Angelico
On Sun, Apr 25, 2021 at 5:57 AM Gisle Vanem wrote: > > With 'py -3.6' or 'py 3.8' I get the expected. > But with 'py -3': >Python 3.8.9 (default, Apr 13 2021, 15:54:59) [GCC 10.2.0 64 bit (AMD64)] > on win32 > I believe that's because you're asking for "the latest in the 3.x series".

[issue43935] Fix typo in Turtle.back docstring

2021-04-24 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Thank you for your contribution but as you know, you have to sign the CLA. https://github.com/python/cpython/pull/25581#issuecomment-826150064 -- nosy: +matrixise ___ Python tracker

[issue43935] Fix typo in Turtle.back docstring

2021-04-24 Thread Tarjei Bærland
Change by Tarjei Bærland : -- keywords: +patch pull_requests: +24301 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25581 ___ Python tracker ___

[issue43935] Fix typo in Turtle.back docstring

2021-04-24 Thread Tarjei Bærland
Change by Tarjei Bærland : -- assignee: docs@python components: Documentation nosy: docs@python, tarjeiba priority: normal severity: normal status: open title: Fix typo in Turtle.back docstring versions: Python 3.10 ___ Python tracker

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: import unittest #def setUpModule(): raise Exception() #def tearDownModule(): print('module teardown') unittest.addModuleCleanup(print, 'module cleanup') class Dummy(unittest.TestCase): def test_dummy(self): self.addCleanup(print, 'test cleanup')

[issue43913] unittest module cleanup functions not run unless tearDownModule() is defined

2021-04-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-04-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the bisection, Anthony -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-04-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Marking as release blocker since is breaking pytest -- priority: normal -> release blocker ___ Python tracker ___

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-04-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43934] Minimal version of SQLite3 - 3.26 ?

2021-04-24 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +24300 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25580 ___ Python tracker ___

[issue43934] Minimal version of SQLite3 - 3.26 ?

2021-04-24 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : After reading this issue: https://bugs.python.org/msg370266, I think SQLite 3.26.0 could be the minimal version for Python 3.10. I have checked the following distributions CentOS 8: stable : 8.3.2011: 3.26.0 Debian 10: stable : 10 : 3.27.2 Ubuntu 20.04:

Re: async watch directory for new files

2021-04-24 Thread Zoran
On Saturday, 24 April 2021 at 18:52:24 UTC+2, Dieter Maurer wrote: > Zoran wrote at 2021-4-23 14:31 -0700: > >I need to watch for new files in directory, and when it shows up, I should > >create async task with file's full path for it, and wait for new file. > > > >If anyone here used a

[issue43929] Raise on threading.Event.__bool__ due to ambiguous nature

2021-04-24 Thread Aritn Sarraf
Aritn Sarraf added the comment: Hi Steve, a couple things to preface my following comment. (1) Didn't mean to suggest that the current behavior is a bug. I don't think it is a bug, rather that it can easily lead to bugs. (2) Sorry for tagging the previous versions, I'm not familiar with the

Re: "py.ini" question

2021-04-24 Thread Gisle Vanem
Barry Scott wrote: A copy of this is also in 'c:\Windows\py.ini'. So when I do a: py -3 -c "import sys; print(sys.version)" I would assume a "3.6..." would be printed. But no, py.exe chooses to run my newest Python 3.8: 3.8.9 (default, Apr 13 2021, 15:54:59) [GCC 10.2.0 64 bit (AMD64)]

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-04-24 Thread Anthony Sottile
New submission from Anthony Sottile : This is breaking pytest for failed assertions: https://github.com/pytest-dev/pytest/pull/8227 It also breaks the traceback in the output below Here's a minimal example: ```python class Boom: def __enter__(self): return self def

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Terence, a 'crash' for this tracker is a core dump or equivalent with no exception/traceback. -- nosy: +terry.reedy stage: -> patch review type: crash -> behavior versions: -Python 3.6, Python 3.7 ___ Python

[issue43932] f-string decimal has leading space

2021-04-24 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43932] f-string decimal has leading space

2021-04-24 Thread Mark Dickinson
Mark Dickinson added the comment: This is by design, and documented under the "sign" section here: https://docs.python.org/3/library/string.html#format-specification-mini-language The space before ".2f" is an instruction to leave space for a sign, "-" for a negative number and " " for a

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2021-04-24 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks Andrei -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2021-04-24 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Using zipfile.Path with several files prematurely closes zip ___ Python tracker

[issue43193] Installer for All users

2021-04-24 Thread Muhammad Hussein Ammari
Change by Muhammad Hussein Ammari : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue43193] Installer for All users

2021-04-24 Thread Muhammad Hussein Ammari
Muhammad Hussein Ammari added the comment: Duplicate: https://bugs.python.org/issue25166 -- ___ Python tracker ___ ___

[issue25166] Windows All Users installation places uninstaller in user profile

2021-04-24 Thread Muhammad Hussein Ammari
Change by Muhammad Hussein Ammari : -- title: Windows AllUsers installation places uninstaller in user profile -> Windows All Users installation places uninstaller in user profile ___ Python tracker

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Shreyan Avigyan, For that, you need to follow the forum of SQLite. https://www.sqlite.org/forum/forum -- ___ Python tracker ___

[issue43932] f-string decimal has leading space

2021-04-24 Thread Akshay K
New submission from Akshay K : When using a f-string to print a number with a certain number of decimal places, the number is printed with a leading space. -- components: Interpreter Core files: fstringdemo.py messages: 391789 nosy: Axeinator, eric.smith priority: normal severity:

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-24 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Do anyone notice any bug in SQLite 3.35.5? If not then I think it's time to upgrade to SQLite 3.35.5. -- ___ Python tracker ___

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-24 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: "py.ini" question

2021-04-24 Thread Barry Scott
> On 24 Apr 2021, at 15:23, Gisle Vanem wrote: > > I have a question about the Python launcher; > c:\Windows\py.exe and the py.ini file. > > I have both Python 3.6 (32-bit) and Python 3.8 (64-bit) > installed. And I have a 'c:\Users\Gisle\AppData\Local\py.ini' > with this only: >

[issue38659] enum classes cause slow startup time

2021-04-24 Thread Ethan Furman
Ethan Furman added the comment: Pablo, did my latest patch resolved the errors? -- ___ Python tracker ___ ___ Python-bugs-list

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- pull_requests: +24299 pull_request: https://github.com/python/cpython/pull/25579 ___ Python tracker ___

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- nosy: +sbidoul nosy_count: 5.0 -> 6.0 pull_requests: +24298 pull_request: https://github.com/python/cpython/pull/25578 ___ Python tracker ___

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2021-04-24 Thread Andrei Kulakov
Andrei Kulakov added the comment: Looks like a duplicate of https://bugs.python.org/issue40564 , which was fixed and closed so this can also be closed. -- nosy: +andrei.avk ___ Python tracker

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

2021-04-24 Thread hai shi
hai shi added the comment: Thanks Marc-Andre for your supplement of PEP-100. Thanks Inada, victor for your review and merge. After PR-23096 merged, I suggest to close this bpo. If there have any other questions, we can reopen it again. -- resolution: -> fixed stage: patch review ->

Re: Ad-hoc SQL query builder for Python3?

2021-04-24 Thread dn via Python-list
On 25/04/2021 02.24, Rich Shepard wrote: > My web searches are not finding what I need to include in an application > I'm > building: an ad-hoc sql query builder. > > End users will want to query their data for reports not included in the > built-in queries. My searches find a windows-only tool

Re: async watch directory for new files

2021-04-24 Thread Dieter Maurer
Zoran wrote at 2021-4-23 14:31 -0700: >I need to watch for new files in directory, and when it shows up, I should >create async task with file's full path for it, and wait for new file. > >If anyone here used a library for such task, please share which one. The solution likely depends on the OS

Re: Ad-hoc SQL query builder for Python3?

2021-04-24 Thread Rich Shepard
On Sat, 24 Apr 2021, J. Pic wrote: Maybe search or ask dba stackexchange for more, meanwhile, here's a popular one: https://github.com/dbeaver/dbeaver J., I use dbeaver-ce now and then as an admin tool. I didn't consider it as an included component in a desktop application. I'll look at it

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Paul Moore
Paul Moore added the comment: New changeset 196983563d05e32d2dcf217e955a919f9e0c25e1 by Stéphane Bidoul in branch 'master': bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0 (GH-25576) https://github.com/python/cpython/commit/196983563d05e32d2dcf217e955a919f9e0c25e1 --

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

2021-04-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I just thought having a whole “expr-without-walrus-or-yield” subgrammar > would be tedious. Yeah I have experimented with something similar in the past and this becomes out of hand super quickly and leafs to a lot of duplication. Similarly, a flag

Re: Ad-hoc SQL query builder for Python3?

2021-04-24 Thread J. Pic
Maybe search or ask dba stackexchange for more, meanwhile, here's a popular one: https://github.com/dbeaver/dbeaver -- https://mail.python.org/mailman/listinfo/python-list

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

2021-04-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no “expr-without-await-or-async-for” subgrammar, but "await" and asynchronous comprehensions are invalid in synchronous functions. There should be similar flag for annotations in symtable.c. -- ___

Re: "py.ini" question

2021-04-24 Thread Mats Wichmann
On 4/24/21 8:23 AM, Gisle Vanem wrote: I have a question about the Python launcher;   c:\Windows\py.exe and the py.ini file. I have both Python 3.6 (32-bit) and Python 3.8 (64-bit) installed. And I have a 'c:\Users\Gisle\AppData\Local\py.ini' with this only:   [defaults]   python=3.6 A copy

[issue43780] Sync importlib_metadata enhancements through 3.10.

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

[issue43901] Add an empty annotations dict to all unannotated classes and modules

2021-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: And that’s a problem. There needs to be a recommendation on what to do for code that spans 3.9 and 3.10. What should users do otherwise? Drop 3.9 as soon as they introduce 3.10 support? Withhold 3.10 support until 3.9 reaches EOL? IOW you can’t just break

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

2021-04-24 Thread Guido van Rossum
Guido van Rossum added the comment: I don’t really care how you do it, I just thought having a whole “expr-without-walrus-or-yield” subgrammar would be tedious. If there is a way to have the “in-an-annotation” flag set during parsing that may be better, I don’t know. Maybe Lysandros has an

[issue43931] Add the Python version to the API data.

2021-04-24 Thread Gabriele N Tornetta
Change by Gabriele N Tornetta : -- keywords: +patch pull_requests: +24297 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25577 ___ Python tracker

[issue43931] Add the Python version to the API data.

2021-04-24 Thread Gabriele N Tornetta
New submission from Gabriele N Tornetta : When Python is embedded in other applications, it is not easy to determine which version of Python is being used. This change exposes the Python version as part of the API data. Tools like Austin (https://github.com/P403n1x87/austin) can benefit from

Ad-hoc SQL query builder for Python3?

2021-04-24 Thread Rich Shepard
My web searches are not finding what I need to include in an application I'm building: an ad-hoc sql query builder. End users will want to query their data for reports not included in the built-in queries. My searches find a windows-only tool that apparently costs developers for the version to

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- nosy: +Marcus.Smith -sbidoul ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

"py.ini" question

2021-04-24 Thread Gisle Vanem
I have a question about the Python launcher; c:\Windows\py.exe and the py.ini file. I have both Python 3.6 (32-bit) and Python 3.8 (64-bit) installed. And I have a 'c:\Users\Gisle\AppData\Local\py.ini' with this only: [defaults] python=3.6 A copy of this is also in 'c:\Windows\py.ini'. So

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- keywords: +patch pull_requests: +24296 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25576 ___ Python tracker ___

[issue43930] Update bundled pip to 21.1 and setuptools to 56.0.0

2021-04-24 Thread Stéphane Bidoul
Change by Stéphane Bidoul : -- nosy: +dstufft, ncoghlan, paul.moore, pradyunsg ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43780] Sync importlib_metadata enhancements through 3.10.

2021-04-24 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset c6ca368867bd68d44f333df840aa85d425a51410 by Jason R. Coombs in branch 'master': bpo-43780: Sync with importlib_metadata 3.10 (GH-25297) https://github.com/python/cpython/commit/c6ca368867bd68d44f333df840aa85d425a51410 --

  1   2   >