[issue43817] Add inspect.get_annotations()

2021-04-19 Thread Larry Hastings
Change by Larry Hastings : -- title: Add typing.get_annotations() -> Add inspect.get_annotations() ___ Python tracker ___ ___

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-04-19 Thread Josh Snyder
Change by Josh Snyder : -- keywords: +patch pull_requests: +24203 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25478 ___ Python tracker ___

Re: do ya still use python?

2021-04-19 Thread Dan Stromberg
On Mon, Apr 19, 2021 at 5:55 PM Jon Ribbens via Python-list < python-list@python.org> wrote: > On 2021-04-20, Paul Rubin wrote: > > Ethan Furman writes: > >> List, my apologies -- not sure how that one got through. > > > > It was trollishly written but was a reasonable observation on the state

[issue38659] enum classes cause slow startup time

2021-04-19 Thread Ethan Furman
Ethan Furman added the comment: New changeset 503cdc7c124cebbd777008bdf7bd9aa666b25f07 by Ethan Furman in branch 'master': Revert "bpo-38659: [Enum] add _simple_enum decorator (GH-25285)" (GH-25476) https://github.com/python/cpython/commit/503cdc7c124cebbd777008bdf7bd9aa666b25f07

[issue38659] enum classes cause slow startup time

2021-04-19 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +24202 pull_request: https://github.com/python/cpython/pull/25476 ___ Python tracker ___

[issue38659] enum classes cause slow startup time

2021-04-19 Thread Ethan Furman
Ethan Furman added the comment: New changeset dbac8f40e81eb0a29dc833e6409a1abf47467da6 by Ethan Furman in branch 'master': bpo-38659: [Enum] add _simple_enum decorator (GH-25285) https://github.com/python/cpython/commit/dbac8f40e81eb0a29dc833e6409a1abf47467da6 --

[issue42854] OpenSSL 1.1.1: use SSL_write_ex() and SSL_read_ex()

2021-04-19 Thread Ethan Furman
Ethan Furman added the comment: I'm getting this error: test test_ssl failed -- Traceback (most recent call last): File "/source/python/cpython/Lib/test/test_ssl.py", line 1061, in test_read_write_zero self.assertEqual(s.send(b""), 0) File "/source/python/cpython/Lib/ssl.py", line

Re: do ya still use python?

2021-04-19 Thread Jon Ribbens via Python-list
On 2021-04-20, Paul Rubin wrote: > Ethan Furman writes: >> List, my apologies -- not sure how that one got through. > > It was trollishly written but was a reasonable observation on the state > of the Usenet group. I didn't realize it had come through (or reached) > the mailing list. Anyway

[issue39298] add BLAKE3 to hashlib

2021-04-19 Thread Jack O'Connor
Jack O'Connor added the comment: Hey Christian, yes these are new bindings, and also incomplete. See comments in https://github.com/oconnor663/cpython/commit/dc6f6163ad9754c9ad53e9e3f3613ca3891a77ba, but in short only x86-64 Unix is in working order. If 3.10 doesn't seem realistic, I'm

[issue43834] Use context manager in StringIO example

2021-04-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I agree that closing or using a context manager with StringIO (or BytesIO) is not something one normally has to do, so it doesn't need to be in the example. -- resolution: -> rejected status: open -> closed

RE: Current thinking on required options

2021-04-19 Thread Avi Gross via Python-list
Sidestepping the wording of "options" is the very real fact that providing names for even required parts can be helpful in many cases. There re programs that may not require anything on the command line to be done but many need something to provide some flexibility. So, I tend to agree that in

[issue43834] Use context manager in StringIO example

2021-04-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Except for that, the PR looks fine. Leaving this open to see what Benjamin thinks. -- resolution: rejected -> status: closed -> open ___ Python tracker

[issue43834] Use context manager in StringIO example

2021-04-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Let's leave the example as-is. The principal use case for these objects is to pass them into other APIs that require file-like objects. Those can't always be put in a context manager. For this example, we mainly want to communicate that getvalue()

[issue43891] co_annotations branch caused a crash in stackeffect() in compile.c

2021-04-19 Thread Larry Hastings
Larry Hastings added the comment: (Sorry, the name of the function is stackdepth(), not stackeffect().) -- ___ Python tracker ___

[issue43891] co_annotations branch caused a crash in stackeffect() in compile.c

