[issue38101] Update devguide triaging keywords

2020-02-23 Thread Tal Einat
Tal Einat added the comment: Thanks for the fix, Ido! -- nosy: +taleinat resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-02-23 Thread Vinay Sharma
Vinay Sharma added the comment: Hi, I think a use case for this is https://docs.python.org/3/library/multiprocessing.shared_memory.html If not, can you please suggest a way to synchronise the above across unrelated processes. -- ___ Python tracke

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Jonas Malaco
New submission from Jonas Malaco : Trying to instantiate an enum with an invalid value results in "During handling of the above exception, another exception occurred:". $ cat > test.py << EOF from enum import Enum class Color(Enum): RED = 1 GREEN = 2 BLUE = 3 Color(0) EOF $ py

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailin

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-23 Thread John Smith
John Smith added the comment: Interesting finding. Just some thoughs: I have to disagree on the "the experience with input() in IDLE is more useful and less confusing, especially to beginners" part. Here are some reasons: 1. If a beginner starts with threading and expect a concurrent execut

[issue39726] ctypes on pypi has fallen behind

2020-02-23 Thread David Harding
David Harding added the comment: Hi ammar2, Your comment completely clears up my issue. I was just uninformed. As you have stated, no change needs to be made to the pypi version. To enforce a version of ctypes with venv/pip, I need only enforce a python version that is packaged with that ve

[issue39729] stat.S_ISXXX can raise OverflowError for remote file modes

2020-02-23 Thread Arnon Yaari
New submission from Arnon Yaari : The C implementation of the "stat" module on Python 3 (_stat) is using the type "mode_t" for file modes, which differs between operating systems. This type can be defined as either "unsigned short" (for example, in macOS, or the definition added specifically

[issue39729] stat.S_ISXXX can raise OverflowError for remote file modes

2020-02-23 Thread Ammar Askar
Ammar Askar added the comment: Size of the mode aside, isn't this approach problematic anyway? One platform could have an entirely different way of signalling ISDIR vs another. In this case using the host's S_ISDIR for the remote's mode would result in possibly incorrect values. --

[issue39730] Licence (license) for Python 3.8.1 is missing

2020-02-23 Thread Mark Fernandes
New submission from Mark Fernandes : At https://docs.python.org/3/license.html , the licence agreement for Python 3.8.2rc2 appears, however, I can't see the agreement for 3.8.1. It appears to be missing. Likewise, other licences for various version numbers appear to be missing. Also, it woul

[issue39648] Expand math.gcd() and math.lcm() to accept multiple arguments

2020-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 559e7f165ad03731e6bc2211c0e6d8d9c02fb549 by Serhiy Storchaka in branch 'master': bpo-39648: Expand math.gcd() and math.lcm() to handle multiple arguments. (GH-18604) https://github.com/python/cpython/commit/559e7f165ad03731e6bc2211c0e6d8d9c02fb

[issue39648] Expand math.gcd() and math.lcm() to accept multiple arguments

2020-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: Merged; thank you to all involved. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue39730] Licence (license) for Python 3.8.1 is missing

2020-02-23 Thread SilentGhost
Change by SilentGhost : -- priority: normal -> high stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-23 Thread Tal Einat
Tal Einat added the comment: I tend to think that we should avoid discrepancies with a simple Python command-line shell by default, and in this case I am not convinced that there is a good reason for a divergence in behavior. I'd be happy to look into debugging this issue in the next few day

[issue36027] Support negative exponents in pow() where a modulus is specified.

2020-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: For tracker historians: see also #457066 -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue39657] Bezout and Chinese Remainder Theorem in the Standard Library?

2020-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: I'm inclined to close this. Raymond, Tim: thoughts? -- assignee: -> mark.dickinson nosy: +rhettinger, tim.peters ___ Python tracker ___

[issue39599] ABI breakage between Python 3.7.4 and 3.7.5: change in PyGC_Head structure

