[issue43737] Documentation of modulo operator should document behaviour clearly when second operator is negative

2021-04-09 Thread Miki Tebeka
Miki Tebeka added the comment: I agree with Raymond, this is not "beginner friendly". I've been using Python for 25 year and teaching it for about 10 and this topic never came up. -- nosy: +tebeka ___ Python tracker

[issue43784] starting a thread in __del__ hangs at interpreter shutdown

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

[issue43790] CLA check fails with a 500 error

2021-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mariatta, do you know who to refer this to? -- nosy: +Mariatta, rhettinger ___ Python tracker ___

[issue43761] Documenting dataclass and namedtuple changes for structural pattern matching

2021-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: For named tuples, there isn't an include/exclude option, so no extra mention is warranted. -- nosy: +rhettinger ___ Python tracker ___

[issue43737] Documentation of modulo operator should document behaviour clearly when second operator is negative

2021-04-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Negative modulo divisors is not a "beginner friendly" topic or even remotely relevant to most users. It is also trivially discoverable with a few seconds of experimentation at the interactive prompt. FWIW, I've read dozens of Python tutorials and don't

[issue43478] Disallow Mock spec arguments from being Mocks

2021-04-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset dccdc500f9b5dab0a20407ae0178d393796a8828 by Matthew Suozzo in branch 'master': bpo-43478: Restrict use of Mock objects as specs (GH-25326) https://github.com/python/cpython/commit/dccdc500f9b5dab0a20407ae0178d393796a8828 --

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2021-04-09 Thread Matthew Suozzo
Matthew Suozzo added the comment: I don't think this was actually fixed for the create_autospec case. create_autospec still uses the only is_async_func check to enable use of AsyncMock and that still does a __code__ check. There was a test submitted to check this case but the test itself

[issue43796] "install" package on PyPI

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: And maybe discuss with pip people why 'pip install pip install zyx' is not caught as an error. -- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue43792] Cython is not compatible with Python 3.10 yet: "SystemError: bad argument to internal function"

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this issue propose a patch to python/cpython? If not, it should be closed (and should have been posted to pydev list). -- nosy: +terry.reedy ___ Python tracker

[issue43714] re.findall: '\Z' must consume end of string if it matched

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python regexes match slices of a Python string s. The latter include the len(s)+1 empty slices of s. An re Match gives both the slice itself as match attribute and its slice coordinates (span) in the searched string.

[issue43761] Documenting dataclass and namedtuple changes for structural pattern matching

2021-04-09 Thread Brandt Bucher
Brandt Bucher added the comment: If we end up adding a “match_args=False” option to the dataclass decorator (issue 43764), then the docs for that option would probably be sufficient for this purpose. I’m imagining something like the docs for the “init” option, just substituting

[issue43478] Disallow Mock spec arguments from being Mocks

2021-04-09 Thread Matthew Suozzo
Change by Matthew Suozzo : -- keywords: +patch nosy: +matthew.suozzo nosy_count: 7.0 -> 8.0 pull_requests: +24061 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25326 ___ Python tracker

[issue40701] tempfile mixes str and bytes in an inconsistent manner

2021-04-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed for 3.10. Marking as a release blocker for 3.9 and assigning for a release manager decision on if they accept this change (the PR) as a bugfix in 3.9 or not. (see the PR) It is late enough in 3.8's lifetime I wouldn't touch that one. --

[issue43770] Rework C types initialization

2021-04-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24060 pull_request: https://github.com/python/cpython/pull/25325 ___ Python tracker ___

[issue38263] [Windows] multiprocessing: DupHandle.detach() race condition on DuplicateHandle(DUPLICATE_CLOSE_SOURCE)

2021-04-09 Thread Leonardo Rick
Leonardo Rick added the comment: Traceback (most recent call last): File "", line 1, in File "C:\Program Files\Python39\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Program Files\Python39\lib\multiprocessing\spawn.py", line

[issue43764] Turning off generation of __match_args__ for dataclasses