2021-04-19 Thread Larry Hastings
New submission from Larry Hastings : I'm working on a branch to implement PEP 649: https://github.com/larryhastings/co_annotations/ Inada Naoki discovered a crash in that branch, discussed here, including steps to reproduce: https://github.com/larryhastings/co_annotations/issues/10

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

2021-04-19 Thread Brett Cannon
Brett Cannon added the comment: It might be time to just kill the coverage report since people are obviously not looking at the results. -- ___ Python tracker ___

[issue25460] Misc/.gdbinit uses preprocessor macro

2021-04-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7a041162468b83f6cad667b78ed5c786286aed2b by Pablo Galindo in branch 'master': bpo-25460: Surround suggestions by quotes (GH-25473) https://github.com/python/cpython/commit/7a041162468b83f6cad667b78ed5c786286aed2b --

Re: Determine what the calling program is

2021-04-19 Thread Barry
> On 19 Apr 2021, at 22:49, Cameron Simpson wrote: > > On 19Apr2021 23:13, Peter J. Holzer wrote: >>> On 2021-04-19 08:54:06 +1000, Cameron Simpson wrote: >>> My personal preference is lock directories. Shell version goes like >>> this: >>> >>>if mkdir /my/lock/directory/name-of-task

[issue31213] __context__ reset to None in nested exception

2021-04-19 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Steve Dower
Steve Dower added the comment: > In that case, would you want to deprecate > sys.getwindowsversion().platform_version? Yeah, but I'm not so concerned about raising a warning on use. Just in the docs will be fine. We should also add a mention that it is extracting the value from efficient

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Eryk Sun
Eryk Sun added the comment: > If we're going to launch cmd.exe, I'd prefer to only do that in the > platform module and not the sys function. Nothing in sys should > start a subprocess (if we can at all avoid it). In that case, would you want to deprecate

Re: Determine what the calling program is

2021-04-19 Thread Cameron Simpson
On 19Apr2021 23:13, Peter J. Holzer wrote: >On 2021-04-19 08:54:06 +1000, Cameron Simpson wrote: >> My personal preference is lock directories. Shell version goes like >> this: >> >> if mkdir /my/lock/directory/name-of-task >> then >>.. do task .. >>rmdir

Re: Determine what the calling program is

2021-04-19 Thread Peter J. Holzer
On 2021-04-19 08:54:06 +1000, Cameron Simpson wrote: > My personal preference is lock directories. Shell version goes like > this: > > if mkdir /my/lock/directory/name-of-task > then >.. do task .. >rmdir /my/lock/directory/name-of-task > else > echo "lock

Re: Determine what the calling program is

2021-04-19 Thread Peter J. Holzer
On 2021-04-19 08:04:10 +1200, dn via Python-list wrote: > In a similar situation, one of my teams used an (OpSys) environment > variable (available in both *nux and MS-Win). > - when the application starts, it checks for the variable > - if exists, stops running, else may proceed That doesn't

[issue43878] ./configure fails on Apple Silicon with coreutils uname

2021-04-19 Thread Keith Smiley
Keith Smiley added the comment: Yep for sure, this is the first time I've hit a difference with uname specifically -- title: ./configure fails on Apple Silicon -> ./configure fails on Apple Silicon with coreutils uname ___ Python tracker

[issue43878] ./configure fails on Apple Silicon

2021-04-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the additional info and the PR. Yes, it probably does make sense to update them. But it also makes sense to avoid getting into problems building (Python and likely some other projects) with replacements for Apple-supplied utilities :) I note that

[issue38530] Offer suggestions on AttributeError and NameError

2021-04-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24201 pull_request: https://github.com/python/cpython/pull/25473 ___ Python tracker ___

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-04-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24200 pull_request: https://github.com/python/cpython/pull/25475 ___ Python tracker ___

[issue43878] ./configure fails on Apple Silicon

2021-04-19 Thread Keith Smiley
Keith Smiley added the comment: Thanks for checking, I was able to debug further and it turns out the actual issue is if you use `uname` from `coreutils`, you get different results: ``` % /opt/homebrew/opt/coreutils/libexec/gnubin/uname -p arm64 % /usr/bin/uname -p arm ``` I have this in my

[issue43878] ./configure fails on Apple Silicon

2021-04-19 Thread Ned Deily
Ned Deily added the comment: I'm unable to reproduce the failure you see using the current top of the master branch (or the 3.9 branch) when running ./configure on an M1 Mac with macOS 11.2.3 and Xcode 12.4. The results I see are: checking build system type... arm-apple-darwin20.3.0

