[issue40049] tarfile cannot extract from stdin

2020-03-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +18546 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19187 ___ Python tracker _

[issue39943] Meta: Clean up various issues in C internals

2020-03-26 Thread Andy Lester
Andy Lester added the comment: It doesn't quiet any compiler warnings given the default compiler warnings that ./configure sets. However, it does quiet the -Wcast-qual compiler warning that could be a helpful addition some time in the future. I think it would be great, for example, if it

[issue39908] Remove unused args from init_set_builtins_open and _Py_FatalError_PrintExc in Python/pylifecycle.c

2020-03-26 Thread Andy Lester
Change by Andy Lester : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue40049] tarfile cannot extract from stdin

2020-03-26 Thread Jonathan Hsu
Jonathan Hsu added the comment: This is caused when tarfile tries to write a symlink that already exists. Any exceptions to os.symlink() as handled as if the platform doesn't support symlinks, so it scans the entire tar to try and find the linked files. When it resumes extraction, it needs t

[issue40081] List sorting

2020-03-26 Thread Sivasundar Nagarajan
New submission from Sivasundar Nagarajan : Good day. Hope you are safe and wish the same with the present situation. Need you help please in understanding the below function of Python. Steps - 1. tried assigning the below values in the list and named it as a 2.if I print, it prints in the

[issue40080] Stripping annotations out as a new optimization mode

2020-03-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Duplicate of https://bugs.python.org/issue3646 This was rejected because it breaks functools.singledispatch(), typing.NamedTuple(), and dataclasses.dataclass(). Also the space savings was negligible -- typically take much less space than for docstrings b

[issue40081] List sorting

2020-03-26 Thread 朱聖黎
朱聖黎 added the comment: I think it's an expected behavior. `a.sort()` sorts the list itself in place, so it returns None. If you want a sorted list returned, you need to use `sorted` function. https://docs.python.org/3/library/functions.html#sorted -- nosy: +akarei __

[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2020-03-26 Thread Zhu Sheng Li
Zhu Sheng Li added the comment: I submitted a PR and get reviewed by @lazka. Is there anything I should do for pushing it to next step? -- ___ Python tracker ___

[issue40077] Convert static types to PyType_FromSpec()

2020-03-26 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40077] Convert static types to PyType_FromSpec()

2020-03-26 Thread Dong-hee Na
Change by Dong-hee Na : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38246] pathlib.resolve and .absolute leave trailing tilde in home expansion

2020-03-26 Thread Andrea Bergonzo
Change by Andrea Bergonzo : -- nosy: +andybergon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40081] List sorting

2020-03-26 Thread Eric V. Smith
Eric V. Smith added the comment: In the future, please use the python-tutor or python-list mailing lists if you need help. If you still think you've found a bug in python, then open an issue here. https://mail.python.org/mailman/listinfo/tutor https://mail.python.org/mailman/listinfo/python-

[issue40081] List sorting

2020-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue40081] List sorting

2020-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40082] Assertion failure in trip_signal

2020-03-26 Thread Alexander Riccio
New submission from Alexander Riccio : While trying to make sense of some static analysis warnings for the Windows console IO module, I Ctrl+C'd in the middle of an intentionally absurd __repr__ output, and on proceeding in the debugger (which treated it as an exception), I immediately hit th

[issue40082] Assertion failure in trip_signal

2020-03-26 Thread Alexander Riccio
Alexander Riccio added the comment: Lmao the name mangling comes up as a mailto. That's interesting. -- ___ Python tracker ___ ___

[issue40082] Assertion failure in trip_signal

2020-03-26 Thread Alexander Riccio
Alexander Riccio added the comment: Hmmm, happens every time I interrupt while attached. Is there some obvious gotcha in the docs that I'm missing? -- ___ Python tracker ___

<    1   2