2021-04-09 Thread Eric V. Smith
Eric V. Smith added the comment: Hmm, good point on the inheritance case. I'd forgotten that this is where init=False and others would come in handy. Although I'm having a hard time figuring out why you'd want a derived class that adds fields but wants to use the parent's __match_args__ (or

[issue43764] Turning off generation of __match_args__ for dataclasses

2021-04-09 Thread Brandt Bucher
Brandt Bucher added the comment: I just realized that in my first two examples, all that's really needed is a "del Child.__match_args__" following each class definition. The main point still stands though: this may be a more common issue than I previously thought. If it is, then a dedicated

[issue43764] Turning off generation of __match_args__ for dataclasses

2021-04-09 Thread Brandt Bucher
Brandt Bucher added the comment: > init=False is used to make sure there's no __init__ defined, because there's > a difference between a class with an __init__ and one without. If there was a > difference between __match_args__ being not present and __match_args__=(), > then I'd support a

[issue43761] Documenting dataclass and namedtuple changes for structural pattern matching

2021-04-09 Thread Eric V. Smith
Eric V. Smith added the comment: I do think it's worth mentioning that __match_args__ is automatically generated by @dataclass (if the class doesn't already define __match_args__). That seems like behavior that's very specific to @dataclass. Where else would you find out that defining your

[issue43764] Turning off generation of __match_args__ for dataclasses

2021-04-09 Thread Eric V. Smith
Eric V. Smith added the comment: init=False is used to make sure there's no __init__ defined, because there's a difference between a class with an __init__ and one without. If there was a difference between __match_args__ being not present and __match_args__=(), then I'd support a

[issue43798] Add position metadata to alias AST type

2021-04-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Ah and one other question: Is this normally the sort of thing that would get > backported? It should be very straightforward to do so, at least for 3.9 > given the support for the new parser. Unfortunately no, is technically a new feature.

[issue43761] Documenting dataclass and namedtuple changes for structural pattern matching

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

[issue43761] Documenting dataclass and namedtuple changes for structural pattern matching

2021-04-09 Thread Adrian Freund
Adrian Freund added the comment: I agree that __match_args__ shouldn't have to be added to the documentation of any class that supports it, however dataclass and (maybe to a lesser extend) NamedTuple aren't themselves classes, but aid in creating own classes. Their effects on classes

[issue43798] Add position metadata to alias AST type

2021-04-09 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I'm okay with this, unless someone has any input on why the alias node should not have line/column info (and did not have it in the first place). -- nosy: +BTaskaya, gvanrossum, lys.nikolaou, pablogsal ___

[issue43764] Turning off generation of __match_args__ for dataclasses

2021-04-09 Thread Adrian Freund
Adrian Freund added the comment: > I assume the OP wants to have a class that doesn't allow positional patterns. > The right way to spell that is indeed to add > >__match_args__ = () > >to the class, there's no need to add another flag to @dataclass. The same however is also true for all

[issue43798] Add position metadata to alias AST type

2021-04-09 Thread Matthew Suozzo
Matthew Suozzo added the comment: Ah and one other question: Is this normally the sort of thing that would get backported? It should be very straightforward to do so, at least for 3.9 given the support for the new parser. -- versions: -Python 3.6, Python 3.7, Python 3.8

[issue43798] Add position metadata to alias AST type

2021-04-09 Thread Matthew Suozzo
Change by Matthew Suozzo : -- keywords: +patch pull_requests: +24059 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25324 ___ Python tracker ___

[issue43708] Tkinter theme settings object schema is missing

2021-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: You code as posted is buggy. 'settings' maps styles to dicts with possible keys ‘configure’, ‘map’, ‘layout’ and ‘element create’. See https://docs.python.org/3/library/tkinter.ttk.html#tkinter.ttk.Style.theme_create I presume '.' refers to all styles, but

[issue43105] [Windows] Can't import extension modules resolved via relative paths in sys.path

2021-04-09 Thread Steve Dower
Steve Dower added the comment: New changeset eed7686e9fe22a3eb5e1a1fc7d27c27fca070bd1 by Steve Dower in branch '3.8': bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121)

[issue43725] Create a release branch ABI stability regression test

2021-04-09 Thread Steve Dower
Steve Dower added the comment: Oh wow, that's terrible... yet another good reason not to export data values. But yeah, filtering on the name prefix should be fine. These aren't meant to be publicly accessible anyway. -- ___ Python tracker

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue40107] pathlib: make `_Accessor.open()` return a file object and not a file descriptor

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker ___

[issue43725] Create a release branch ABI stability regression test

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