2020-02-23 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue5996] abstract class instantiable when subclassing built-in types

2020-02-23 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue38657] Clarify numeric padding behavior in string formatting

2020-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: It looks as though this has been addressed, and can be closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-23 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +17980 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18615 ___ Python tracker ___ _

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-02-23 Thread Stefan Krah
Change by Stefan Krah : -- pull_requests: +17981 pull_request: https://github.com/python/cpython/pull/18616 ___ Python tracker ___ _

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-02-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +17982 pull_request: https://github.com/python/cpython/pull/18617 ___ Python tracker _

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-02-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +17983 pull_request: https://github.com/python/cpython/pull/18618 ___ Python tracker ___ __

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-02-23 Thread Stefan Krah
Stefan Krah added the comment: New changeset b76518d43fb82ed9e5d27025d18c90a23d525c90 by Stefan Krah in branch 'master': bpo-39576: Clarify the word size for the 32-bit build. (#18616) https://github.com/python/cpython/commit/b76518d43fb82ed9e5d27025d18c90a23d525c90 --

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-02-23 Thread Stefan Krah
Stefan Krah added the comment: New changeset 24c570bbb82a7cb70576c253a73390accfa7ed78 by Miss Islington (bot) in branch '3.7': bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18617) https://github.com/python/cpython/commit/24c570bbb82a7cb70576c253a73390accfa7ed78 ---

[issue39710] "will be returned as unicode" reminiscent from Python 2

2020-02-23 Thread Andrei Daraschenka
Change by Andrei Daraschenka : -- keywords: +patch nosy: +dorosch nosy_count: 2.0 -> 3.0 pull_requests: +17984 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18619 ___ Python tracker

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-02-23 Thread Stefan Krah
Stefan Krah added the comment: New changeset c6ecd9c14081a787959e13df33e250102a658154 by Miss Islington (bot) in branch '3.8': bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18618) https://github.com/python/cpython/commit/c6ecd9c14081a787959e13df33e250102a658154 ---

[issue39731] ModuleNotFoundError: No module named '_ctypes'

2020-02-23 Thread Md. Al-Helal
New submission from Md. Al-Helal : ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-68ypuk30/django-tables2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-68ypuk30/django-tables2/setup

[issue35885] configparser: indentation

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17985 pull_request: https://github.com/python/cpython/pull/18620 ___ Python tracker ___ _

[issue39704] Disable code coverage

2020-02-23 Thread Stefan Krah
Stefan Krah added the comment: For me even a mail with a single line would be too much. I can filter that in my mail client but not on GitHub. Speaking about that, I also don't want to get mail from Bevedere stating that I, in fact, have signed a CLA any time I open a PR. -- __

[issue39732] plistlib should export UIDs in XML like Apple does

2020-02-23 Thread Mingye Wang
New submission from Mingye Wang : Although there is no native UID type in Apple's XML format, Apple's NSKeyedArchiver still works with it because it converts the UID to a dict of {"CF$UID": int(some_uint64_val)}. Plistlib should do the same. For a sample, see https://github.com/apple/swift-c

[issue35885] configparser: indentation

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17986 pull_request: https://github.com/python/cpython/pull/18621 ___ Python tracker ___ _

[issue39732] plistlib should export UIDs in XML like Apple does

2020-02-23 Thread Mingye Wang
Change by Mingye Wang : -- keywords: +patch pull_requests: +17987 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18622 ___ Python tracker ___

[issue35885] configparser: indentation

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17988 pull_request: https://github.com/python/cpython/pull/18623 ___ Python tracker ___ _

[issue35885] configparser: indentation

2020-02-23 Thread Ido Michael
Ido Michael added the comment: New PR: GH-18623 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17989 pull_request: https://github.com/python/cpython/pull/18624 ___ Python tracker ___ _

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

2020-02-23 Thread Ido Michael
Ido Michael added the comment: Created new PR and removed the old one GH-18624 -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue35885] configparser: indentation

