[issue35928] socket makefile read-write discards received data

2020-10-03 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz nosy_count: 5.0 -> 6.0 pull_requests: +21538 pull_request: https://github.com/python/cpython/pull/22535 ___ Python tracker ___

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2020-10-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mark, why did this get merged with is_integer() still in the numeric tower? I thought we had agreed not to do that. -- ___ Python tracker

[issue41909] Segfault on __getattr__ infinite recursion on certain attribute accesses

2020-10-03 Thread Debojyoti Chakraborty
Debojyoti Chakraborty added the comment: Is it open Then give the process to reproduce the issue. -- nosy: +sparkingdark ___ Python tracker ___

[issue41925] Lowercase path to python.exe in pip.exe from venv is throwing error

2020-10-03 Thread Eryk Sun
Eryk Sun added the comment: > "C:\Users\chris\code\project\myenv\Scripts\python.exe" Have you tried different case combinations for "Users" and "Scripts"? * C:\users\chris\code\project\myenv\scripts\python.exe * C:\users\chris\code\project\myenv\Scripts\python.exe *

[issue41925] Lowercase path to python.exe in pip.exe from venv is throwing error

2020-10-03 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg377918 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41925] Lowercase path to python.exe in pip.exe from venv is throwing error

2020-10-03 Thread Eryk Sun
Eryk Sun added the comment: > "C:\Users\chris\code\project\myenv\Scripts\pip.exe" Have you tried different case combinations for "Users" and "Scripts"? * C:\users\chris\code\project\myenv\scripts\pip.exe * C:\users\chris\code\project\myenv\Scripts\pip.exe *

[issue41925] Lowercase path to python.exe in pip.exe from venv is throwing error

2020-10-03 Thread Chris Tse
Chris Tse added the comment: UPDATE: After some further investigation, it seems like even on cmd and seeing the (myenv) indicator, it actually seems to be falling back to system pip and installing packages globally. Running `.\myenv\Scripts\pip.exe` actually throws that same error. CMD

[issue41925] Lowercase path to python.exe in pip.exe from venv is throwing error

2020-10-03 Thread Chris Tse
New submission from Chris Tse : Following up on https://bugs.python.org/issue37369 as it was advised to open a new issue regarding case sensitivity. I am on Windows 10 running Version 10.0.19041 Build 19041. I am experiencing the same problem in that issue when using venv on Powershell. The

[issue41925] Lowercase path to python.exe in pip.exe from venv is throwing error

2020-10-03 Thread Chris Tse
Change by Chris Tse : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Yes, we could override ABCMeta.__setattr__ to do that. Though it seems this class is considered performance sensitive (else why have Modules/_abc.c) we would probably have to write it in C.-- --Guido (mobile) --

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: > you're effectively proposing to compute (or update) > __abstractmethods__ lazily. Would it be possible to do the update whenever the class dictionary is modified, in PyType_Modified() perhaps (using logic similar to __mro__ updates__)? I not pushing

[issue41924] TextWrap's wrap method throws unhelpful error on bytes object

2020-10-03 Thread ThePokestarFan
ThePokestarFan added the comment: You're most likely right, so I'll close it. The lesson is most likely to not use weird arguments, but modules such as datetime warn against it, so I was surprised. -- ___ Python tracker

[issue41924] TextWrap's wrap method throws unhelpful error on bytes object

2020-10-03 Thread ThePokestarFan
Change by ThePokestarFan : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue41924] TextWrap's wrap method throws unhelpful error on bytes object

2020-10-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: It's not textwrap that's doing it, which is why the error is so unhelpful; the input is assumed to be a str, and the translate method is called on it with a dict argument, which is valid for str.translate, but not for bytes.translate. You'll get other

[issue41924] TextWrap's wrap method throws unhelpful error on bytes object

2020-10-03 Thread ThePokestarFan
Change by ThePokestarFan : -- keywords: +patch pull_requests: +21537 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22534 ___ Python tracker ___

[issue41887] ast.literal_eval does not accept strings with leading whitespaces

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Closing. Let’s not backport. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41924] TextWrap's wrap method throws unhelpful error on bytes object