[issue43882] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-04-19 Thread Mike Lissner
Change by Mike Lissner : -- nosy: +Mike.Lissner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43883] Making urlparse WHATWG conformant

2021-04-19 Thread Mike Lissner
Change by Mike Lissner : -- nosy: +Mike.Lissner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32951] Prohibit direct instantiation of SSLSocket and SSLObject

2021-04-19 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34391] test_ftplib is failing with TLS 1.3

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: I don't think there is anything left to do. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43811] Run GHA CI with multiple OpenSSL versions

2021-04-19 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: -Run GHA CI with multiple OpenSSL versions resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue42166] corrupted size vs. prev_size

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: Python 3.7 no longer receives regular updates. Please feel free to reopen the bug if you can reproduce the issue with a more recent Python and OpenSSL version. -- resolution: -> out of date stage: -> resolved status: open -> closed

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Steve Dower
Steve Dower added the comment: Python is a volunteer built project, so someone will need to volunteer to write the fix. Until there is a volunteer, there is no plan. (One of the core devs might volunteer, but there's no guarantee of that.) If we're going to launch cmd.exe, I'd prefer to

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: Josh, could you please rebase your branch and create a pull request? The PR process will verify that you have submitted a CLA. -- ___ Python tracker

[issue36011] ssl - tls verify on Windows fails

2021-04-19 Thread Tianon
Change by Tianon : -- nosy: +tianon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41556] hostname verification fails if hostname starts with literal IPv4

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: There is no progress on the OpenSSL bug yet. -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: Python 3.10 contains various improvements that make it easier to compile and link Python with a custom OpenSSL installation. You can find more information in ticket bpo-43466. -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue25460] Misc/.gdbinit uses preprocessor macro

2021-04-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 2.0 -> 3.0 pull_requests: +24199 pull_request: https://github.com/python/cpython/pull/25473 ___ Python tracker

[issue37666] urllib.requests.urlopen: deprecate cafile=None, capath=None, cadefault=False

2021-04-19 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> components: -SSL title: urllib.requests.urlopen doesn't support cadata= -> urllib.requests.urlopen: deprecate cafile=None, capath=None, cadefault=False versions: +Python 3.10 -Python 3.8, Python 3.9

[issue37120] Provide knobs to disable session ticket generation on TLS 1.3

2021-04-19 Thread Christian Heimes
Change by Christian Heimes : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue35422] misleading error message from ssl.get_server_certificate() when bad port

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: There is no easy fix for that. The TLS handskae is performed by OpenSSL internally. You could open a feature request with OpenSSL and ask them to implement better error detection and reporting. -- resolution: -> wont fix stage: -> resolved

[issue40432] Pegen regenerate project for Windows not working

2021-04-19 Thread Steve Dower
Steve Dower added the comment: That'll be a change to PCbuild/find_python.bat that needs to be backported then. It probably defaults to 3.7 in all branches right now, but since 3.9 is out we can update them all to that (it downloads on demand if necessary). --

[issue43866] Installation files of the Python

2021-04-19 Thread Steve Dower
Steve Dower added the comment: Yeah, it's a known limitation of the installer technology we're using. issue25166 is the same issue, so we'll track it there. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Windows AllUsers installation places

[issue36137] SSL verification fails for some sites inside windows docker container

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: I'm closing this issue as duplicate of #36137. There is no need to keep two issues open for the same problem. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> SSL verification fails for some sites inside

[issue34670] Add set_post_handshake_auth for TLS 1.3

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: I don't think is anything left to do here. PHA has been supported for a while and I haven't seen any problems. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

Re: Current thinking on required options

2021-04-19 Thread Dan Stromberg
On Mon, Apr 19, 2021 at 12:36 PM Grant Edwards wrote: > On 2021-04-19, Dan Stromberg wrote: > > On Mon, Apr 19, 2021 at 2:55 AM Loris Bennett < > loris.benn...@fu-berlin.de> wrote: > > > >> However, the options -o, -u, and -g are required, not optional. > >> > >> The documentation > >> > >>

[issue32813] SSL shared_ciphers implementation wrong - returns configured but not shared ciphers

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: 3.10 now supports only OpenSSL versions that return the correct value. Older Python versions may return wrong value when they are linked with OpenSSL 1.1.0 or 1.0.2. -- resolution: -> third party stage: -> resolved status: open -> closed

Re: do ya still use python?