2020-02-23 Thread SilentGhost
SilentGhost added the comment: Your PRs are missing documentation and tests. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17990 pull_request: https://github.com/python/cpython/pull/18625 ___ Python tracker ___ _

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue39244] multiprocessing.get_all_start_methods() wrong default on macOS

2020-02-23 Thread Ido Michael
Ido Michael added the comment: Created a new clean PR GH-18625 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue38691] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17991 pull_request: https://github.com/python/cpython/pull/18627 ___ Python tracker ___ _

[issue38691] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-23 Thread Ido Michael
Ido Michael added the comment: Added a new clean PR with the code changes, will let you know once the tests are fixed: GH-18627 -- ___ Python tracker ___

[issue39698] asyncio.sleep() does not adhere to time.sleep() behavior for negative numbers

2020-02-23 Thread Marco Sulla
Marco Sulla added the comment: I see that many breaking changes was done in recent releases. I get only the ones for `asyncio` in Python 3.8: https://bugs.python.org/issue36921 https://bugs.python.org/issue36373 https://bugs.python.org/issue34790 https://bugs.python.org/issue32528 https://bug

[issue39717] Fix exception causes in tarfile module

2020-02-23 Thread Vedran Čačić
Vedran Čačić added the comment: Oh yes, this has bugged me often. Please fix it somehow. Yes, using "from None" is probably the wrong way to go. Often we need more info in tracebacks, not less. But the "During handling" message is very misleading. Same as Ethan, many times I interpreted it as

[issue2771] Test issue

2020-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: -xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue39729] stat.S_ISXXX can raise OverflowError for remote file modes

2020-02-23 Thread Arnon Yaari
Arnon Yaari added the comment: Maybe so, but IMHO it is a lesser concern - the operating systems that use "unsigned long" add bits on the right, and don't change the less significant bits that the S_ISXXX macros check (if I am not mistaken, those bits are POSIX standards). This issue is a re

