[issue27820] Possible bug in smtplib when initial_response_ok=False

2018-09-12 Thread iMath
iMath added the comment: I encountered the same issue , Dario D'Amico's changing works ! please fix the problem ! -- nosy: +redstone-cold ___ Python tracker ___

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +alexandre.vassalotti, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 35c94c765bf46e93a0d84e39dbc6eaaba40b1f36 by Miss Islington (bot) in branch '3.7': bpo-34652: Remove lchmod from the big func checking block. (GH-9247) https://github.com/python/cpython/commit/35c94c765bf46e93a0d84e39dbc6eaaba40b1f36

[issue34643] How to build Release Version of Python in Windows?

2018-09-12 Thread Valentin Zhao
Valentin Zhao added the comment: Or say what the difference of the python executable generated from msi installer and built from source? -- ___ Python tracker ___

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-12 Thread shuoz
shuoz added the comment: [--registers---] RAX: 0x7ff9d401e010 --> 0x0 RBX: 0x77f48d00 --> 0x1 RCX: 0x7ff8ab58c800 --> 0x77ea5d80 --> 0x2 RDX: 0x73ac47d8 --> 0x1 RSI: 0x25152303 RDI: 0xfff3a803c00 --> 0x0 RBP:

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-12 Thread shuoz
Change by shuoz : Added file: https://bugs.python.org/file47802/pk.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-12 Thread shuoz
New submission from shuoz : python version: Python 3.8.0a0 (heads/master:4ae8ece, Sep 13 2018, 09:48:16) [GCC 5.4.0 20160609] on linux I found a bug in python pickle.load func. Can cause memory exhaustion DDOS. ./python pk.py poc cat ./pk.py import pickle import sys filename =

[issue21109] tarfile: Traversal attack vulnerability

2018-09-12 Thread shashank
shashank added the comment: 1. I have done some changes to Lar's patch to address class of bugs which Jakub found. Attached patch safetarfile-2.diff Patch is for code only and is work in progress. 2. However, there maybe several edge cases which have not been covered. Going by types of

[issue34643] How to build Release Version of Python in Windows?

2018-09-12 Thread Valentin Zhao
Valentin Zhao added the comment: Sorry for not illustrating this clearly. What I need to build is a copyable, relocatable bunch of files which contains a directory like \bin then has an executable in it, so I can run Python directly. Notwithstanding I do not need a installer because I am

[issue34410] itertools.tee not thread-safe; can segfault interpreter when wrapped iterator releases GIL

2018-09-12 Thread hongweipeng
Change by hongweipeng : -- pull_requests: +8685 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: I still feel like there is an underlying issue within the import system that use of test.support.modules_cleanup somehow triggers that I never managed to really understand. but the particular issue in this bug that people were seeing frequently is fixed.

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 3e3d4a4b55cbef481486aaa68ee255f4928b9c3f by Miss Islington (bot) in branch '3.6': bpo-34200: Fix non-determinism of test_pkg (GH-9248) https://github.com/python/cpython/commit/3e3d4a4b55cbef481486aaa68ee255f4928b9c3f --

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 90f7d455b7f4bd53d3af11cb951347c9c8230399 by Miss Islington (bot) in branch '3.7': bpo-34200: Fix non-determinism of test_pkg (GH-9248) https://github.com/python/cpython/commit/90f7d455b7f4bd53d3af11cb951347c9c8230399 --

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 4ae8ece5cd4c5853b625381db13429f25512108d by Miss Islington (bot) (Gregory P. Smith) in branch 'master': bpo-34200: Fix non-determinism of test_pkg (GH-9248) https://github.com/python/cpython/commit/4ae8ece5cd4c5853b625381db13429f25512108d

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8684 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8683 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 2184fe5ba48a58cb51be144230622b84b372644c by Benjamin Peterson in branch '3.6': [3.6] bpo-34652: Remove lchmod from the big func checking block. (GH-9250) https://github.com/python/cpython/commit/2184fe5ba48a58cb51be144230622b84b372644c

[issue34595] PyUnicode_FromFormat(): add %T format for an object type name

2018-09-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8682 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: this is also present in 3.5, but it'll be up to the 3.5 release manager to cherry pick the test_pkg.py reliability fix into the 3.5 branch if it impacts them during the release process. -- versions: +Python 3.5

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8681 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34643] How to build Release Version of Python in Windows?

