[issue37709] CSVReader ignores dialect.lineterminator

2020-07-21 Thread Daniel Smejkal
Change by Daniel Smejkal : -- assignee: -> docs@python components: +2to3 (2.x to 3.x conversion tool), Documentation, email nosy: +barry, docs@python, r.david.murray ___ Python tracker

[issue41288] Pickle crashes unpickling invalid NEWOBJ_EX opcode

2020-07-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This fix touched the unpickling code, and the test crashed during pickling, so it is not directly related. But it may be some compiler glitch, when changing one part of code affects compilation of other parts of code. The next run on the buildbot was

[issue41361] Converting collections.deque methods to Argument Clinic

2020-07-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now Argument Clinic generates more efficient (but more cumbersome) code, so there may be new reasons of using it. Please test the performance of the deque constructor (deque(), deque(()), deque((), 10), deque((), maxlen=10)), methods index() and rotate(),

[issue41366] sign-conversion warning in 3.9 beta

2020-07-21 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +20731 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21592 ___ Python tracker

[issue41366] sign-conversion warning in 3.9 beta

2020-07-21 Thread Henry Schreiner
New submission from Henry Schreiner : The macro Py_UNICODE_COPY was replaced by a function in CPython 3.9, and that function cannot compile with full warnings enabled + warnings as errors under Clang. The problematic line: Py_DEPRECATED(3.3) static inline void Py_UNICODE_COPY(Py_UNICODE

[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-21 Thread Chuck
New submission from Chuck : on Windows 10 64 after install of Python 3.8.5 and after install of decrypt_bitcoinj_seed.pyw <--- and after double click, I get "Python Launcher is sorry to say... No pyvenv.cfg file". I have tried multiple reinstalls of Python to no avail. When a search is

[issue41361] Converting collections.deque methods to Argument Clinic

2020-07-21 Thread Dong-hee Na
Dong-hee Na added the comment: > collections.deque was intentionally not converted to Argument Clinic, Oh, I see .. -- ___ Python tracker ___

[issue41364] Optimise uuid platform detection

2020-07-21 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20730 pull_request: https://github.com/python/cpython/pull/21591 ___ Python tracker ___

[issue41364] Optimise uuid platform detection

2020-07-21 Thread miss-islington
miss-islington added the comment: New changeset 00466db22168579509fe6aa6cb47cdd89dfb9141 by Miss Islington (bot) in branch '3.9': bpo-41364: Reduce import overhead of uuid module (GH-21586) https://github.com/python/cpython/commit/00466db22168579509fe6aa6cb47cdd89dfb9141 --

[issue41364] Optimise uuid platform detection

2020-07-21 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +20729 pull_request: https://github.com/python/cpython/pull/21589 ___ Python tracker

[issue41364] Optimise uuid platform detection

2020-07-21 Thread Steve Dower
Steve Dower added the comment: New changeset bf2f76ec0976c09de79c8827764f30e3b6fba776 by Steve Dower in branch 'master': bpo-41364: Reduce import overhead of uuid module (GH-21586) https://github.com/python/cpython/commit/bf2f76ec0976c09de79c8827764f30e3b6fba776 --

[issue41100] Build failure on macOS 11 (beta)

2020-07-21 Thread Lawrence D'Anna
Change by Lawrence D'Anna : -- pull_requests: +20728 pull_request: https://github.com/python/cpython/pull/21588 ___ Python tracker ___

[issue35328] Set a environment variable for venv prompt

2020-07-21 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz nosy_count: 6.0 -> 7.0 pull_requests: +20727 pull_request: https://github.com/python/cpython/pull/21587 ___ Python tracker ___

[issue41364] Optimise uuid platform detection

2020-07-21 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +20726 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21586 ___ Python tracker

[issue41364] Optimise uuid platform detection

2020-07-21 Thread Steve Dower
New submission from Steve Dower : The uuid module calls platform.system() multiple times, even when the result is known from sys.platform. We can avoid some of these. -- assignee: steve.dower components: Library (Lib) messages: 374079 nosy: steve.dower priority: normal severity:

[issue41288] Pickle crashes unpickling invalid NEWOBJ_EX opcode

2020-07-21 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41361] Converting collections.deque methods to Argument Clinic

2020-07-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue20180. collections.deque was intentionally not converted to Argument Clinic, but some of methods were made using more efficient code for parsing arguments by inlining the code generated by Argument Clinic at that time. -- nosy:

[issue41363] python 3.8.5 folder not visible in https://www.python.org/ftp/python/ listing

2020-07-21 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. The python.org website sits behind a content delivery network service and sometimes it takes a little while for pages to be updated in the cache. It should be there now. -- nosy: +ned.deily resolution: -> fixed stage: ->

[issue41363] python 3.8.5 folder not visible in https://www.python.org/ftp/python/ listing

2020-07-21 Thread Андрей Перевёрткин
New submission from Андрей Перевёрткин : Open https://www.python.org/ftp/python/ and observe that there is no 3.8.5 folder. Open https://www.python.org/ftp/python/3.8.5/ and observe that all the expected files are present. Conclusion: https://www.python.org/ftp/python/ index needs an update.

[issue41363] python 3.8.5 folder not visible in https://www.python.org/ftp/python/ listing

2020-07-21 Thread SilentGhost
Change by SilentGhost : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-21 Thread Eryk Sun
Eryk Sun added the comment: > This is exactly what it does. The fact that it is SUBSYSTEM:WINDOWS Sorry, I neglected to check: C:\>python3 script.py 2>&1 | more Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640

[issue41362] Regenerating parser table fails (windows)

2020-07-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue41362] Regenerating parser table fails (windows)