[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2020-02-23 Thread Buzyboy
Change by Buzyboy : Added file: https://bugs.python.org/file48904/Screenshot_20200223-214519.png ___ Python tracker ___ ___ Python-bugs-list

[issue39691] Allow passing Pathlike objects to io.open_code

2020-02-23 Thread Steve Dower
Steve Dower added the comment: As per PEP 578 it only accepts absolute path str. Requires a documentation update to clarify, as this is not the only report. And issue39517 should add a str() call and ensure that the path is absolute. -- assignee: -> docs@python components: +Document

[issue39517] runpy calls open_code with Path object

2020-02-23 Thread Steve Dower
Steve Dower added the comment: open_code is correct according to PEP 578, so the fix here is for runpy to ensure the path is absolute and pass it through os.fsdecode() before calling io.open_code(). -- nosy: +steve.dower versions: +Python 3.9 ___

[issue39723] io.open_code should accept PathLike objects

2020-02-23 Thread Steve Dower
Steve Dower added the comment: Dup of issue39691 As per PEP 578, open_code only accepts an absolute path as a str. The other issue will be used to update the docstring. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Allow passing P

[issue39712] Doc for `-X dev` option should mention PYTHONDEVMODE

2020-02-23 Thread Rahul Kumaresan
Rahul Kumaresan added the comment: I would like to work on this issue. Can you please suggest me specifics that I should be considering before I update the doc with the suggested inclusions. -- nosy: +rahul-kumi ___ Python tracker

[issue39717] Fix exception causes in tarfile module

2020-02-23 Thread Ethan Furman
Ethan Furman added the comment: Looking back at PEP3134 [1], the raise NewException from exc is used as one of the examples. [1] https://www.python.org/dev/peps/pep-3134/#id37 -- ___ Python tracker

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-23 Thread Guido van Rossum
Guido van Rossum added the comment: It sounds like either an old implementation restriction or an old misguided attempt at keeping the IDLE console clean. I’m with Tal, let’s fix it and make it more like regular Python. Thanks John for taking the time to report this so clearly. -- _

[issue35810] Object Initialization does not incref Heap-allocated Types

2020-02-23 Thread Ondrej Jakubcik
Ondrej Jakubcik added the comment: How does this change affect stable ABI? Is it necessary to change the logic in modules that use only the Py_LIMITED_API? -- nosy: +Ondrej Jakubcik ___ Python tracker _

[issue38597] C Extension import limit

2020-02-23 Thread Xinfa Zhu
Xinfa Zhu added the comment: I have a similar issue. Do we have an estimate how long it may take to fix this bug? Thanks. I can help but would need some mentoring. -- nosy: +xinfazhu ___ Python tracker

[issue39019] Missing class getitems in standard library classes

2020-02-23 Thread Guido van Rossum
Guido van Rossum added the comment: Once PEP 585 is implemented these should be rolled back and replaced with that, right? -- nosy: +gvanrossum ___ Python tracker ___ ___

[issue39725] unrelated `from None` exceptions lose prior exception information

2020-02-23 Thread Ethan Furman
Ethan Furman added the comment: I think the way forward is going to be a recursive walk back to the first exception, and if __suppress_context__ is true for any exception then only the previous exception is omitted. For example, the above example had the following chain: Exception__cont

[issue39725] unrelated `from None` exceptions lose prior exception information

2020-02-23 Thread Ethan Furman
Ethan Furman added the comment: Can this be fixed in the traceback module or is there C code behind it? -- ___ Python tracker ___ _

[issue39019] Missing class getitems in standard library classes

2020-02-23 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: > Once PEP 585 is implemented these should be rolled back and replaced with > that, right? I would say that ideally yes. -- ___ Python tracker ___

[issue39732] plistlib should export UIDs in XML like Apple does

2020-02-23 Thread SilentGhost
Change by SilentGhost : -- nosy: +serhiy.storchaka type: behavior -> enhancement versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ _

[issue39657] Bezout and Chinese Remainder Theorem in the Standard Library?

2020-02-23 Thread Tim Peters
Tim Peters added the comment: Ya, I'll close this, channeling that Raymond would also reject it for now (although he's certainly free to reopen it). There's nothing wrong with adding such functions, but the `math` module is already straying too far from its original intent as a home for floa

[issue39724] IDLE threading + stdout/stdin observed blocking behavior

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I found a stackoverflow question (and my then answer) about the same issue: https://stackoverflow.com/questions/50108354/python-idle-running-code-differently-than-other-ides Although the code posted does not run, it gives a very legitimate use case ( is the s

[issue37970] urllib.parse docstrings incomplete

2020-02-23 Thread Tal Einat
Tal Einat added the comment: Indeed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue39427] python -X options are not documented in the CLI --help

2020-02-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 333b9899fc7807575d1742b77b4633ac53bd528f by Pablo Galindo in branch '3.7': [3.7] bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131) (#18134) https://github.com/python/cpython/commit/333b9899fc7807575d1742b77

[issue39427] python -X options are not documented in the CLI --help

2020-02-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 13951c7f25c628ea2dc0a869ebe18e7bf593fa6d by Pablo Galindo in branch '3.8': [3.8] bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131) (GH-18133) https://github.com/python/cpython/commit/13951c7f25c628ea2dc0a86

[issue39427] python -X options are not documented in the CLI --help

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

[issue39733] Bug in hypergeometric function

2020-02-23 Thread 12345NotFromHere54321
New submission from 12345NotFromHere54321 : I want to evaluate Kummer's hypergeometric function. Code: import scipy.special as sc import numpy as np #Parameters etc: p=2 s = -4.559190954155 -51.659216953928*1j Evaluation: s = -4.559190954155 -51.659216953928*1j sc.hyp1f1(1/p, 1/p + 1, -s)

[issue39733] Bug in hypergeometric function