2018-09-12 Thread Steve Dower
Steve Dower added the comment: Have a look in the Tools/msi directory. The "build.bat" and "buildrelease.bat" files will generate the installers and other packages (note that you may need .NET 3.5 enabled on your machine). You may also be able to use the make_zip.py script to help create a

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ed709d5699716bf7237856dc20aba321e2dfff6d by Benjamin Peterson in branch 'master': bpo-34652: Remove lchmod from the big func checking block. (GH-9247) https://github.com/python/cpython/commit/ed709d5699716bf7237856dc20aba321e2dfff6d

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8680 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34641] Curiosity: f((a)=1) is not a syntax error -- why?

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c9a71dd223c4ad200a97aa320aef6bd3d45f8897 by Benjamin Peterson in branch 'master': closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212)

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Jeremy Kloth
Jeremy Kloth added the comment: Did you attempt to use the 3-line change I posted earlier? I stepped through to test line-by-line to find the offending piece of code. And it was indeed the open() call causing the test-tree to be processed prior to it being completed. Thus making the .py

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 21a808230aa33741f1dd9bf38f0e283c1b72210e by Miss Islington (bot) in branch '3.6': closes bpo-34654: Tolerate + at the beginning of large years. (GH-9238) https://github.com/python/cpython/commit/21a808230aa33741f1dd9bf38f0e283c1b72210e

[issue33649] asyncio docs overhaul

2018-09-12 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 5b7cbd602e57265604d6c099fd174b1c7917f861 by Yury Selivanov (Carol Willing) in branch 'master': bpo-33649: Edit asyncio eventloop doc - second pass (GH-9233) https://github.com/python/cpython/commit/5b7cbd602e57265604d6c099fd174b1c7917f861

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +8679 stage: -> patch review ___ Python tracker ___ ___

[issue34648] Confirm the types of parameters of traceback.format_list and traceback.StackSummary.from_list post-3.5

2018-09-12 Thread Sebastian Rittau
Change by Sebastian Rittau : -- nosy: +srittau ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset ea2fcd3db65b796ad3eda1619a903cefb1aa9363 by Miss Islington (bot) in branch '3.7': closes bpo-34654: Tolerate + at the beginning of large years. (GH-9238) https://github.com/python/cpython/commit/ea2fcd3db65b796ad3eda1619a903cefb1aa9363

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: I can make the test reliable... but I wouldn't say I fully understand the ultimate cause of the problem. The reliability fix for test_pkg is to stop using test.support.modules_setup() and test.support.modules_cleanup() in the setUp() and tearDown()

[issue34655] Support sendfile in asyncio streams API

2018-09-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Support sendfile in asyncio streams API versions: Python 3.8 ___ Python tracker

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset bdace2ea53c578184235729a4cf383891084cc70 by Miss Islington (bot) in branch '3.6': closes bpo-34652: Always disable lchmod on Linux. (GH-9234) https://github.com/python/cpython/commit/bdace2ea53c578184235729a4cf383891084cc70 --

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8678 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 98344a4f2f09ddae295352ec54fae6388446eeaf by Miss Islington (bot) in branch '3.7': closes bpo-34652: Always disable lchmod on Linux. (GH-9234) https://github.com/python/cpython/commit/98344a4f2f09ddae295352ec54fae6388446eeaf -- nosy:

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Wed, Sep 12, 2018, at 16:03, Joseph Sible wrote: > 2. Most of the time, counting on receiving an EINTR results in race > conditions. Our code seems to be affected by this too. Even on glibc, a > signal at just the "right" time could result in it not

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 69e96910153219b0b15a18323b917bd74336d229 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-34652: Always disable lchmod on Linux. (GH-9242) https://github.com/python/cpython/commit/69e96910153219b0b15a18323b917bd74336d229 --

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8677 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e1a34ceb541ef87e03bb428630097dacc9c658e5 by Benjamin Peterson in branch 'master': closes bpo-34654: Tolerate + at the beginning of large years. (GH-9238) https://github.com/python/cpython/commit/e1a34ceb541ef87e03bb428630097dacc9c658e5

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8676 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Joseph Sible
Joseph Sible added the comment: Re musl changing their behavior, see https://www.openwall.com/lists/musl/2018/09/07/1 and the resulting thread. In addition to the old kernel version issue, two other issues were raised: 1. EINTR makes programming mistakes more likely, as people won't think to

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-12 Thread Vladimir Matveev
Vladimir Matveev added the comment: I think the problem is that FFI layer assumes that MSVC compiler will try to pass any structure less than 8 bytes in registers whereis it is not always true: To be returned by value in RAX, user-defined types must have a length of 1, 2, 4, 8, 16, 32, or

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e105e551dbf072d773aaa1fd6f8cbda218c273f0 by Benjamin Peterson in branch '3.6': [3.6] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9237)

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0aef909d630ff40614cde0c58796a8bdf66c67eb by Benjamin Peterson in branch '3.7': [3.7] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9236)

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8674 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8673 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8672 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 40caa05fa4d1810a1a6bfc34e0ec930c351089b7 by Benjamin Peterson in branch 'master': closes bpo-34652: Always disable lchmod on Linux. (GH-9234) https://github.com/python/cpython/commit/40caa05fa4d1810a1a6bfc34e0ec930c351089b7 --

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8670 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8671 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8669 stage: -> patch review ___ Python tracker ___ ___

