[issue39280] Don't allow datetime parsing to accept non-Ascii digits

2020-01-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39235] Generator expression has wrong line/col info when inside a Call object

2020-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 850a8856e120f8cba15e557a0e791f93b43d6989 by Serhiy Storchaka in branch 'master': bpo-39235: Check end_lineno and end_col_offset of AST nodes. (GH-17926) https://github.com/python/cpython/commit/850a8856e120f8cba15e557a0e791f93b43d6989 --

[issue39235] Generator expression has wrong line/col info when inside a Call object

2020-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If somebody want to backport tests to 3.8, he must check manually all end positions. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7 ___ Python tracker

[issue39277] _PyTime_FromDouble() fails to detect an integer overflow when converting a C double to a C int64_t

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: _PyTime_FromDouble() checks if!(_Py_DoubleInIntegralTypeRange(_PyTime_t, d)) with the macro: #define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v && v <= _Py_IntegralTypeMax(type)) and _Py_IntegralTypeMax(type)=2**63-1. "v <= _Py_Integr

[issue34311] locale.format() and locale.format_string() cast Decimals to float

2020-01-10 Thread Cédric Krier
Cédric Krier added the comment: For me, the name was natural as it is the reverse operation of the existing delocalize method. -- ___ Python tracker ___ __

[issue39284] Flexible indentation

2020-01-10 Thread aggu
New submission from aggu : Indentation should not be "too strict", any number of leading whitespaces greater that its "parent" or "peer" should be allowed. For example, the following code should be allow: a = 1 # step 1 # step 1.1 a = a + 1 # step 1.2

[issue39166] Python 3.9.0a2 changed how "async for" traces its final iteration

2020-01-10 Thread Mark Shannon
Mark Shannon added the comment: New changeset 4c53e63cc966f98e141a09bc435b9f9c713b152d by Mark Shannon (Pablo Galindo) in branch 'master': bpo-39166: Fix trace of last iteration of async for loops (#17800) https://github.com/python/cpython/commit/4c53e63cc966f98e141a09bc435b9f9c713b152d ---

[issue39166] Python 3.9.0a2 changed how "async for" traces its final iteration

2020-01-10 Thread Mark Shannon
Mark Shannon added the comment: I think this is now fixed. Ned, feel free to reopen if it still isn't fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue39280] Don't allow datetime parsing to accept non-Ascii digits

2020-01-10 Thread Ram Rachum
Ram Rachum added the comment: Okay, since it seems like I'm the only one who wants this change, I'll let it go. Thanks for your input. -- ___ Python tracker ___ _

[issue39283] Add ability to inherit unittest arguement parser

2020-01-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please post the unittest script and the desired behavior? Are you testing your own argument parser created using argparse or want to write something replacing the argument parser of the unittest module like creating a custom unittest runner

[issue39277] _PyTime_FromDouble() fails to detect an integer overflow when converting a C double to a C int64_t

2020-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17338 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17933 ___ Python tracker ___ _

[issue39285] PurePath.match indicates case-sensitive nature and presents a case-insensitive example

2020-01-10 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.match Under PurePath.match there is a statement that case-sensitivity is followed but presents an example in Windows where case insensitive match returns True. This is confusing sinc

[issue35164] socket.getfqdn and socket.gethostbyname fail on MacOS

2020-01-10 Thread George Hickman
George Hickman added the comment: I came across this today with the same timeout behaviour on macOS 10.14.6. After some digging I tracked it down to the Search Domains setting of my local network, this was set to "local", removing that immediately fixed the issue. -- nosy: +ghickman

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Can you elaborate on the rational for this proposed change? I'm not sure if there cases where the digits are non-ASCII, but if there are, is rejecting them the right thing to do? In the code there's a comment that mentions that the Windows version can be loca

[issue39279] Don't allow non-Ascii digits in platform.py

2020-01-10 Thread Ram Rachum
Ram Rachum added the comment: My approach is that any input that's unexpected by the developer but accepted by the program could cause either a bug or a security problem, and should be rejected by the program. I don't have a specific example for this case. If you think I need to come up with

[issue39286] Configure includes LIBS but does not pass it to distutils

2020-01-10 Thread Alex Grund
New submission from Alex Grund : When configuring with `LIBS=-lpthread` env var set, the pthread detection assumes that no flag is necessary and distutils will build all extensions without any flag for pthreads. This will make them fail, when they use certain pthread symbols on certain platfo

[issue28143] ASDL compatibility with Python 3 system interpreter

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39287] Document UTF-8 mode in the using/windows.