2020-10-03 Thread ThePokestarFan
New submission from ThePokestarFan : The wrap() method of the TextWrapper class (and the module-level wrap method) throws an unhelpful TypeError upon getting a bytes object. -- components: Library (Lib) files: traceback.txt messages: 377910 nosy: ThePokestarFan priority: normal

[issue41887] ast.literal_eval does not accept strings with leading whitespaces

2020-10-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +21536 pull_request: https://github.com/python/cpython/pull/22533 ___ Python tracker

[issue41887] ast.literal_eval does not accept strings with leading whitespaces

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset e799aa8b92c195735f379940acd9925961ad04ec by Batuhan Taskaya in branch 'master': bpo-41887: omit leading spaces/tabs on ast.literal_eval (#22469) https://github.com/python/cpython/commit/e799aa8b92c195735f379940acd9925961ad04ec --

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, you're effectively proposing to compute (or update) __abstractmethods__ lazily. There are a number of subtleties with that, e.g. __abstractmethods__ is currently a frozenset, and a base class's __abstractmethods__ is used when computing the

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-10-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: Guido, can the method update be made automatic? When instantiation fails, recheck to see the missing abstract methods had been defined? >>> from abc import * >>> class P(ABC): @abstractmethod def m(self):

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Leonard, Any number which has only fixed precision will experience similar issues. It might affect different calculations. In Python, float, complex and Decimal have fixed precision, so they can experience this issue. But for simple calculations,

[issue41909] Segfault on __getattr__ infinite recursion on certain attribute accesses

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: I don't think I remember what's so special about abstract_get_bases() to disable the recursion check. Maybe this macro is always just a micro-optimization? Then again it's hard to be sure, the behavior may depend on the platform. Pulling in Antoine, who

[issue41923] Add PEP 613 typing.TypeAlias to the standard library

2020-10-03 Thread Mikhail Golubev
Change by Mikhail Golubev : -- keywords: +patch nosy: +east825 nosy_count: 3.0 -> 4.0 pull_requests: +21535 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22532 ___ Python tracker

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-10-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fd22823991380de2a309221748fc41cf0ba6ed40 by Pablo Galindo in branch '3.8': [3.8] bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391). (GH-22529)

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-10-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-10-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7b7aa94e51a396365df41f86b7b64a3b74481a6c by Pablo Galindo in branch '3.9': [3.9] bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391). (GH-22528)

[issue40348] Programming FAQ about "What is delegation?": Fix typos

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: This issue can be closed. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-10-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21534 pull_request: https://github.com/python/cpython/pull/22529 ___ Python tracker ___

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-10-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21533 pull_request: https://github.com/python/cpython/pull/22528 ___ Python tracker ___

[issue41840] [regression] symtable.Symbol.is_local() is no longer True for bound global symbols

2020-10-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fb0a4651f1be4ad936f8277478f73f262d8eeb72 by Pablo Galindo in branch 'master': bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391)

[issue40202] Misleading grammatically of ValueError Message?

2020-10-03 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> More descriptive error message than "too many values to unpack" ___ Python tracker

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21532 pull_request: https://github.com/python/cpython/pull/22527 ___ Python tracker ___

[issue40202] Misleading grammatically of ValueError Message?

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: I think this can be closed as a duplicate of 39816. -- nosy: +iritkatriel ___ Python tracker ___

[issue41923] Add PEP 613 typing.TypeAlias to the standard library

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Sure go right ahead. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29986] Documentation recommends raising TypeError from tp_richcompare

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: Looks like this issue can be closed. -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue33235] Better help text for dict.setdefault

2020-10-03 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36568] Typo in socket.CAN_RAW_FD_FRAMES library documentation

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: This issue can be closed. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list

[issue33235] Better help text for dict.setdefault

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: The help message is now: Help on method_descriptor: setdefault(self, key, default=None, /) Insert key with a value of default if key is not in the dictionary. Return the value for key if key is in the dictionary, else default. This issue should

[issue41923] Add PEP 613 typing.TypeAlias to the standard library