2020-07-21 Thread Constant Marks
New submission from Constant Marks : When calling `build.bat -d --regen' the graminit.c and graminit.h files are not generated with the following warnings: Time Elapsed 00:02:49.06 Killing any running python_d.exe instances... Getting build info from "C:\Program Files\Git\cmd\git.exe"

[issue41359] argparse mutually exclusive group does not exclude in some cases

2020-07-21 Thread paul j3
paul j3 added the comment: This is the result of how default values are handled with '?' (and '*') nargs. At the start of nested `take_action` function (which handles all actions) is this code: argument_values = self._get_values(action, argument_strings) # error if

[issue41337] strangnedd with the parser

2020-07-21 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to close this as not a python bug. If someone gets some evidence to the contrary, we can re-open it. -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python

[issue41299] Python3 threading.Event().wait time is twice as large as Python27

2020-07-21 Thread SD
SD added the comment: So there is no advised way around this then. I am currently using time.sleep() to hit my 60hz. -- ___ Python tracker ___

[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-21 Thread Steve Dower
Steve Dower added the comment: > Windows 10 has a "Feedback Hub" to report problems and search for existing > feedback that's similar. This is the correct channel, but ultimately the "real" issue tracker is private, so all you'll ever get is "not finished yet" that suddenly becomes

[issue41337] strangnedd with the parser

2020-07-21 Thread Steve Stagg
Steve Stagg added the comment: This appears to be a bug with the google colab site. For whatever reason, if you try to evaluate a statement that is a line with a leading comma (afaik, never valid python), then colab does something wierd by wrapping the arguments in quotes, and evaluating

[issue41360] method _tunnel does not allow for a standard proxy authentication solution

2020-07-21 Thread Ilia Androshchuk
Change by Ilia Androshchuk : -- nosy: +an7e ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41361] Converting collections.deque methods to Argument Clinic

2020-07-21 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +20725 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21584 ___ Python tracker ___

[issue41361] Converting collections.deque methods to Argument Clinic

2020-07-21 Thread Dong-hee Na
New submission from Dong-hee Na : There was no performance regressin with this change. -- components: Argument Clinic messages: 374068 nosy: corona10, larry priority: normal severity: normal status: open title: Converting collections.deque methods to Argument Clinic type: enhancement

[issue41360] method _tunnel does not allow for a standard proxy authentication solution

2020-07-21 Thread Alexey
New submission from Alexey : The _tunnel method of the HTTPConnection class in the http.client module, if the CONNECT request is unsuccessful, closes the connection and raises an OSError without returning the response data. This behavior does not allow to implement the authentication

[issue41345] Remote end closed connection without response

2020-07-21 Thread Ilia Androshchuk
Ilia Androshchuk added the comment: Hi Michal, I found some information in the package documentation Please check this page https://requests.readthedocs.io/en/master/user/advanced/#keep-alive -- ___ Python tracker

[issue41359] argparse mutually exclusive group does not exclude in some cases

2020-07-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41359] argparse mutually exclusive group does not exclude in some cases

2020-07-21 Thread Krzysiek
New submission from Krzysiek : The documentation for `ArgumentParser.add_mutually_exclusive_group` states: "argparse will make sure that only one of the arguments in the mutually exclusive group was present on the command line". This is not the case in certain circumstances: ```python

[issue41100] Build failure on macOS 11 (beta)

2020-07-21 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +20724 pull_request: https://github.com/python/cpython/pull/21583 ___ Python tracker ___