2021-04-19 Thread Ethan Furman
On 4/19/21 11:22 AM, Unbreakable Disease wrote: [offensive drivel] List, my apologies -- not sure how that one got through. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

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

2021-04-19 Thread Ned Deily
Change by Ned Deily : -- nosy: +brett.cannon, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Ok. So are you planning to implement this fix? -- ___ Python tracker ___ ___ Python-bugs-list

[issue43885] ResourceWarning: unclosed test_pha_required_nocert

2021-04-19 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of bpo-37322 that I reported at 2019-06-17. -- ___ Python tracker ___ ___

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Eryk Sun
Eryk Sun added the comment: > But isn't calling CMD's VER command risky? A process can overwrite its > PEB OSMajorVersion, OSMinorVersion, and OSBuildNumber. As long as VER is executed without quotes, the shell will not search for an external command. CMD is not going to intentionally

[issue43880] 3.10 SSL module deprecations

2021-04-19 Thread Christian Heimes
Christian Heimes added the comment: I'm leaving the issue open as a reminder to improve whatsnew documentation. -- priority: high -> normal ___ Python tracker ___

Re: Current thinking on required options

2021-04-19 Thread Grant Edwards
On 2021-04-19, Dan Stromberg wrote: > On Mon, Apr 19, 2021 at 2:55 AM Loris Bennett > wrote: > >> However, the options -o, -u, and -g are required, not optional. >> >> The documentation >> >> https://docs.python.org/3/library/argparse.html#required >> >> advises against required options and

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-04-19 Thread Steve Dower
Steve Dower added the comment: Even better, one that doesn't crash but safely returns a value that can be checked. (IIRC, we have a test that does this to ensure that structs smaller than 9 bytes are passed on the stack.) Half C/half Python is fine - the C bits would go into _ctypes_test.c

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-19 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: SQLite 3.35.5 is out today. Let's wait until next weekend and see if fossil and forum is quiet. If they are, I'll open PRs for the installers. https://www.sqlite.org/releaselog/3_35_5.html -- title: Upgrade to SQLite 3.35.4 in macOS and

[issue43890] Deadlock when mixing event loops and subprocesses

2021-04-19 Thread Thomas Buhrmann
New submission from Thomas Buhrmann : When mixing code that spawns subprocesses with code that creates event loops, Python appears to deadlock. In the attached example, when WORKERS = 16 and ASYNC_WORKERS = 8, Python will sometimes (50% of the time?) deadlock, never exiting, with no

Re: do ya still use python?

2021-04-19 Thread Unbreakable Disease
On 19.04.2021 17:37, JWS wrote: On Monday, April 19, 2021 at 11:44:11 AM UTC-5, Unbreakable Disease wrote: almost no useful posts here for almost a year. is python dying? I can't tell what group you are referencing. comp.lang.python is still active. I'm doing a tkinter project now. Active

Re: Current thinking on required options

2021-04-19 Thread Chris Angelico
On Tue, Apr 20, 2021 at 4:18 AM Bill Campbell wrote: > > On Mon, Apr 19, 2021, Loris Bennett wrote: > >Hi, > > > >I have various small programs which tend to have an interface like the > >following example: > > > > usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g > > GROUP]

Re: Current thinking on required options

2021-04-19 Thread Bill Campbell
On Mon, Apr 19, 2021, Loris Bennett wrote: >Hi, > >I have various small programs which tend to have an interface like the >following example: > > usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g GROUP] I would do this with the action is first argument. Usage: grocli

Re: Current thinking on required options

2021-04-19 Thread Peter J. Holzer
On 2021-04-19 16:38:24 -, Jon Ribbens via Python-list wrote: > On 2021-04-19, Paul Bryan wrote: > > Calling them options—when they're required—seems like a problem.  > > The option is what the value is, not whether there is a value at all. > If you order a coffee then you may have an option

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-19 Thread Sunday
Change by Sunday : Added file: https://bugs.python.org/file49966/logs.gz ___ Python tracker ___ ___ Python-bugs-list mailing list

Re: Current thinking on required options

2021-04-19 Thread Jon Ribbens via Python-list
On 2021-04-19, Paul Bryan wrote: > Calling them options—when they're required—seems like a problem.  The option is what the value is, not whether there is a value at all. If you order a coffee then you may have an option as to what temperature it is, that doesn't mean the coffee having a

Re: Current thinking on required options