2020-10-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
Dong-hee Na added the comment: Thank you Victor! -- resolution: fixed -> stage: resolved -> patch review status: closed -> open ___ Python tracker ___

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset d646e91f5c4f4b76f96494103d440ed0b6257425 by Dong-hee Na in branch 'master': bpo-41922: Use PEP 590 vectorcall to speed up reversed() (GH-22523) https://github.com/python/cpython/commit/d646e91f5c4f4b76f96494103d440ed0b6257425 --

[issue32192] Provide importlib.util.lazy_import helper function

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: This seems complete. Can is be closed? -- nosy: +iritkatriel ___ Python tracker ___ ___

[issue18228] AIX locale parsing failure

2020-10-03 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I forgot to close it 7 years ago. Done ;-) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue41919] Modify test_codecs to use the new codecs.unregister() function

2020-10-03 Thread STINNER Victor
Change by STINNER Victor : -- title: Move the codecs.register operation to testcases -> Modify test_codecs to use the new codecs.unregister() function ___ Python tracker ___

[issue41898] Any logging causes assertLogs to pass

2020-10-03 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +21531 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22526 ___ Python tracker ___

[issue41916] cxx pthread check is not overrideable

2020-10-03 Thread Dustin Spicuzza
Change by Dustin Spicuzza : -- keywords: +patch pull_requests: +21530 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22525 ___ Python tracker ___

[issue40455] GCC 10 compiler warnings

2020-10-03 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi, I've on my Debian (testing) the reported warning: In function ‘assemble_lnotab’, inlined from ‘assemble_emit’ at Python/compile.c:5706:25, inlined from ‘assemble’ at Python/compile.c:6048:18: Python/compile.c:5660:19: warning: writing 1 byte into a

[issue41921] REDoS in parseentities

2020-10-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41923] Add PEP 613 typing.TypeAlias to the standard library

2020-10-03 Thread Mikhail Golubev
New submission from Mikhail Golubev : TypeAlias is already included in typing_extensions package, making it available for pre-3.10 versions of Python. I'd like port this implementation to the upstream version of typing. -- components: Library (Lib) messages: 377890 nosy:

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +21529 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22523 ___ Python tracker ___

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- assignee: -> corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41922] Use PEP 590 vectorcall to speed up calls to reversed()

2020-10-03 Thread Dong-hee Na
New submission from Dong-hee Na : reversed is also a very well-used type. if shows 10+ percent performance improvement from baseline and this metric. And this improvement looks acceptable from viewing builtin types which are applied PEP 590 (frozenset, list, set, dict) reversed creation +

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Ah, okay. I wasn't familiar with @total_ordering so I assumed differently. Sorry for the continued misunderstanding. Perhaps we should just leave it alone completely then, since ISTM that any change to its implementation may cause subtle bugs in

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Ben Avrahami
Ben Avrahami added the comment: > Maybe you misunderstand what I tried to say? Possibly, right now, total_ordering avoids overriding any method that is declared, either in the class or its superclasses (except for object), regardless of whether or not it is abstract. For it to be ABC-aware,

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Why would that require more code? That’s already how it worked. Maybe you misunderstand what I tried to say? -- ___ Python tracker ___

[issue41921] REDoS in parseentities

2020-10-03 Thread yeting li
New submission from yeting li : Hi, I find this regex '' may be stucked by input. The vulnerable regex is located in https://github.com/python/cpython/blob/8d21aa21f2cbc6d50aab3f420bb23be1d081dac4/Tools/scripts/parseentities.py#L18 The ReDOS vulnerability of the regex is mainly due to the

[issue40564] Using zipfile.Path with several files prematurely closes zip

2020-10-03 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40564] Using zipfile.Path with several files prematurely closes zip

2020-10-03 Thread Jason R. Coombs
Jason R. Coombs added the comment: Fix merged into master. Please use zipp 3.2.0 on Python 3.9 and earlier for the improved behavior or report back here if a backport is needed (and why). -- stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8

[issue40564] Using zipfile.Path with several files prematurely closes zip

2020-10-03 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset ebbe8033b1c61854c4b623aaf9c3e170d179f875 by Jason R. Coombs in branch 'master': bpo-40564: Avoid copying state from extant ZipFile. (GH-22371) https://github.com/python/cpython/commit/ebbe8033b1c61854c4b623aaf9c3e170d179f875 --