[issue41349] idle not going full screen when I rotate screen 90° on mac

2020-07-21 Thread Tim Z
Tim Z added the comment: It works even after restart. I thought I had to run it after each restart I did it in idle only once. So no need to do it again in python -- ___ Python tracker

[issue41358] Unable to uninstall Python launcher using command line

2020-07-21 Thread hap
New submission from hap : Trying to create a command line keeping the following in mind, and my script is python-3.8.4.exe" /quiet InstallLauncherAllUsers=0 Include_pip=1 Include_tcltk=1 Include_test=1 PrependPath=1 1. Python installs in user profile 2. Install pip as a part of installation

[issue29056] logging.Formatter doesn't respect more than one formatException()

2020-07-21 Thread Matthew Davis
Matthew Davis added the comment: The documentation says "you will have to clear the cached value" What does that mean? How do I clear the cached value? Is there a flush function somewhere? Do I `del` the attribute? Set the attribute to None? The documentation as it stands today does not

[issue41349] idle not going full screen when I rotate screen 90° on mac

2020-07-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I meant to run 'import tkinter; tkinter.Tk()' directly in python, without IDLE involved, in your portrait window. Do that by running terminal in the portrait window. Then try to maximize. Yes we need more volunteers, but #38946 is an issue between macOS

[issue41357] pathlib.Path.resolve incorrect os.path equivalent

2020-07-21 Thread Jendrik Weise
New submission from Jendrik Weise : According to the table at the bottom of the pathlib documentation Path.resolve() is equivalent to os.path.abspath(path). In contrast to the latter Path.resolve() does follow symlinks though, making it more similar to os.path.realpath(path). --

[issue41349] idle not going full screen when I rotate screen 90° on mac

2020-07-21 Thread Tim Z
Tim Z added the comment: I have 2nd screen that rotate to portrait. Is there a way to launch "import tkinter; tkinter.Tk()" at idle start? Or I better wait the next update? It's not related but... ...why idle3.8 don't have cut/copy/paste on right click? (I mean the paste is broken when you

[issue41356] Convert bool.__new__ to argument clinic

2020-07-21 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +20723 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21581 ___ Python tracker ___

[issue41356] Convert bool.__new__ to argument clinic

2020-07-21 Thread Dennis Sweeney
New submission from Dennis Sweeney : Benchmarked on my machine (Windows 10): .\python.bat -m pyperf timeit -s "from collections import deque; x = [[], [1]] * 1_000_000" "deque(map(bool, x), maxlen=0)" --- Win32 build configuration --- Master: 105 ms +- 2 ms With

[issue41355] os.link(..., follow_symlinks=False) without linkat(3)

2020-07-21 Thread Ronald Oussoren
New submission from Ronald Oussoren : The code for os.link() seems to ignore follow_symlinks when the linkat(2) function is not available on the platform, which results in unexpected behaviour when "follow_symlinks" is false. -- components: Extension Modules messages: 374057 nosy:

[issue41354] filecmp.cmp documentation does not match actual code

2020-07-21 Thread Christof Hanke
Change by Christof Hanke : -- keywords: +patch pull_requests: +20722 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21580 ___ Python tracker ___

[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-21 Thread Eryk Sun
Eryk Sun added the comment: > there would still be value in having a known reporting channel Windows 10 has a "Feedback Hub" to report problems and search for existing feedback that's similar. You could report a problem with the "AppInstaller" app. In this case, the app execution alias

[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2020-07-21 Thread Hugo
Hugo added the comment: It would seem that the main issue here lies in the documentation not being obvious enough for some of us. If you're familiar with lower level OS APIs, it might be clear, but as an app developer, some things slip by. The key difference is that TemporaryFile will be

[issue41354] filecmp.cmp documentation does not match actual code

2020-07-21 Thread Christof Hanke
New submission from Christof Hanke : help(filecmp.cmp) says: """ cmp(f1, f2, shallow=True) Compare two files. Arguments: f1 -- First file name f2 -- Second file name shallow -- Just check stat signature (do not read the files). defaults to

[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-21 Thread Paul Moore
Paul Moore added the comment: Understood that these would be duplicates, and I certainly don't want to put more pressure on you, but I think there would still be value in having a known reporting channel for people to say "I am also affected by this": * MS Developers get a more objective

[issue41100] Build failure on macOS 11 (beta)

2020-07-21 Thread Lawrence D'Anna
Change by Lawrence D'Anna : -- pull_requests: +20721 pull_request: https://github.com/python/cpython/pull/21577 ___ Python tracker ___