[issue43725] Create a release branch ABI stability regression test

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

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-09 Thread Steve Dower
Steve Dower added the comment: New changeset ba1db571987c65672d9c06789e9852313ed2412a by Barney Gale in branch 'master': bpo-39899: Don't double-check directory name if we're requesting the current user's home directory in ntpath.expanduser() (GH-25277)

[issue43725] Create a release branch ABI stability regression test

2021-04-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Is there an option to exclude array lengths? Or to treat the API as just a > pointer rather than an array? Technically is not a false positive:

[issue40107] pathlib: make `_Accessor.open()` return a file object and not a file descriptor

2021-04-09 Thread Steve Dower
Steve Dower added the comment: New changeset 11c3bd3f6d06649484b81a659c7bf02d6632e607 by Barney Gale in branch 'master': bpo-40107: Switch to using io.open() for pathlib.Path.open() (GH-25240) https://github.com/python/cpython/commit/11c3bd3f6d06649484b81a659c7bf02d6632e607 --

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread miss-islington
miss-islington added the comment: New changeset 7c8796a750fb108be99e0bc50ca3dba000d77e54 by Miss Islington (bot) in branch '3.9': bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319) https://github.com/python/cpython/commit/7c8796a750fb108be99e0bc50ca3dba000d77e54

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

2021-04-09 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: If there is enough interest, I'd like to propose to this before the beta cut -- ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread miss-islington
miss-islington added the comment: New changeset ffb05bbb30fa82dbe887981bdabd65af7daffcd1 by Miss Islington (bot) in branch '3.8': bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319) https://github.com/python/cpython/commit/ffb05bbb30fa82dbe887981bdabd65af7daffcd1

[issue43798] Add position metadata to alias AST type

2021-04-09 Thread Matthew Suozzo
New submission from Matthew Suozzo : Given the increasing use of long `from typing import foo, bar, ...` import sequences, it's becoming more desirable to address individual components of the import node. Unfortunately, the ast.alias node doesn't contain source location metadata (e.g.

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +24056 pull_request: https://github.com/python/cpython/pull/25321 ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +24055 pull_request: https://github.com/python/cpython/pull/25320 ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 2d7fdc90731e132f9d6b43852ee112f25831394b by Christian Heimes in branch 'master': bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319) https://github.com/python/cpython/commit/2d7fdc90731e132f9d6b43852ee112f25831394b

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24054 pull_request: https://github.com/python/cpython/pull/25319 ___ Python tracker ___

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

2021-04-09 Thread Saiyang Gou
Saiyang Gou added the comment: I think we can just skip evaluating annotations for complex targets when in module or class scope (they are not stored anyway). The point of PEP 563 is to suppress any evaluation of annotations (regardless of position) at definition time, while type checkers

[issue43725] Create a release branch ABI stability regression test

2021-04-09 Thread Steve Dower
Steve Dower added the comment: I got a false positive on my PR at https://github.com/python/cpython/pull/25318/checks?check_run_id=2308871807 1 Changed variable: [C]'const unsigned char[45154] const _Py_M__importlib_bootstrap_external' was changed to 'const unsigned char[43681] const

[issue43797] Improve syntax error for invalid comparisons

2021-04-09 Thread Andre Roberge
Change by Andre Roberge : -- nosy: +aroberge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43105] [Windows] Can't import extension modules resolved via relative paths in sys.path

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24053 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/25318 ___ Python tracker ___

[issue43797] Improve syntax error for invalid comparisons

2021-04-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +24052 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25317 ___ Python tracker

[issue43797] Improve syntax error for invalid comparisons

2021-04-09 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Improve syntax error for invalid comparisons such as: >>> if x = 3: File "", line 1 if x = 3: ^ SyntaxError: invalid syntax to print: >>> if x = 3: File "", line 1 if x = 3: ^ SyntaxError: cannot assign to name. Maybe

Re: python text://protocol client?

2021-04-09 Thread Petite Abeille
> On Apr 9, 2021, at 20:34, Mats Wichmann wrote: > > seems to be part of "multiformats" work, Multiformats, yes! https://multiformats.io Specifically, multiaddr in this case: https://github.com/multiformats/multiaddr + service discovery:

Re: python text://protocol client?

2021-04-09 Thread Mats Wichmann
On 4/9/21 11:08 AM, Eli the Bearded wrote: In comp.lang.python, Petite Abeille wrote: Would you know of any python text://protocol client? Or server? The whole thing was started (judging by git commits) about a month ago. https://github.com/textprotocol?tab=overview=2021-03-01=2021-03-31