[issue41826] test_peg_generator compilation warnings

2020-10-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41887] ast.literal_eval does not accept strings with leading whitespaces

2020-10-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I dunno, but it's been doing this since 1992, so I think it would be fragile > to change. The best thing therefore is to make ast.literal_eval() match it > exactly. +1 We had considerable finicky behaviour in the parser related to new lines and

[issue41826] test_peg_generator compilation warnings

2020-10-03 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset c111355480ff51b50a671679c5099f534cb01cae by Pablo Galindo in branch 'master': bpo-41826: Fix compiler warnings in test_peg_generator (GH-22455) https://github.com/python/cpython/commit/c111355480ff51b50a671679c5099f534cb01cae --

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2020-10-03 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6721] Locks in the standard library should be sanitized on fork

2020-10-03 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33802] Regression in logging configuration

2020-10-03 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41898] Any logging causes assertLogs to pass

2020-10-03 Thread Irit Katriel
Irit Katriel added the comment: You didn't specify the logger in the assertLogs() call. The documentation says that "The default is the root logger, which will catch all messages." https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertLogs This is behaving as expected.

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-03 Thread Pradyun Gedam
Pradyun Gedam added the comment: +1 for bumping to 20.2.3, in case an upstream voice is helpful. :) On Fri, Oct 2, 2020 at 8:12 PM Pablo Galindo Salgado wrote: > > Pablo Galindo Salgado added the comment: > > I think that the backport to 3.8 may have some unintended consequences in > the

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: But this "bug" only affects floating numbers? -- ___ Python tracker ___ ___

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: Ok thank you for these resources. I didn't know that before. (; -- ___ Python tracker ___

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Some further resources: https://stackoverflow.com/questions/8215437/floating-point-accuracy-in-python https://stackoverflow.com/questions/21895756/why-are-floating-point-numbers-inaccurate

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please forgive me if my answer is a little bit brusque, but we get essentially this same bug report regularly, only the numbers are different. This is not a bug in Python, it is an unavoidable consequence of how floating point arithmetic works in every

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
Leonard Schwennesen added the comment: Same problem with 0.-0. python returns 0.22218 and not 0. -- ___ Python tracker ___

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-03 Thread Tal Einat
Tal Einat added the comment: Thanks for this, Ram! -- assignee: -> docs@python components: +Documentation nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-03 Thread Tal Einat
Tal Einat added the comment: New changeset 8ca08310a882b7db6469fe732465610b92f4665e by Miss Skeleton (bot) in branch '3.9': [3.9] bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418)

[issue41920] Weird add operation of "0.2222 + 0.1111"

2020-10-03 Thread Leonard Schwennesen
New submission from Leonard Schwennesen : If I add 0. + 0. in the python cli I get the value 0.4 and not 0.. Also the other way around. But if I enter for example 0.2+0.1 I get 0.3 so that's right. Here are a few examples I tested that working properly:

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-03 Thread miss-islington
miss-islington added the comment: New changeset 9aa34f1bbbe1ca6376539f9ba436ff75d2141888 by Miss Skeleton (bot) in branch '3.8': bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418)

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread Tal Einat
Tal Einat added the comment: Thanks, Ram! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +21528 pull_request: https://github.com/python/cpython/pull/22519 ___ Python tracker ___

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread Tal Einat
Tal Einat added the comment: New changeset ef7b937b8fe94f4c59dfcbe7567c3ca76097a41d by Miss Skeleton (bot) in branch '3.9': [3.9] bpo-40833: Clarify Path.rename doc-string regarding relative paths (GH-20554) https://github.com/python/cpython/commit/ef7b937b8fe94f4c59dfcbe7567c3ca76097a41d

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21527 pull_request: https://github.com/python/cpython/pull/22518 ___ Python tracker

[issue41867] Include options for timespec in docstrings of isoformat

2020-10-03 Thread Tal Einat
Tal Einat added the comment: New changeset 52301312bb9de2299b0c42468fd1936d869e651c by Ram Rachum in branch 'master': bpo-41867: List options for timespec in docstrings of isoformat methods (GH-22418) https://github.com/python/cpython/commit/52301312bb9de2299b0c42468fd1936d869e651c