2021-04-19 Thread Dan Stromberg
I guess maybe it seems like a problem to someone who hasn't used command line tools much, based solely on a simplistic interpretation of the terminology. But strictly speaking, they're "command line options", or better "command line arguments", not "options". On Mon, Apr 19, 2021 at 9:30 AM Paul

Re: Current thinking on required options

2021-04-19 Thread Paul Bryan
Calling them options—when they're required—seems like a problem.  On Mon, 2021-04-19 at 09:04 -0700, Dan Stromberg wrote: > On Mon, Apr 19, 2021 at 2:55 AM Loris Bennett > > wrote: > > > However, the options -o, -u, and -g are required, not optional. > > > > The documentation > > > >  

[issue43837] Operator precedence documentation could be more clear

2021-04-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: * Changed the table order to match norms. * Not adding and for variables because that is outside the norm (likely because variables aren't operators). * Keeping the existing terminology which is standard and historically hasn't been a problem. Also the

Re: Current thinking on required options

2021-04-19 Thread Dan Stromberg
On Mon, Apr 19, 2021 at 2:55 AM Loris Bennett wrote: > However, the options -o, -u, and -g are required, not optional. > > The documentation > > https://docs.python.org/3/library/argparse.html#required > > advises against required options and here > > >

[issue43837] Operator precedence documentation could be more clear

2021-04-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 072ec69af592611f36349f5048569ab7e72b8b61 by Miss Islington (bot) in branch '3.9': bpo-43837: Reverse order of precedence table to show tightly binding operators first (GH-25469) (GH-25472)

[issue43889] Pickle performance regression in 3.10

2021-04-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43889] Pickle performance regression in 3.10

2021-04-19 Thread Ken Jin
Ken Jin added the comment: > It definitely shouldn't be related to any of these, all are unrelated code > paths. Yeah I thought so too :(. After looking at the benchmark code in pyperformance, I can't find anything related in the commits that would cause such a big difference. Hmmm...

[issue43889] Pickle performance regression in 3.10

2021-04-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: It definitely shouldn't be related to any of these, all are unrelated code paths. -- ___ Python tracker ___

[issue41370] PEP 585 and ForwardRef

2021-04-19 Thread wyz23x2
Change by wyz23x2 : -- nosy: -wyz23x2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43837] Operator precedence documentation could be more clear

2021-04-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +24198 pull_request: https://github.com/python/cpython/pull/25472 ___ Python tracker

[issue43837] Operator precedence documentation could be more clear

2021-04-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 68ba0c67cac10c2545ea3b62d8b161e5b3594edd by Ammar Askar in branch 'master': bpo-43837: Reverse order of precedence table to show tightly binding operators first (GH-25469)

Re: Current thinking on required options

2021-04-19 Thread Barry
> On 19 Apr 2021, at 10:57, Loris Bennett wrote: > > Hi, > > I have various small programs which tend to have an interface like the > following example: > > usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g GROUP] > > Command line grouper tool > > optional

[issue43889] Pickle performance regression in 3.10

2021-04-19 Thread Ken Jin
New submission from Ken Jin : Hi everyone, I noticed on speed.python.org that the pickle benchmarks are noticeably slower: Overall, pickle slowed down by >10% https://speed.python.org/timeline/?exe=12==pickle=1=200=off=on=on Pickling list and dict is also slower by >10%:

Re: Determine what the calling program is

2021-04-19 Thread Barry Scott
> On 18 Apr 2021, at 14:46, Jason Friedman wrote: > > I should state at the start that I have a solution to my problem. I am > writing to see if there is a better solution. > > I have a program that runs via crontab every five minutes. It polls a > Box.com folder for files and, if any are

[issue43884] Cannot cleanly kill a subprocess using high-level asyncio APIs

2021-04-19 Thread Ronal Abraham
Ronal Abraham added the comment: I see this on MacOS and Linux, but I suspect any Unix-like system would have the same behavior. -- ___ Python tracker ___

[issue26779] pdb continue followed by an exception in the same frame shows incorrect frame linenumber

2021-04-19 Thread Romuald Brunet
Romuald Brunet added the comment: I meant: this issue is fixed in 3.10 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26779] pdb continue followed by an exception in the same frame shows incorrect frame linenumber

2021-04-19 Thread Romuald Brunet
Romuald Brunet added the comment: Ran into a similar issue today This issue (and mine is fixed) in python 3.10. Most probaly related to #24565 fix -- nosy: +Romuald versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue43887] it seems that sorted built-in always return floats before int if they appear to be equal