2020-02-23 Thread SilentGhost
SilentGhost added the comment: Hi, this is a wrong bug tracker. You can report numpy issues at https://github.com/numpy/numpy/issues and scipy one's at https://github.com/scipy/scipy/issues -- nosy: +SilentGhost resolution: -> third party stage: -> resolved status: open -> closed

[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)

2020-02-23 Thread Maor Kleinberger
Change by Maor Kleinberger : -- keywords: +patch pull_requests: +17992 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18628 ___ Python tracker ___

[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)

2020-02-23 Thread Maor Kleinberger
Maor Kleinberger added the comment: After digging into asyncio, I stumbled upon this particularly suspicious block in BaseEventLoop._run_once: https://github.com/python/cpython/blob/v3.9.0a3/Lib/asyncio/base_events.py#L1873 handle = self._ready.popleft() if handle._cancelled: continue if

[issue39717] Fix exception causes in tarfile module

2020-02-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: -rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue39725] unrelated `from None` exceptions lose prior exception information

2020-02-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is more complicated. In the following example try: try: raise TypeError except: try: try: raise OverflowError except: raise ValueError except: raise KeyErr

[issue39019] Missing class getitems in standard library classes

2020-02-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka nosy_count: 4.0 -> 5.0 pull_requests: +17994 pull_request: https://github.com/python/cpython/pull/18629 ___ Python tracker _

[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)

2020-02-23 Thread Maor Kleinberger
Maor Kleinberger added the comment: After opening the PR, I see that add_signal_handler is not supported on non-unix event loop. After looking at the code, it seems there is no problem to implement it for other platforms, as it relies on signal.set_wakeup_fd() which seems to support all plat

[issue39732] plistlib should export UIDs in XML like Apple does

2020-02-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

2020-02-23 Thread Marco Sulla
Marco Sulla added the comment: I think in this case the error is more trivial: simply `Programs/_testembed.c` is compiled with g++ but it should be compiled with gcc. Indeed, there are much gcc-only options in the compilation of `Programs/_testembed.c`, and g++ complains about them: > cc1plu

[issue39681] pickle.load expects an object that implements readinto

2020-02-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9f37872e307734666a7169f7be6e3370d3068282 by Antoine Pitrou in branch 'master': bpo-39681: Fix C pickle regression with minimal file-like objects (#18592) https://github.com/python/cpython/commit/9f37872e307734666a7169f7be6e3370d3068282 --

[issue39681] pickle.load expects an object that implements readinto

2020-02-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +17995 pull_request: https://github.com/python/cpython/pull/18630 ___ Python tracker _

[issue39725] unrelated `from None` exceptions lose prior exception information

2020-02-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +17996 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18629 ___ Python tracker ___

[issue39019] Missing class getitems in standard library classes

2020-02-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -17994 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue39734] Deprecate readinto() fallback path in _pickle.c

2020-02-23 Thread Antoine Pitrou
New submission from Antoine Pitrou : In issue39681 we reestablished the fallback to read() when a file-like object doesn't provide readinto() in _pickle.c. However, doing so leads to lower performance and all file-like object should nowadays provide readinto() (simply by deriving from the ri

[issue39681] pickle.load expects an object that implements readinto