[issue34654] test_time needs to handle '+' at the beginning of large years

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : POSIX allows the '%Y' format in strftime to start with a '+' sign for years with more than 4 digits. test_time is not tolerant of that, which leads to failures like this with musl: ==

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Reimplementing locks with eventfd can be another issue. Such a change can only land in a new Python version, though. We'll just have to consider musl unsupported for interrupting locks in our current maintenance releases as I have done. How likely is it

[issue32933] mock_open does not support iteration around text files.

2018-09-12 Thread Anthony Flury
Anthony Flury added the comment: Berker, Thanks for your work on getting this complete. I would strongly support backporting if possible. 3.5 and 3.6 will be in common use for a while (afaik 3.6 has only now got delivered to Ubuntu as the default Python 3), and this does fix does allow full

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Joseph Sible
Joseph Sible added the comment: How is this considered "fixed"? Why couldn't this be actually fixed by using eventfd instead of semaphores when they're available, for example? -- ___ Python tracker

[issue21258] Add __iter__ support for mock_open

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: Closing this as a duplicate of issue 32933. Let's discuss backporting to maintenance branches there. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> mock_open does not support iteration around text

[issue32933] mock_open does not support iteration around text files.

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Anthony.I consider this a new feature, so I removed 3.6 and 3.7 from the versions field. We can backport to 3.7 if other core developers think that it's worth to fix in the latest maintenance branch. -- resolution: -> fixed

[issue32933] mock_open does not support iteration around text files.

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 2087023fdec2c89070bd14f384a3c308c548a94a by Berker Peksag (Tony Flury) in branch 'master': bpo-32933: Implement __iter__ method on mock_open() (GH-5974) https://github.com/python/cpython/commit/2087023fdec2c89070bd14f384a3c308c548a94a

[issue21258] Add __iter__ support for mock_open

2018-09-12 Thread Anthony Flury
Anthony Flury added the comment: The lack of dunder_iter support on mock_open has been resolved in Issue 32933 (Git Hub 5974). Can I suggest that once the above PR is merged into 3.8 (due imminently allegedly ), that we should then backport that fix into 3.5, 3.6 & 3.7 as a minimum ? I am

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8668 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8667 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c7042224b8a67748f125c22836862483f81a87a6 by Benjamin Peterson in branch 'master': closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9228)

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: kinda poking at ideas here, but from a lunch conversation could this be related to the filesystem iteration order within the temp directories. assigned to me while i investigate possibilities. -- ___ Python

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 669429fb583031c7c87392e30b065e99a2d8ccda by Berker Peksag (Miss Islington (bot)) in branch '2.7': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/669429fb583031c7c87392e30b065e99a2d8ccda

[issue34455] Tkinter crashing when pressing Command + ^ (OSX)

2018-09-12 Thread Ned Deily
Ned Deily added the comment: The crash can also be reproduced with a Spanish keyboard selected and using the Tcl/Tk wish shell edit text demo. So it's definitely not a Python (tkinter or IDLE) issue. I see that Kevin Walzer, the primary maintainer for Tk on macOS, is CC here. If anyone

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Alexey! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6d726868cd1743623a28b8e048e31b9c3c52a399 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/6d726868cd1743623a28b8e048e31b9c3c52a399

[issue33649] asyncio docs overhaul

2018-09-12 Thread Carol Willing
Change by Carol Willing : -- pull_requests: +8666 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34653] PyParser_SimpleParseStringFilename should be deleted

2018-09-12 Thread Eric V. Smith
New submission from Eric V. Smith : There are 6 PyParser_SimpleParse* functions in pythonrun.c. 5 of them are documented in c-api/veryhigh.rst and appear in pythonrun.h. But PyParser_SimpleParseStringFilename is not documented and is not in any .h file. I propose we delete

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: and I do agree that it is somewhat random. while i have some situations where I can reproduce this, i have others where I can rerun exactly the same binary and single process single thread process running just test_pkg.py and nothing else where the

[issue34200] importlib: python -m test test_pkg fails

2018-09-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: this also happens in 3.6. whatever the problem is, it has been around a long time. -- priority: release blocker -> deferred blocker versions: +Python 3.6 ___ Python tracker

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8665 stage: -> patch review ___ Python tracker ___ ___

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset ec4d099b9f1951b08d1a53181c278173ff6a0cc1 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/ec4d099b9f1951b08d1a53181c278173ff6a0cc1