[issue43784] starting a thread in __del__ hangs at interpreter shutdown

2021-04-09 Thread Kevin M
Kevin M added the comment: eryksun, wow, that's speedy analysis, but there might be more to it. I went and tested a bunch of test cases. my subrocess code doesn't seem to hang on Linux where the thread example code does? Linux - Python 3.6.8 - your threading example DOESN'T hang Linux -

Re: python text://protocol client?

2021-04-09 Thread Petite Abeille
> On Apr 9, 2021, at 19:08, Eli the Bearded <*@eli.users.panix.com> wrote: > > The Lua code is not long, under 2k LOC. Shortish indeed. Wonder how much python code that would translates into. To be found out. -- https://mail.python.org/mailman/listinfo/python-list

[issue43749] venv module does not copy the correct python exe

2021-04-09 Thread Ned Deily
Change by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43790] CLA check fails with a 500 error

2021-04-09 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I believe that maybe the Heroku server, the CLA Checking tool is deployed to, is facing an internal server problem or the server is down. -- ___ Python tracker

[issue43790] CLA check fails with a 500 error

2021-04-09 Thread Bob Kline
Bob Kline added the comment: Apparently, it doesn't fail when you enter a name for which it can't find a b.p.o. account. So it knows how to say "beelzebub does not have bpo account" but fails when I put in "bkline" in the GitHub username field. It's tempting to suspect that the 500 error

[issue40485] Provide an abstraction for a select-able Event

2021-04-09 Thread Faidon Liambotis
Faidon Liambotis added the comment: Not sure if I understand the question! I'd like to see that happen, I don't particularly care if it makes to 3.10 or a later version, although of course the earlier the better :) As an idea of a path forward, would it make sense to take the code above and

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24051 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25316 ___ Python tracker ___

[issue37609] support "UNC" device paths in ntpath.splitdrive

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- assignee: steve.dower -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24959] unittest swallows part of stack trace when raising AssertionError in a TestCase

2021-04-09 Thread David Mandelberg
Change by David Mandelberg : -- nosy: +dseomn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43796] "install" package on PyPI

2021-04-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been discussed : https://github.com/pypa/pypi-support/issues/451 -- nosy: +xtreak ___ Python tracker ___

[issue43779] Fix possible parser/AST ref leaks

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

[issue43779] Fix possible parser/AST ref leaks

2021-04-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 76d270ec2b776cc5331935cc58c2d63622f1c0e9 by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-43779: Fix possible refleak involving _PyArena_AddPyObject (GH-25289). (GH-25294)

[issue43796] "install" package on PyPI

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: BPO is just for CPython bugs. Packaging and PyPI are handled by different teams and trackers. Please use https://github.com/pypa/pypi-support -- nosy: +christian.heimes ___ Python tracker