2021-04-19 Thread John Mish
John Mish added the comment: Thanks, I should go deeper with it before filing. Wish You have great day Steven. -- ___ Python tracker ___

[issue43887] it seems that sorted built-in always return floats before int if they appear to be equal

2021-04-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi John, you said: > it seems that sorted built-in always return floats before int if they appear > to be equal But that's not correct: >>> sorted([5.0, 5]) [5.0, 5] >>> sorted([5, 5.0]) [5, 5.0] Python's sort is *stable*, which means that the order of

EuroPython 2021: Ticket sales started

2021-04-19 Thread M.-A. Lemburg
We're pleased to announce the start of the EuroPython 2021 ticket sales: * EuroPython 2021 Ticket Sales Open * https://ep2021.europython.eu/registration/buy-tickets/ Updated ticket structure For EuroPython 2021, we'll have more than 10 training

EuroPython 2021: Ticket sales started

2021-04-19 Thread M.-A. Lemburg
We're pleased to announce the start of the EuroPython 2021 ticket sales: * EuroPython 2021 Ticket Sales Open * https://ep2021.europython.eu/registration/buy-tickets/ Updated ticket structure For EuroPython 2021, we'll have more than 10 training

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

2021-04-19 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- keywords: +patch pull_requests: +24196 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25471 ___ Python tracker

Re: Current thinking on required options

2021-04-19 Thread Loris Bennett
Gisle Vanem writes: > Loris Bennett wrote: > >>usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g >> GROUP] >> >>Command line grouper tool >> >>optional arguments: >> -h, --helpshow this help message and exit >> -o {check,add,delete},

[issue40849] Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag

2021-04-19 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40849] Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag

2021-04-19 Thread miss-islington
miss-islington added the comment: New changeset 64d975202f7a91cb8c61a050fafb4e934fcbaa4e by l0x in branch 'master': bpo-40849: Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag (GH-20463) https://github.com/python/cpython/commit/64d975202f7a91cb8c61a050fafb4e934fcbaa4e -- nosy:

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

2021-04-19 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- type: crash -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-04-19 Thread Sviatoslav Sydorenko
New submission from Sviatoslav Sydorenko : I noticed that https://github.com/python/cpython/runs/2378199636 (a coverage job on the last commit on master at the time of writing) takes suspiciously long to complete. I did some investigation and noticed that this job on the 3.9 branch succeeds

[issue43887] it seems that sorted built-in always return floats before int if they appear to be equal

2021-04-19 Thread John Mish
New submission from John Mish : A1 >>> sorted([12.001, 2, 1.999, 2.1, 4, 12]) [1.999, 2, 2.1, 4, 12, 12.002] A2 >>> sorted([12.0001, 2, 1.999, 2.1, 4, 12]) [1.999, 2, 2.1, 4, 12.0, 12] B1 >>> sorted([11.999, 2, 1.999, 2.1, 4, 12]) [1.999, 2, 2.1,

Re: Current thinking on required options

2021-04-19 Thread Peter Otten
On 19/04/2021 11:52, Loris Bennett wrote: Hi, I have various small programs which tend to have an interface like the following example: usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g GROUP] Command line grouper tool optional arguments: -h, --help

Re: Current thinking on required options

2021-04-19 Thread Gisle Vanem
Loris Bennett wrote: usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g GROUP] Command line grouper tool optional arguments: -h, --helpshow this help message and exit -o {check,add,delete}, --operation {check,add,delete}

Current thinking on required options

2021-04-19 Thread Loris Bennett
Hi, I have various small programs which tend to have an interface like the following example: usage: grocli [-h] [-o {check,add,delete}] [-u USERS [USERS ...]] [-g GROUP] Command line grouper tool optional arguments: -h, --helpshow this help message and exit -o

[issue43886] Extending/embedding Python documentation outdated/incomplete

2021-04-19 Thread Federico Pellegrin
Federico Pellegrin added the comment: Just a small addition: Specifically in the documentation it talks about embedding: " It is not necessarily trivial to find the right flags to pass to your compiler (and linker) in order to embed the Python interpreter into your application,

[issue43886] Extending/embedding Python documentation outdated/incomplete

2021-04-19 Thread Federico Pellegrin
New submission from Federico Pellegrin : Hello, We had lately some issues with various possible variants of compilation (static vs dynamic) with reference to both embedding and extending Python. There are a bunch of tickets on the topic (ie. #21536 or #34309) but I guess one important point

  1   2   >