[issue34652] never enable lchmod on Linux

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : You can't modify the mode of symbolic links on Linux. Thus, lchmod is a useless function. libc may, however, define a lchmod stub that always returns an error. autoconf has a check that detects the dummy stub for glibc, but it detects lchmod as working

[issue33649] asyncio docs overhaul

2018-09-12 Thread Carol Willing
Change by Carol Willing : -- pull_requests: +8664 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 5a435eac1b83f080c9dfceff0de0d639541e4bcb by Miss Islington (bot) in branch '3.6': closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) https://github.com/python/cpython/commit/5a435eac1b83f080c9dfceff0de0d639541e4bcb --

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset b608fcd444c00ff37a19d34e4eeadb1221fb6436 by Miss Islington (bot) in branch '3.7': closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) https://github.com/python/cpython/commit/b608fcd444c00ff37a19d34e4eeadb1221fb6436 --

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8663 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8661 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8662 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6f82bffd2df63a4072b3f0483cdbe93ddedb87e9 by Berker Peksag (Alexey Izbyshev) in branch 'master': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/6f82bffd2df63a4072b3f0483cdbe93ddedb87e9

[issue34651] Disallow fork in a subinterpreter.

2018-09-12 Thread Eric Snow
New submission from Eric Snow : os.fork() potentially has some problematic behavior when called from a subinterpreter. In additional to the normal fork+threads madness, there's the question of what to do with existing subinterpreters. The simplest solution is to simply disallow fork in a

[issue34282] Enum._convert shadows members named _convert

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8660 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34630] Don't log ssl cert errors in asyncio

2018-09-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 0dd71807a98c4a86ece2aea869ea99f09204b16b by Andrew Svetlov in branch 'master': bpo-34630: Skip logging SSL certificate errors by asyncio code (GH-9169) https://github.com/python/cpython/commit/0dd71807a98c4a86ece2aea869ea99f09204b16b

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8659 stage: -> patch review ___ Python tracker ___ ___

[issue34650] test_posix fails with musl

2018-09-12 Thread Benjamin Peterson
New submission from Benjamin Peterson : ERROR: test_get_and_set_scheduler_and_param (test.test_posix.PosixTester) -- Traceback (most recent call last): File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_posix.py",

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8658 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5b10d5111d7a855297654af9045f8907b7d3dd08 by Benjamin Peterson in branch 'master': closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) https://github.com/python/cpython/commit/5b10d5111d7a855297654af9045f8907b7d3dd08

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8657 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +8656 stage: -> patch review ___ Python tracker ___ ___

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : The return value of PyUnicode_InternFromString() is not checked for NULL and then dereferenced at three places in https://github.com/python/cpython/blob/0bd1a2dcfdf36b181385ae61361e7692f4ebb0fd/Modules/_json.c#L1369 Reported by Svace static analyzer.

[issue34648] Confirm the types of parameters of traceback.format_list and traceback.StackSummary.from_list post-3.5

2018-09-12 Thread Nathaniel Manista
Nathaniel Manista added the comment: ... and while we're here, how about StackSummary.from_list's "a_list" parameter as well: 3) Can it be Iterable? It looks like it can be Iterable? Is it fine for it to be Iterable? 4) Should the component type of "a_list" be FrameSummary? Is the support

[issue34648] Confirm the type of traceback.format_list post-3.5

2018-09-12 Thread Nathaniel Manista
New submission from Nathaniel Manista : So I'm fixing a bug in typeshed's accounting of the traceback module (https://github.com/python/typeshed/pull/2436) and the documented semantics of traceback.format_list don't quite smell to me what I think they might be intended to be: 1) I know it

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8655 stage: -> patch review ___ Python tracker ___ ___

[issue31577] crash in os.utime() in case of a bad ns argument

2018-09-12 Thread miss-islington
miss-islington added the comment: New changeset 329ea4ef7cc3a907a64c6f0702fc93206b6744de by Miss Islington (bot) in branch '3.7': bpo-31577: Fix a crash in os.utime() in case of a bad ns argument. (GH-3752) https://github.com/python/cpython/commit/329ea4ef7cc3a907a64c6f0702fc93206b6744de

[issue34647] print sys.thread_info in regrtest header

2018-09-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, this is already in "make pythoninfo", which is enough, I think. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-12 Thread Ned Deily
Ned Deily added the comment: PR 9223 adds Nick's proposed wording to the 3.7 What's News. -- ___ Python tracker ___ ___

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-12 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +8654 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list

  1   2   >