[issue40485] Provide an abstraction for a select-able Event

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: Do you want to work on a feature for 3.10? Feature freeze is in less than 4 weeks. -- components: +Library (Lib) -Extension Modules stage: -> needs patch ___ Python tracker

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: Miro, I have pushed several fixes for OpenSSL 3.0.0 * bpo-43788 addresses wrong library and error reason codes (e.g. KRB5_S_TKT_NYV) * bpo-43789 fixes an issue with exception state in password callbacks (_PyEval_EvalFrameDefault returned a result with an

Re: python text://protocol client?

2021-04-09 Thread Eli the Bearded
In comp.lang.python, Petite Abeille wrote: > Would you know of any python text://protocol client? Or server? The whole thing was started (judging by git commits) about a month ago. https://github.com/textprotocol?tab=overview=2021-03-01=2021-03-31 March 7: First repository I suspect no

[issue43790] CLA check fails with a 500 error

2021-04-09 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I agree with you. I've faced the same problem. The server sometimes fails with a 500 error and sometimes it works fine. I'm attaching a screenshot of the problem. -- nosy: +shreyanavigyan Added file: https://bugs.python.org/file49951/Server Error

[issue43737] Documentation of modulo operator should document behaviour clearly when second operator is negative

2021-04-09 Thread Anthony Flury
Anthony Flury added the comment: I fundamentally disagree with closing this - I know that this and many other 'quirks' catch beginners out, and the tutorial is what they use to learn.They don't look in the reference document - it is too dense in BNF definitions which turns a lot of people

[issue43796] "install" package on PyPI

2021-04-09 Thread Jared Ondricek
New submission from Jared Ondricek : I recently accidentally typed "pip install pip install " and it installed a package called "install" that has 1 star on GitHub. It is also in use by 2.3k repositories according to the GitHub dependency graph view. I don't think it's malicious, but it does

[issue43788] OpenSSL 3.0.0: Make ssl_data.h version specific

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 70f2ca7ea46ac15d05c7b422a10b18aa3fe4a140 by Christian Heimes in branch '3.8': [3.8] bpo-43788: Generate version specific _ssl_data.h (GH-25300) (GH-25311) https://github.com/python/cpython/commit/70f2ca7ea46ac15d05c7b422a10b18aa3fe4a140

[issue43788] OpenSSL 3.0.0: Make ssl_data.h version specific

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 299ae9c7a2a169d54921815b9bb41a8f9277a3aa by Christian Heimes in branch '3.9': [3.9] bpo-43788: Generate version specific _ssl_data.h (GH-25300) (GH-25310) https://github.com/python/cpython/commit/299ae9c7a2a169d54921815b9bb41a8f9277a3aa

[issue40485] Provide an abstraction for a select-able Event

2021-04-09 Thread Faidon Liambotis
Faidon Liambotis added the comment: I missed that there is now also an os.eventfd_{write,read}(), so in the above os.write(self._event_fd, self._ONE) can become os.eventfd_write(self._event_fd, 1) and: os.read(self._event_fd, 8) can become: os.eventfd_read(self._event_fd)

[issue43794] OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF

2021-04-09 Thread miss-islington
miss-islington added the comment: New changeset 54d89a33e0d1b854fd5a72889d6554aeeb4170f0 by Miss Islington (bot) in branch '3.9': bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309) https://github.com/python/cpython/commit/54d89a33e0d1b854fd5a72889d6554aeeb4170f0

[issue43794] OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF

2021-04-09 Thread miss-islington
miss-islington added the comment: New changeset e18ebd9ec546a3647a57c282735350f60a26d66d by Miss Islington (bot) in branch '3.8': bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309) https://github.com/python/cpython/commit/e18ebd9ec546a3647a57c282735350f60a26d66d

[issue43747] Can't create new interpreter in multi thread

2021-04-09 Thread Samuel Thibault
Samuel Thibault added the comment: I don't see how to reopen this, we'd probably want to mark it as a duplicate of the newly-opened https://bugs.python.org/issue43793 , see https://mail.python.org/archives/list/capi-...@python.org/thread/7FI6V2KFBFZIXC6LZLKHY4Z7TUJ6YWTX/ --

[issue43793] [C API] Py_NewInterpreter() cannot be called from a thread which has no Python thread state

2021-04-09 Thread Samuel Thibault
Change by Samuel Thibault : -- nosy: +samuel-thibault ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-09 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +24050 pull_request: https://github.com/python/cpython/pull/25315 ___ Python tracker ___

[issue43794] OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF

2021-04-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +24049 pull_request: https://github.com/python/cpython/pull/25314 ___ Python tracker ___

[issue43794] OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6f37ebc61e9e0d13bcb1a2ddb7fc9723c04b6372 by Christian Heimes in branch 'master': bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309) https://github.com/python/cpython/commit/6f37ebc61e9e0d13bcb1a2ddb7fc9723c04b6372

[issue43794] OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF

2021-04-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +24048 pull_request: https://github.com/python/cpython/pull/25313 ___ Python tracker

Re: Problem in uninstalling python

2021-04-09 Thread Igor Korot
Hi, On Fri, Apr 9, 2021 at 10:35 AM Paul Bryan wrote: > > Please describe your problem in detail. > > Paul > > > On Fri, 2021-04-09 at 11:03 +0530, arishmallick...@gmail.com wrote: > >I am encountering problem in uninstalling python. Please help me > > in this. I presume you tried to send a

[issue43682] Make static methods created by @staticmethod callable