2020-01-10 Thread Inada Naoki
New submission from Inada Naoki : I think the UTF-8 mode is very useful for Windows users. Let's add section for the UTF-8 mode in the using/windows. -- assignee: docs@python components: Documentation messages: 359722 nosy: docs@python, inada.naoki priority: normal severity: normal stat

[issue31829] Portability issues with pickle

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue15718] Possible OverflowError in __len__ method undocumented (when called via len() function)

2020-01-10 Thread Zac Hatfield-Dodds
Change by Zac Hatfield-Dodds : -- pull_requests: +17340 pull_request: https://github.com/python/cpython/pull/17934 ___ Python tracker ___ __

[issue21444] __len__ can't return big numbers

2020-01-10 Thread Zac Hatfield-Dodds
Change by Zac Hatfield-Dodds : -- pull_requests: +17341 pull_request: https://github.com/python/cpython/pull/17934 ___ Python tracker ___ __

[issue12159] Integer Overflow in __len__

2020-01-10 Thread Zac Hatfield-Dodds
Change by Zac Hatfield-Dodds : -- pull_requests: +17339 pull_request: https://github.com/python/cpython/pull/17934 ___ Python tracker ___ __

[issue39287] Document UTF-8 mode in the using/windows.

2020-01-10 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +17342 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17935 ___ Python tracker ___

[issue37527] Timestamp conversion on windows fails with timestamps close to EPOCH

2020-01-10 Thread pingchao chen
Change by pingchao chen : -- keywords: +patch pull_requests: +17343 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/15498 ___ Python tracker __

[issue34110] cPickle may raise AttributeError when loading concurrently in threads

2020-01-10 Thread Cheryl Sabella
Cheryl Sabella added the comment: Fixed in Python 3 with #34572. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed versions: -Python 3.7, Python 3.8 ___ Python tracker _

[issue38259] having a PriorityQueue in multiprocessing.queue module like in queue module would be a plus

2020-01-10 Thread Yair Bonastre
Change by Yair Bonastre : -- versions: +Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39222] unittest.mock.Mock.parent is broken or undocumented