2020-02-23 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b19f7ecfa3adc6ba1544225317b9473649815b38 by Miss Islington (bot) in branch '3.8': bpo-39681: Fix C pickle regression with minimal file-like objects (GH-18592) (#18630) https://github.com/python/cpython/commit/b19f7ecfa3adc6ba1544225317b9473649815b

[issue38597] C Extension import limit

2020-02-23 Thread Steve Dower
Steve Dower added the comment: Okay, looking at _find_vcvarsall in distutils, I'm guessing that something about how your machines are set up means that the vcredist search is failing. First, could you specify which versions of Visual Studio you have installed, and if possible which one is be

[issue37970] urllib.parse docstrings incomplete

2020-02-23 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +17997 pull_request: https://github.com/python/cpython/pull/18631 ___ Python tracker ___ _

[issue37970] urllib.parse docstrings incomplete

2020-02-23 Thread Ido Michael
Ido Michael added the comment: Created PR, most of the documentation besides the func signature looked alright: GH-18631 -- ___ Python tracker ___ ___

[issue36468] Treeview: wrong color change

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that problem continues on Windows with 3.8 and 3.9 alpha (with tk 8.6.9 -- might get updated later) and that fix posted by Matthew works. I am testing because of #39636. -- nosy: +terry.reedy versions: +Python 3.8, Python 3.9 ___

[issue39636] Can't change Treeview row color in Tkinter

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I ran the initial test code of #36468, everything was black on white. When I added Matthew Barnett's fix, both text and background were changed. Until we get test code and version information that we can run and verify a problem with the fix, I am clo

[issue39642] Behaviour of disabled widgets: widget.bind(func) -vs- w = widget(command=func)

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am sure that the behavior you observe is correct. The default button click handler must check the state before calling the command function, while I presume that your printBtn_onclick function (not shown) does not. If Serhiy disagrees, he can reopen. --

[issue37539] CheckCommitCursorReset regression sqlite3 test fails with old sqlite3

2020-02-23 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the report and for the patch! The minimum supported SQLite 3 version in Python 3 is 3.7.2 as declared at https://github.com/python/cpython/blob/9f37872e307734666a7169f7be6e3370d3068282/setup.py#L1364 While it's still 3.0.8 in Python 2.7 (http

[issue39653] test_posix fails during make test

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: My understanding that Python is compiled and installed and that the failure was during a later test. In repository master (3.9) the line is 1549 instead of 1529. The test function code is def test_no_such_executable(self): no_such_executable =

[issue30566] punycode codec raises IndexError in decode_generalized_number()

2020-02-23 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch nosy: +berker.peksag nosy_count: 3.0 -> 4.0 pull_requests: +17998 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18632 ___ Python tracker

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlike the 3.9 code and doc change in #39411, this doc change applies since 3.7. It does not conflict with #39411. -- versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue38597] C Extension import limit

2020-02-23 Thread Xinfa Zhu
Xinfa Zhu added the comment: Thanks Steve. Here is what you requested. xinfa@LAPTOP-71TBJKSA MINGW64 /c/Program Files (x86)/Microsoft Visual Studio $ ./Installer/vswhere.exe Visual Studio Locator version 2.7.1+180c706d56 [query version 2.3.2200.14893] Copyright (C) Microsoft Corporation. All r

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +18000 pull_request: https://github.com/python/cpython/pull/18634 ___ Python tracker ___ __

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset aea045adb8c90394264908670cbc495c5a41b65e by Hakan Çelik in branch 'master': bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528) https://github.com/python/cpython/commit/aea045adb8c90394264908670cbc495c5a41b65e --

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +17999 pull_request: https://github.com/python/cpython/pull/18633 ___ Python tracker _

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread miss-islington
miss-islington added the comment: New changeset 973348427e3e987f42ea8a871e18c8d17b5abf52 by Miss Islington (bot) in branch '3.8': bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528) https://github.com/python/cpython/commit/973348427e3e987f42ea8a871e18c8d17b5abf

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread miss-islington
miss-islington added the comment: New changeset d57f99929a4013741f14233ed6e517ad6c9b24d0 by Miss Islington (bot) in branch '3.7': bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528) https://github.com/python/cpython/commit/d57f99929a4013741f14233ed6e517ad6c9b24

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue39649] bdb.Bdb.format_stack_entry: checks for obsolete __args__

2020-02-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4015d1cda3cdba869103779eb6ff32ad798ff885 by Daniel Hahler in branch 'master': bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531) https://github.com/python/cpython/commit/4015d1cda3cdba869103779eb6ff32ad798f

  1   2   >