2021-04-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 507a574de31a1bd7fed8ba4f04afa285d985109b by Victor Stinner in branch 'master': bpo-43682: @staticmethod inherits attributes (GH-25268) https://github.com/python/cpython/commit/507a574de31a1bd7fed8ba4f04afa285d985109b --

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-09 Thread Petr Viktorin
Change by Petr Viktorin : -- keywords: +patch pull_requests: +24047 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25312 ___ Python tracker ___

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-09 Thread Petr Viktorin
New submission from Petr Viktorin : This issue tracks implementation of PEP 652. CPython's Limited C-API and Stable ABI, introduced in PEP 384, will be formalized in a single definitive file, tested, and documented. -- messages: 390638 nosy: petr.viktorin priority: normal severity:

Re: Problem in uninstalling python

2021-04-09 Thread Paul Bryan
Please describe your problem in detail. Paul On Fri, 2021-04-09 at 11:03 +0530, arishmallick...@gmail.com wrote: >    I am encountering problem in uninstalling python. Please help me > in this. > > > >    Sent from [1]Mail for Windows 10 > > > > References > >    Visible links >    1.

Problem in uninstalling python

2021-04-09 Thread arishmallick...@gmail.com
I am encountering problem in uninstalling python. Please help me in this. Sent from [1]Mail for Windows 10 References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/mailman/listinfo/python-list

Re: pandas/jupyther notebook?

2021-04-09 Thread Jim Byrnes
On 4/9/21 3:29 AM, Thomas Jollans wrote: On 07/04/2021 23:32, Jim Byrnes wrote: linux mint 20 python 3.8 jupyter 1.0.0 jedi 0.18.0 I am teaching myself pandas/jupyter notebooks. The problem I am having is tab autocomplete seems to be working erratically. Googling shows that most people

Hypertag. New language for HTML templating /w Django support

2021-04-09 Thread Marcin
Hypertag (http://hypertag.io/ ) is a new language for document generation and HTML templating that has been released recently. Inspired by indentation-based template languages (Slim, Haml, Shpaml), it provides clean, readable syntax, and multiple original features: native custom tags,

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-04-09 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF, OpenSSL 3.0.0: Make ssl_data.h version specific ___ Python tracker

[issue43788] OpenSSL 3.0.0: Make ssl_data.h version specific

2021-04-09 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: Make ssl_data.h version specific -> OpenSSL 3.0.0: Make ssl_data.h version specific ___ Python tracker

[issue43788] Make ssl_data.h version specific

2021-04-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24046 pull_request: https://github.com/python/cpython/pull/25311 ___ Python tracker ___

[issue43626] SIGSEV in PyErr_SetObject

2021-04-09 Thread Shane Harvey
Shane Harvey added the comment: This issue was resolved in https://jira.mongodb.org/browse/PYTHON-2621 The cause of the segfault was determined to be gevent 1.3.4 (2018) and/or greenlet 0.4.13 (2018). When the reporter upgraded to gevent==21.1.2 and greenlet==1.0 the segfault went away.

[issue43788] Make ssl_data.h version specific

2021-04-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24045 pull_request: https://github.com/python/cpython/pull/25310 ___ Python tracker ___

[issue43788] Make ssl_data.h version specific

2021-04-09 Thread miss-islington
miss-islington added the comment: New changeset 150af7543214e1541fa582374502ac1cd70e8eb4 by Christian Heimes in branch 'master': bpo-43788: Generate version specific _ssl_data.h (GH-25300) https://github.com/python/cpython/commit/150af7543214e1541fa582374502ac1cd70e8eb4 -- nosy:

python text://protocol client?

2021-04-09 Thread Petite Abeille
Hello, Would you know of any python text://protocol client? Or server? Thanks in advance. [1] https://textprotocol.org [2] https://github.com/textprotocol/public [3] https://github.com/textprotocol/publictext -- https://mail.python.org/mailman/listinfo/python-list

[issue40485] Provide an abstraction for a select-able Event

2021-04-09 Thread Faidon Liambotis
Faidon Liambotis added the comment: Thanks so much for all the work on os.eventfd(), it's exciting to see it come to fruition. An eventfd variant of Event (compatible with the threading & multiprocessing APIs) is now as simple as: class Event: _ONE = (1).to_bytes(8,

[issue43789] OpenSSL 3.0.0: password callback called multiple times

2021-04-09 Thread Christian Heimes
Christian Heimes added the comment: I'm keeping the bug open as a reminder to investigate the change of behavior more carefully. -- ___ Python tracker ___

  1   2   >