2020-01-10 Thread Mario Corchero
Mario Corchero added the comment: @cjw296 or @michael.foord might know why the attribute was exposed as plain "parent". It was added more than 8 years ago and I am unnable to follow the git commit history. They should then decide whether this is intenteded to be used by the users (which I n

[issue39222] unittest.mock.Mock.parent is broken or undocumented

2020-01-10 Thread Chris Withers
Chris Withers added the comment: I thought we'd already changed this to _mock_parent in the last year or so? -- ___ Python tracker ___

[issue39222] unittest.mock.Mock.parent is broken or undocumented

2020-01-10 Thread Mario Corchero
Mario Corchero added the comment: If you refer to https://bugs.python.org/issue35357, this issue refers to `parent` at the time of creation of the mock. In the init it is still referenced as "parent". The question is whether we want to also mangle "parent" in the __init__, as it seems it is

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-10 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17344 pull_request: https://github.com/python/cpython/pull/17936 ___ Python tracker ___ _

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset c39b52f1527868c7ada9385669c38edf98858921 by Victor Stinner (Dong-hee Na) in branch 'master': bpo-39259: poplib now rejects timeout = 0 (GH-17912) https://github.com/python/cpython/commit/c39b52f1527868c7ada9385669c38edf98858921 -- ___

[issue39277] _PyTime_FromDouble() fails to detect an integer overflow when converting a C double to a C int64_t

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: Similar issue in HHVM: * https://github.com/facebook/hhvm/issues/5932 * https://github.com/PPC64/hhvm/commit/7cdb76b4f495aa7aa40a696379862916c27f5828 -- ___ Python tracker

[issue39280] Don't allow datetime parsing to accept non-Ascii digits

2020-01-10 Thread Paul Ganssle
Paul Ganssle added the comment: > Yes, but not within the same format. If someone were to choose the format > '2014-04-10T24:00:00', they would have a reasonable expectation that there is > only one unique string that corresponds with that datetime That's a particularly bad example, because i

[issue39280] Don't allow datetime parsing to accept non-Ascii digits

2020-01-10 Thread Steven D'Aprano
Steven D'Aprano added the comment: > If all we're going to do is > switch [0-9] to \d (which won't work for the places where it's > actually [1-9], mind you) Ah, that's a good point. [...] > we're better off resolving the > inconsistency by requiring ASCII digits and considering non-ASCII

[issue39288] Add math.nextafter(a, b)

2020-01-10 Thread STINNER Victor
New submission from STINNER Victor : Linux manual page of nextafter(): """ The nextafter() function return the next representable floating-point value following x in the direction of y. If y is less than x, these functions will return the largest representable number less than x. If x equal

[issue39288] Add math.nextafter(a, b)

2020-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +3.3regression nosy: +lemburg, mark.dickinson, rhettinger, stutzbach ___ Python tracker ___

[issue39288] Add math.nextafter(a, b)

2020-01-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17345 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17937 ___ Python tracker ___ _

[issue18233] SSLSocket.getpeercertchain()

2020-01-10 Thread Chris Burr
Change by Chris Burr : -- pull_requests: +17346 pull_request: https://github.com/python/cpython/pull/17938 ___ Python tracker ___ __

[issue39289] crypt.crypt crashes on 3.9 where it didn't on 3.8

2020-01-10 Thread Vinay Sajip
New submission from Vinay Sajip : The following script (cryptest.py): import crypt for salt in ('foo', '$2a$04$5BJqKfqMQvV7nS.yUguNcueVirQqDBGaLXSqj.rs.pZPlNR0UX/HK'): t = 'test' h = crypt.crypt(t, salt) print("'%s' with '%s' -> %s" % (t, salt, h)) crashes in 3.9, whereas it does

[issue39289] crypt.crypt crashes on 3.9 where it didn't on 3.8

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: I fail to reproduce the issue on the master branch of Python on Fedora 31. -- nosy: +vstinner ___ Python tracker ___

[issue39289] crypt.crypt fail with OSError "[Errno 22] Invalid argument" on 3.9 where it didn't on 3.8

2020-01-10 Thread STINNER Victor
Change by STINNER Victor : -- title: crypt.crypt crashes on 3.9 where it didn't on 3.8 -> crypt.crypt fail with OSError "[Errno 22] Invalid argument" on 3.9 where it didn't on 3.8 ___ Python tracker

[issue39289] crypt.crypt fail with OSError "[Errno 22] Invalid argument" on 3.9 where it didn't on 3.8

2020-01-10 Thread Dong-hee Na
Dong-hee Na added the comment: I also fail to reproduce the issue on the master branch of Python on macOS. -- nosy: +corona10 ___ Python tracker ___ __

[issue13305] datetime.strftime("%Y") not consistent for years < 1000

2020-01-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: In issue39103, I filed a bug relating to this issue. I'd like for Python to provide a portable implementation of strftime instead of just documenting that the version isn't portable. Given that this ticket assigned to 'docs' suggests that a portable version

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset abdc634f337ce4943cd7d13587936837aac2ecc9 by Victor Stinner (Dong-hee Na) in branch 'master': bpo-39200: Correct the error message for min/max builtin function (GH-17814) https://github.com/python/cpython/commit/abdc634f337ce4943cd7d13587936837aa

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: Dong-hee, Pablo: Should we backport the two fixes to 3.7 and 3.8 branches? IMHO yes, we should backport. -- ___ Python tracker ___ _

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread Dong-hee Na
Dong-hee Na added the comment: Victor: Changes are only correcting the message. I am +1 on backporting :) -- ___ Python tracker ___ ___

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17347 pull_request: https://github.com/python/cpython/pull/17940 ___ Python tracker ___ __

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17349 pull_request: https://github.com/python/cpython/pull/17942 ___ Python tracker ___ __

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17348 pull_request: https://github.com/python/cpython/pull/17941 ___ Python tracker ___ __

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17350 pull_request: https://github.com/python/cpython/pull/17943 ___ Python tracker ___ __

[issue39200] Fix inaccurate TypeError messages when calling with insufficient arguments

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: Backport PRs are ready for 3.7 and 3.8. Question: is there a risk of breaking the backward compatibility if a project unit test rely on the exact error message? If yes, maybe it's better to reject the backports and close this issue (only change the error mes

[issue39259] poplib.POP3/POP3_SSL should reject timeout = 0 (non-blocking mode)

2020-01-10 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17351 pull_request: https://github.com/python/cpython/pull/17939 ___ Python tracker ___ _

[issue13305] datetime.strftime("%Y") not consistent for years < 1000

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: > I'd like for Python to provide a portable implementation of strftime instead > of just documenting that the version isn't portable. If someone wants to do that, I suggest to first start with a project on PyPI. It sounds like a tricky project. Date, time, l

[issue39241] Popen of python3.6 hangs on os.read(errpipe_read, 50000)

2020-01-10 Thread Xu
Xu added the comment: Thanks Stinner. Do you have some clues about this issue ? In my case, our test system use Popen to start a few infrastructure processes for tests going. After tests done we will kill all processes and start again for new round. Most of time it works fine. However we h

[issue39290] lib2to3.fixes.fix_import: support imports_as_name in traverse_imports

2020-01-10 Thread Batuhan
New submission from Batuhan : I've been working on custom lib2to3 fixers and I use some of the already definied utilites inside the fixers. But traverse_imports can't traverse from import names, which is pretty simple and straight forward to implement. -- messages: 359742 nosy: BTaska

[issue39241] Popen of python3.6 hangs on os.read(errpipe_read, 50000)

2020-01-10 Thread STINNER Victor
STINNER Victor added the comment: I have no clue. Try to attach a debugger and try to inspect the Python frames. You can use gdb with python-gdb.py for that, for example. Or play with faulthandler, especially faulthandler.dump_traceback_later(). -- __

[issue39290] lib2to3.fixes.fix_import: support imports_as_name in traverse_imports

2020-01-10 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +17352 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17944 ___ Python tracker ___

[issue39284] Flexible indentation

2020-01-10 Thread Eric V. Smith
Eric V. Smith added the comment: Please discuss this idea on the python-ideas mailing list first. It would also certainly require a PEP. But I don't want to get your hopes up: there's almost no chance that this would be accepted. I'm going to close this issue. If the idea gains any traction

[issue39291] "pathlib.Path.link_to()" and "pathlib.Path.symlink_to()" have reversed usage

2020-01-10 Thread Rockmizu
New submission from Rockmizu : Python version: Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32 The usage of symlink_to() is link.symlink_to(target) while the usage of link_to() is target.link_to(link). This could be confusing. Here is an example:

[issue39292] syslog constants behind rfc

2020-01-10 Thread Ryan
New submission from Ryan : When using the SysLogHandler (https://docs.python.org/3/library/logging.handlers.html#logging.handlers.SysLogHandler) the supported facilities appear to be lagging the RFC (5454 ?), or at least what is being supported in other mainstream languages. I Specifically ne

[issue39291] "pathlib.Path.link_to()" and "pathlib.Path.symlink_to()" have reversed usage

2020-01-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue39292] syslog constants behind rfc

2020-01-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue39292] syslog constants behind rfc

2020-01-10 Thread SilentGhost
Change by SilentGhost : -- type: -> behavior versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-

[issue39291] "pathlib.Path.link_to()" and "pathlib.Path.symlink_to()" have reversed usage

2020-01-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ahah. Nice catch! Well, it's a pity this got overlooked when we added Path.link_to(). But I'm afraid it's late to change it now, since this has been released, and changing the argument order would break existing code in potentially dangerous ways. Note the

[issue39291] "pathlib.Path.link_to()" and "pathlib.Path.symlink_to()" have reversed usage

2020-01-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as won't fix. If you feel strongly about this, I would suggest to bring the discussion on python-dev: https://mail.python.org/mailman3/lists/python-dev.python.org/ -- resolution: -> wont fix stage: -> resolved status: open -> closed _

[issue39204] Automate adding Type Annotations to Documentation

2020-01-10 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue39292] syslog constants behind rfc

2020-01-10 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +17353 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17945 ___ Python tracker ___

[issue39257] contextvars.Context.run hangs forever in ProccessPoolExecutor

2020-01-10 Thread Andrew Svetlov
Change by Andrew Svetlov : -- Removed message: https://bugs.python.org/msg359576 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39257] contextvars.Context.run hangs forever in ProccessPoolExecutor

2020-01-10 Thread Yury Selivanov
Yury Selivanov added the comment: > This throws 'cannot pickle Context' Yes, this is expected. contextvars are not compatible with multiprocessing. > This hangs forever * This hanging part is weird, and most likely hints at a bug in multiprocessing. -- ___

[issue39292] syslog constants behind rfc

2020-01-10 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset ce54519aa09772f4173b8c17410ed77e403f3ebf by Vinay Sajip in branch 'master': bpo-39292: Add missing syslog facility codes. (GH-17945) https://github.com/python/cpython/commit/ce54519aa09772f4173b8c17410ed77e403f3ebf -- ___

[issue39289] crypt.crypt fail with OSError "[Errno 22] Invalid argument" on 3.9 where it didn't on 3.8

2020-01-10 Thread Vinay Sajip
Vinay Sajip added the comment: I can also reproduce it on Ubuntu 16.04.6 LTS (the first Ubuntu was the Linux Mint version based on Ubuntu 18.04). -- ___ Python tracker ___ __

[issue39289] crypt.crypt fail with OSError "[Errno 22] Invalid argument" on 3.9 where it didn't on 3.8

2020-01-10 Thread Vinay Sajip
Vinay Sajip added the comment: Another data point: both failing machines were VMware virtual machines. -- ___ Python tracker ___ __

[issue39288] Add math.nextafter(a, b)

2020-01-10 Thread Mark Dickinson
Mark Dickinson added the comment: I'm not opposed to some form of this by any means, but I fear there's some bikeshedding to go through, both on the name and the functionality (one function with two arguments, or two functions each taking a single argument?). C 99 prescribes "nextafter" and

[issue34297] Windows py.exe launcher fail to handle quote correctly

2020-01-10 Thread Maxime Belanger
Change by Maxime Belanger : -- nosy: +Maxime Belanger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue1531415] parsetok.c emits warnings by writing to stderr

2020-01-10 Thread Brett Cannon
Brett Cannon added the comment: Pablo, is this still a thing to care about? -- nosy: +pablogsal ___ Python tracker ___ ___ Python

[issue1596321] KeyError at exit after 'import threading' in other thread

2020-01-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue1674555] sys.path in tests contains system directories

2020-01-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue2636] Adding a new regex module (compatible with re)

2020-01-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue4347] Circular dependency causes SystemError when adding new syntax

2020-01-10 Thread Brett Cannon
Change by Brett Cannon : -- resolution: wont fix -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue4347] Circular dependency causes SystemError when adding new syntax

2020-01-10 Thread Brett Cannon
Brett Cannon added the comment: Pablo, is this still an issue? -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list maili

[issue39293] Windows 10 64-bit needs reboot

2020-01-10 Thread Tony
New submission from Tony : After installing python 3.8.1 64-bit, on Windows 10 64-bit version 1909, the system needs to be rebooted to validate all settings in the registry. Otherwise will cause a lot of exceptions, like Path not found etc. -- components: Installation messages: 359756

[issue39247] dataclass defaults and property don't work together

2020-01-10 Thread Juan Arrivillaga
Juan Arrivillaga added the comment: So, after glancing at the source code: https://github.com/python/cpython/blob/ce54519aa09772f4173b8c17410ed77e403f3ebf/Lib/dataclasses.py#L869 During this processing of fields, couldn't you just special case property/descriptor objects? -- nosy: +j

[issue39292] syslog constants behind rfc

2020-01-10 Thread Batuhan
Batuhan added the comment: @vinay.sajip PR 17945 looks resolved this, can this issue be closed? -- nosy: +BTaskaya ___ Python tracker ___ _

[issue19557] ast - docs for every node type are missing

2020-01-10 Thread Batuhan
Batuhan added the comment: @pablogsal is working on documenting nodes (not every node type that exists, the ones that aren't deprecated) in PR 17812 -- nosy: +BTaskaya, pablogsal ___ Python tracker

[issue39292] syslog constants behind rfc

2020-01-10 Thread Vinay Sajip
Vinay Sajip added the comment: > can this issue be closed? Not quite yet. Waiting for feedback from the original reporter as to whether this change meets the requirements. I've also treated this as an enhancement rather than a bug, and so I am not currently planning to back-port these chang

[issue39289] crypt.crypt fail with OSError "[Errno 22] Invalid argument" on 3.9 where it didn't on 3.8

2020-01-10 Thread Vinay Sajip
Vinay Sajip added the comment: It appears that a check for the return value from the crypt/crypt_r primitives was added to fix bpo-38402. So, this is expected behaviour in Python 3.9. Change was in https://github.com/python/cpython/commit/0d3fe8ae4961bf551e7d5e42559e2ede1a08fd7c --

[issue39294] zipfile.ZipInfo objects contain invalid 'extra' fields.

2020-01-10 Thread Bram Stolk
New submission from Bram Stolk : This has been tested with Windows Python 2.7 and Python 3.8 If you get the ZipInfo objects of a ZIP file that is larger than 2GiB, then all the ZipInfo entries with a header offset > 2G will report phantom 'extra' data. import zipfile zipname = "reallybig.zip"

[issue39295] usage of bitfields in ctypes structures changed between 3.7.5 and 3.7.6

2020-01-10 Thread Matthew Newville
New submission from Matthew Newville : We have a library (https://github.com/pyepics/pyepics) that wraps several C structures for a communication protocol library that involves many C->Python callbacks. One of the simpler structures we wrap with ctypes is defined with typedef struct ca_acces

[issue39247] dataclass defaults and property don't work together

2020-01-10 Thread Juan Arrivillaga
Juan Arrivillaga added the comment: Actually, couldn't the following be a workaround, just set the property on the class after the class definition: import dataclasses import typing @dataclasses.dataclass class FileObject: uploaded_by:typing.Optional[None]=None def _uploaded_by_gett

[issue17013] Allow waiting on a mock

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue38567] urllib.parse.unquote_plus raises incorrect error message when string parameter is bytes

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue39296] Windows register keys

2020-01-10 Thread Tony
New submission from Tony : It would be more practical to name the Windows main registry keys 'python', with for example 'python32' or 'python64'. This would make searching the registry for registered python versions (single and/or multi users) a lot easier. -- components: Windows mes

[issue32021] Brotli encoding is not recognized by mimetypes

2020-01-10 Thread Cheryl Sabella
Cheryl Sabella added the comment: Now that two years have passed, is there any additional info as to whether this should be added or not? It does seem that the format is active (https://github.com/google/brotli). -- nosy: +cheryl.sabella versions: +Python 3.8, Python 3.9 -Python 2.7

[issue38901] [venv] Add a CLI flag to venv to use the pwd basename as the prompt

2020-01-10 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +17354 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17946 ___ Python tracker ___

[issue36556] Trashcan causing duplicated __del__ calls

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36516] Python Launcher can not recognize pyw file as Python GUI Script file type correctly.

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue17254] add thai encoding aliases to encodings.aliases

2020-01-10 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.9 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue39207] concurrent.futures.ProcessPoolExecutor does not properly reap jobs and spawns too many workers

2020-01-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +bquinlan, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue38330] httplib specifies content-length when transfer-encoding present

2020-01-10 Thread apmatthews
apmatthews added the comment: ping :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue39217] GC of a ctypes object causes application crash

2020-01-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: "Is this a bug" questions are often better asked on python-list. (I don't know.) If so, the bug needed to be tested on the current development version (3.9 now). Likely, someone on python-list will try given reproducible code. 2.7 has reach EOL. ---

  1   2   >