[issue41428] PEP 604 -- Allow writing union types as X | Y

2020-10-03 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 4.0 -> 5.0 pull_requests: +21526 pull_request: https://github.com/python/cpython/pull/22517 ___ Python tracker ___

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +21525 pull_request: https://github.com/python/cpython/pull/22516 ___ Python tracker ___

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread miss-islington
miss-islington added the comment: New changeset 4b982e0dd7354c9103a0cae8e6e78b5e57794e77 by Miss Skeleton (bot) in branch '3.8': bpo-40833: Clarify Path.rename doc-string regarding relative paths (GH-20554) https://github.com/python/cpython/commit/4b982e0dd7354c9103a0cae8e6e78b5e57794e77

[issue7946] Convoy effect with I/O bound threads and New GIL

2020-10-03 Thread David Beazley
David Beazley added the comment: About nine years ago, I stood in front of a room of Python developers, including many core developers, and gave a talk about the problem described in this issue. It included some live demos and discussion of a possible fix.

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21523 pull_request: https://github.com/python/cpython/pull/22514 ___ Python tracker

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +21524 pull_request: https://github.com/python/cpython/pull/22515 ___ Python tracker ___

[issue40833] Clarify docstring of Path.rename

2020-10-03 Thread Tal Einat
Tal Einat added the comment: New changeset f97e42ef4d97dee64f45ed65170a6e77c8e46fdf by Ram Rachum in branch 'master': bpo-40833: Clarify Path.rename doc-string regarding relative paths (GH-20554) https://github.com/python/cpython/commit/f97e42ef4d97dee64f45ed65170a6e77c8e46fdf --

[issue41919] Move the codecs.register operation to testcases

2020-10-03 Thread hai shi
Change by hai shi : -- title: Move the codecs' register operation to testcases -> Move the codecs.register operation to testcases ___ Python tracker ___

[issue41919] Move the codecs' register operation to testcases

2020-10-03 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +21522 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22513 ___ Python tracker ___

[issue41919] Move the codecs' register operation to testcases

2020-10-03 Thread hai shi
New submission from hai shi : After PR22360 merged, we can move the codecs' register operation to testcases. -- components: Tests messages: 377863 nosy: shihai1991, vstinner priority: normal severity: normal status: open title: Move the codecs' register operation to testcases type:

[issue41918] exec fails to take locals into account when running list comprehensions

2020-10-03 Thread Quentin Peter
New submission from Quentin Peter : The exec function fails to take locals into account when executing a list comprehension: ``` Python 3.7.7 (default, Mar 10 2020, 15:43:33) [Clang 11.0.0 (clang-1100.0.33.17)] on darwin Type "help", "copyright", "credits" or "license" for more information.

[issue41905] add update_abstractmethods function to update an ABC's abstract methods

2020-10-03 Thread Ben Avrahami
Ben Avrahami added the comment: > I would prefer the isinstance(cls, ABCMeta) check to be inside that helper I had a little debate about this in my mind, I'll change it. > it's totally clear to me what @total_ordering should do -- it should define > __le__, __gt__ and __ge__ in terms of

[issue41909] Segfault on __getattr__ infinite recursion on certain attribute accesses

2020-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, when lookup any attribute you will get a RecursionError, but this is one of only two places where the recursion check is disabled (the other one is in interning strings). You get a crash also when call isinstance(1, instance) or

[issue41917] Python 3.9rc2 fails to install matplotlib

2020-10-03 Thread ullix
New submission from ullix : Installing matplotlib via: python3 -m pip install -U matplotlib fails because kiwisolver cannot be installed. Among a lot of error output is: WARNING: The wheel package is not available. Not having matplotlib is a MAJOR hurdle for many! Sstem: Ubuntu 16.04 with

[issue41916] cxx pthread check is not overrideable

2020-10-03 Thread Dustin Spicuzza
New submission from Dustin Spicuzza : I'm cross-compiling python to ARM, following instructions from the crossenv project @ https://crossenv.readthedocs.io/en/latest/quickstart.html#build-or-obtain-host-python I was getting pthread related errors when using cross-built extension modules. I

  1   2   >