[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9fe42b49c79c453d905d0395150ba0607fbab18b by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-37393: Fix deprecation warnings in test_ntpath. (GH-14357) https://github.com/python/cpython/commit/9fe42b49c79c453d905d0395150ba0607fbab18b

[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14184 pull_request: https://github.com/python/cpython/pull/14367 ___ Python tracker ___

[issue36974] Implement PEP 590

2019-06-25 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 26fe6c35374fa32577b230b856a92a3b094e08ed by Petr Viktorin (Miss Islington (bot)) in branch '3.8': bpo-36974: inherit tp_vectorcall_offset unconditionally (GH-13858) (GH-14342)

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread John Belmonte
New submission from John Belmonte : A case came up where I'd like a non-async context manager to be able to decorate both regular and async functions. I wonder why contextlib.ContextDecorator doesn't just support both cases. The implementation seems straightforward, switching on

[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14183 pull_request: https://github.com/python/cpython/pull/14366 ___ Python tracker ___

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Dima Tisnek
New submission from Dima Tisnek : Example: # mre.py from xml.etree import ElementTree XML = "foobar" a = ElementTree.fromstring(XML) print(list(a.itertext())) # Testing 3.7.3 vs. 3.8.0b1; macOS … ~> python3.7 mre.py ['foobar'] … ~> python3.8 mre.py ['bar'] -- components: Library

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset d32594ad27f48a898d42a0ea30b9d007b1c57de9 by Miss Islington (bot) in branch '3.8': bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) https://github.com/python/cpython/commit/d32594ad27f48a898d42a0ea30b9d007b1c57de9

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +XML ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Bisecting gives me commit 43851a202c (issue36673) before which "foobar" was returned and after the commit "bar" is returned. -- nosy: +eli.bendersky, scoder, serhiy.storchaka, xtreak versions: +Python 3.9

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14186 pull_request: https://github.com/python/cpython/pull/14369 ___ Python tracker ___

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14185 pull_request: https://github.com/python/cpython/pull/14368 ___ Python tracker ___

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 894263ba80af4b7733c2df95b527e96953922656 by Serhiy Storchaka in branch 'master': bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) https://github.com/python/cpython/commit/894263ba80af4b7733c2df95b527e96953922656

[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Zackery! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset 20372d65243d5573fba17d026681a3b24d95c284 by Miss Islington (bot) in branch '3.8': bpo-37393: Fix deprecation warnings in test_ntpath. (GH-14357) https://github.com/python/cpython/commit/20372d65243d5573fba17d026681a3b24d95c284 --

[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset 695d7ad710de17b33870d34e0fff04a31f0f3e2b by Miss Islington (bot) in branch '3.7': bpo-37393: Fix deprecation warnings in test_ntpath. (GH-14357) https://github.com/python/cpython/commit/695d7ad710de17b33870d34e0fff04a31f0f3e2b --

[issue37371] Optimize and refactor readline().

2019-06-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What are results of benchmarking? Could you please provide a test data so I could reproduce benchmarking? -- ___ Python tracker ___

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +asvetlov, xtreak, yselivanov versions: +Python 3.9 ___ Python tracker ___ ___

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: I wonder why do you need it? What is your use case? A code snippet can help a lot. -- ___ Python tracker ___

[issue7946] Convoy effect with I/O bound threads and New GIL

2019-06-25 Thread Armin Rigo
Armin Rigo added the comment: Note that PyPy has implemented a GIL which does not suffer from this problem, possibly using a simpler approach than the patches here do. The idea is described and implemented here:

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-06-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, Stream doc should be a combination of StreamReader and StreamWriter with small changes/additions. StreamReader and StreamWriter should be kept in the doc. Regarding docstrings: there is no strong requirement (we don't provide docstrings for all asyncio

[issue37371] Optimize and refactor readline().

2019-06-25 Thread Shlomi Fish
Shlomi Fish added the comment: @Serhiy: here is the test data - https://www.shlomifish.org/Files/files/arcs/0fc-log--python-37371-issue.7z (shlomif[0fc]:$this$ sha256sum 0fc-log--python-37371-issue.7z aad93f103e255222ab8a06b9cc1c0930c6fc451ea148c46e098c74aa19aec021

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +3.8regression stage: -> needs patch type: -> behavior ___ Python tracker ___ ___

[issue37396] [2.7] PCbuild/pythoncore.vcxproj kills the wrong program

2019-06-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14187 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14370 ___ Python tracker ___

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14188 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14373 ___ Python tracker ___

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread John Belmonte
John Belmonte added the comment: PerfTimer is a reusable, non-reentrant context manager implemented as a class. There are already use cases of ContextDecorator described in the contextlib documentation, such as the track_entry_and_exit logger. What reason would you have for such context

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: I merged my pythoninfo change, more complete pythoninfo from the buildbot: os.getgid: 1002 os.getgrouplist: 1002 os.getgroups: 1002 os.getuid: 1002 pwd.getpwuid(1002): pwd.struct_passwd(pw_name='buildbot', pw_passwd='*', pw_uid=1002, pw_gid=1002,

[issue37399] XML text behaviour change if there are comments

2019-06-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add the Python implementation seems to return "foobar" on commenting the C accelerators imports. So I guess it's a problem with the C implementation in the commit being different from Python implementation. --

[issue37396] [2.7] PCbuild/pythoncore.vcxproj kills the wrong program

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 49032fa7e1cc1b6dc12b898daac24b75bae7572c by Victor Stinner in branch '2.7': bpo-37396, PCbuild: Include "_d" in "Killing any running ..." message (GH-14370) https://github.com/python/cpython/commit/49032fa7e1cc1b6dc12b898daac24b75bae7572c

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks Karthikeyan Singaravelan for the bug report of the regression. You're right that I misunderstood it. Thanks Serhiy for the second fix. The regression should now be fixed as well, I close the issue again. -- resolution: -> fixed stage: patch

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sorry, I still have no idea what is the code for PerfTimer class. -- ___ Python tracker ___ ___

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread Kubilay Kocak
Kubilay Kocak added the comment: And I just remembered that I had to restart the build worker service on that host (koobs-freebsd10) this morning as I was receiving messaging that the worker had gone missing. I ran `[koobs@10-STABLE-amd64:~] sudo /usr/local/etc/rc.d/buildslave restart`

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9cb274114c844f9b1c13028f812926c987a7b4a7 by Victor Stinner in branch 'master': bpo-37400: pythoninfo logs getpwuid and getgrouplist (GH-14373) https://github.com/python/cpython/commit/9cb274114c844f9b1c13028f812926c987a7b4a7 --

[issue18906] Create a way to always run tests in subprocesses within regrtest

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: Since 2013, the Python test suite evolved a lot. First, we fixed hundreds of bugs where tests leaked various kinds of resources: processes, threads, file descriptors, memory, etc. Second, python3 -m test -j0 now runs each test file in a subprocess. Maybe we

[issue17554] Compact output for regrtest

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: This issue has no activity for 5 years. regrtest output evolved a lot since that one. I like "verbose" output on buildbots to be able to debug when something goes wrong. -- resolution: -> out of date stage: patch review -> resolved status: open ->

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-25 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset d917cfe4051d45b2b755c726c096ecfcc4869ceb by Petr Viktorin (Jeroen Demeyer) in branch '3.8': [3.8] bpo-37250: put back tp_print for backwards compatibility (GH-14193)

[issue34606] Unable to read zip file with extra

2019-06-25 Thread Andreas Gäer
Andreas Gäer added the comment: I'm a little bit puzzled that this bug is closed as "not a bug" despite the fact that all versions of python allow the user to create "invalid" ZIP files and all version up to 3.7 are able to read those "invalid" files. Currently we're stuck with a lot of

[issue37401] pygrib install error

2019-06-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker deals with issues in CPython. pygrib is not a part of the standard library. This could have better discussion at https://github.com/jswhit/pygrib. I am closing this as third party. -- nosy: +xtreak resolution: -> third party

[issue31711] ssl.SSLSocket.send(b"") fails

2019-06-25 Thread Shivaram Lingamneni
Shivaram Lingamneni added the comment: Are there any possible next steps on this? This issue is very counterintuitive and challenging to debug --- it commonly presents as a nondeterministic edge case, and it appears to be a failed system call but doesn't show up in strace. Thanks for your

[issue37396] [2.7] PCbuild/pythoncore.vcxproj kills the wrong program

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: > How can you tell that $(PyDebugExt) is not set? Note that the "Killing any > running python.exe instances..." line is hard-coded, it does not currently > include $(PyDebugExt) (though it probably should). Adding that to the > message would be a good

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread Kubilay Kocak
Kubilay Kocak added the comment: This looks like a reincarnation of #27838 -- nosy: +koobs ___ Python tracker ___ ___

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread John Belmonte
John Belmonte added the comment: My use case is for a non-async context manager, and if we take track_entry_and_exit as an example that's non-async as well. The explicit approach (e.g. separate base class for decorators applied to sync vs. async functions) doesn't seem ideal, because it

[issue37401] pygrib install error

2019-06-25 Thread Borja
New submission from Borja : Installing Pygrib with pip (pip install pygrib): Collecting pygrib Using cached https://files.pythonhosted.org/packages/f8/10/c0d22eafec62fb5413799a7034ac45f26bfa77405c8527c17869e4c3ee4d/pygrib-2.0.4.tar.gz Requirement already satisfied: numpy in

[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

2019-06-25 Thread Andreas Jung
Andreas Jung added the comment: Typical traceback: WARNING:plone.app.contenttypes.indexers:Lookup of PrimaryField failed for http://nohost/plone_portal/microscopycentre/img/fotos-specialist-course2018.htm/demo10-jpg If renaming or importing please reindex!

[issue37359] test_regrtest: test_list_cases() fails on x86 Gentoo Installed with X 3.x

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: x86 Gentoo Installed with X 3.x is fixed as well. I close again the issue. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset c755ca89c75252a7aae9beae82fd47787a76b9e2 by Victor Stinner (Miss Islington (bot)) in branch '3.7': [3.7] bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) (GH-14369)

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/167/builds/1265 test_chown (test.test_os.ChownFileTests) ... ERROR == ERROR: test_chown (test.test_os.ChownFileTests)

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread John Belmonte
John Belmonte added the comment: I have a context manager used for timing sections of code or whole functions (when used as a decorator). It's aware of the Trio async/await scheduler and is able to exclude periods of time where the task is not executing. The context manager itself is not

[issue37398] contextlib.ContextDecorator decorating async functions

2019-06-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: Got you. iscoroutinefunction() is not reliable: it detects async functions only but fails if we have a regular function that returns awaitable object. I think AsyncContextDecorator is needed here to explicitly point that you want to wrap async function.

[issue37392] Remove sys.setcheckinterval()

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 080b6b40fa6c6ddc79dcfcadab575bb1be3f47e9 by Victor Stinner (Xtreak) in branch 'master': bpo-37392: Update the dir(sys) in module tutorial (GH-14365) https://github.com/python/cpython/commit/080b6b40fa6c6ddc79dcfcadab575bb1be3f47e9 --

[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

2019-06-25 Thread Andreas Jung
New submission from Andreas Jung : I am using Python 3.6 and 3.7 (always latest minor releases) with Plone 5.2 and I various issues with Fatal Python error: Cannot recover from stack overflow. and do not make much sense to me. Some related tracebacks are documented here

[issue20443] __code__. co_filename should always be an absolute path

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3939c321c90283b49eddde762656e4b1940e7150 by Victor Stinner in branch 'master': bpo-20443: _PyConfig_Read() gets the absolute path of run_filename (GH-14053) https://github.com/python/cpython/commit/3939c321c90283b49eddde762656e4b1940e7150

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: I'm connected to the FreeBSD CURRENT buildbot as the user "haypo". I'm unable to reproduce the bug: CURRENT-amd64% id uid=1003(haypo) gid=1003(haypo) groups=1003(haypo) CURRENT-amd64% ./python -m test test_os -m test_chown (...) Tests result: SUCCESS

[issue37396] [2.7] PCbuild/pythoncore.vcxproj kills the wrong program

2019-06-25 Thread Steve Dower
Steve Dower added the comment: > Should PCbuild/pyproject.vcxproj explicitly import python.props which defines > it? It already does :) This is more likely because the previous build on that buildbot crashed(?) or because it was aborted during test_multiprocessing:

[issue37393] Deprecation warnings in test_ntpath

2019-06-25 Thread Steve Dower
Steve Dower added the comment: We should also remove that deprecation warning, as PEP 528 (or was it PEP 529) undeprecated bytes paths. -- ___ Python tracker ___

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset d7c87d982d4ec4ba201bcee14324ae5e0e90581f by Victor Stinner in branch 'master': bpo-37400: Fix test_os.test_chown() (GH-14374) https://github.com/python/cpython/commit/d7c87d982d4ec4ba201bcee14324ae5e0e90581f --

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14193 pull_request: https://github.com/python/cpython/pull/14378 ___ Python tracker ___

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread Ned Deily
Ned Deily added the comment: > It seems to be compiled using Tcl 8.5 that is installed with the system. Yes, and that is almost certainly the original poster's problem, as well. In fact, this same issue was reported in Issue10731 in 2010. The Tcl/Tk 8.5 supplied by Apple in macOS is

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-25 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14190 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/14375 ___ Python tracker ___

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-25 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14191 pull_request: https://github.com/python/cpython/pull/14376 ___ Python tracker ___

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14192 pull_request: https://github.com/python/cpython/pull/14377 ___ Python tracker ___

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset 12d174bed9960ded1d072035c57f82e10a89f0d6 by Miss Islington (bot) in branch '3.8': bpo-37400: Fix test_os.test_chown() (GH-14374) https://github.com/python/cpython/commit/12d174bed9960ded1d072035c57f82e10a89f0d6 -- nosy:

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14189 pull_request: https://github.com/python/cpython/pull/14374 ___ Python tracker ___

[issue37276] Incorrect number of running calls in ProcessPoolExecutor

2019-06-25 Thread Géry
Géry added the comment: Initial post: https://stackoverflow.com/q/56587166/2326961 -- ___ Python tracker ___ ___ Python-bugs-list

[issue37396] [2.7] PCbuild/pythoncore.vcxproj kills the wrong program

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: Aaaah, CIs are funny. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-25 Thread Steve Dower
Steve Dower added the comment: New changeset 25fbe33b92cd938e809839feaa3fda97e6ad0980 by Steve Dower in branch '3.8': bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-14375)

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread Rakesh Singh
Rakesh Singh added the comment: Same behaviour experienced here on Mojave Kernel Version 18.6.0. Homebrew Python 3.7.3 Python 3.7.3 (default, Jun 19 2019, 07:38:49) [Clang 10.0.1 (clang-1001.0.46.4)] on darwin Type "help", "copyright", "credits" or "license()" for more information. WARNING:

[issue37276] Incorrect number of running calls in ProcessPoolExecutor

2019-06-25 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37276] Incorrect number of running calls in ProcessPoolExecutor

2019-06-25 Thread Ned Deily
Ned Deily added the comment: @maggyero, Please do not spam a list of people by add their names to issues; it will not speed a resolution. Let the people doing bug triage evaluate the issue and, if necessary, nosy the appropriate developers. --

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-25 Thread Steve Dower
Steve Dower added the comment: New changeset 2a99fd911ebeecedbb250a05667cd46eca4735b9 by Steve Dower in branch '3.7': bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-14376)

[issue37402] Fatal Python error: Cannot recover from stack overflow issues on Python 3.6 and 3.7

2019-06-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +asyncio -Interpreter Core nosy: +asvetlov, yselivanov versions: +Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker ___

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread George Pantazes
George Pantazes added the comment: Alright folks, sorry there's going to be a lot of pasted blocks of output, so just look for where I @ your name to address your questions. @ned.deily, here is the output of those info commands. ``` ➜ python3 -m test.pythoninfo

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-25 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-25 Thread David K. Hess
David K. Hess added the comment: Thank you Steve! Nice to see this one make it across the finish line. -- ___ Python tracker ___

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 02257012f6d3821d816cb6a7e8461a88a05b9a08 by Barry Warsaw (Abhilash Raj) in branch 'master': bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError. (GH-14119)

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread George Pantazes
George Pantazes added the comment: Checked against the python.org installation. In that installation's IDLE, About IDLE > Tk version 8.6.8. So my question is: - Is it on me to fix this for my own machine because I should have gotten my own more-up-to-date TK before installing Python via

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread Carol Willing
Carol Willing added the comment: Thanks for the additional information Rakesh. -- ___ Python tracker ___ ___ Python-bugs-list

[issue37276] Incorrect number of running calls in ProcessPoolExecutor

2019-06-25 Thread Carol Willing
Carol Willing added the comment: I've run the code snippet several times on Mac 10.14.5 with Python 3.7.3. I'm not able to replicate your result for the `ProcessPoolExecutor` but can replicate results for `ThreadPoolExecutor`. Do you have another example where you are seeing this behavior?

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +14194 pull_request: https://github.com/python/cpython/pull/14380 ___ Python tracker ___

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +14195 pull_request: https://github.com/python/cpython/pull/14381 ___ Python tracker ___

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread Carol Willing
Carol Willing added the comment: George, This is a Homebrew build issue (see additional notes on the Brew forum https://discourse.brew.sh/t/cannot-get-python-to-use-tcl-tk-version-8-6/3563. You may wish to try the suggestions found there. My recommendation would be to use the official

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset 01b23948038d35b119cededd149110231ecce00d by Miss Islington (bot) (Abhilash Raj) in branch '3.7': [3.7] bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError. (GH-14119) (GH-14381)

[issue37276] Incorrect number of running calls in ProcessPoolExecutor

2019-06-25 Thread Géry
Géry added the comment: @Ned Deily Okay, I did not know if I had to list the potentially interested people (according to their Github contribution on the module for instance) or let them do it themselves. Thank you for clarifying. @Carol Willing The number of RUNNING futures is always

[issue37403] Recommend .venv for virtual environment names

2019-06-25 Thread Brett Cannon
New submission from Brett Cannon : I've been asked enough times about what directory name to use for virtual environments I'm going to update https://docs.python.org/3/library/venv.html#module-venv to suggest `.venv` if you don't have a specific name (`.env` clashes with environment variable

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-06-25 Thread Akshay Takkar
New submission from Akshay Takkar : I'm working on a server that uses sock_recv from asyncio. await sock_recv(socket, n) never returns if socket is wrapped in ssl using the wrap_socket function from the ssl module. I think the problem stated in this stackoverflow question could be the reason:

[issue37384] Compiling Python 3.7.3 from source and getting all sorts of errors on Debian?

2019-06-25 Thread Ned Deily
Ned Deily added the comment: Glad it finally worked for you. It's hard to tell at this point what went wrong originally. Perhaps there was an "unclean" build as a result of trying to fix the uuid header issue? In any case, the most recent result you posted looks fine, so unless there is

[issue37347] Reference-counting problem in sqlite

2019-06-25 Thread Aleksandr Balezin
Aleksandr Balezin added the comment: I've pushed changes https://github.com/python/cpython/pull/14268/commits/bce7fdc952b14c23821e184e82b3944f6e10aaa9. Could I ask for clarification on callback and Py_DECREF(something)? -- ___ Python tracker

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset c6e32824cf038386174fe2b9e7273e4779c9958c by Miss Islington (bot) (Abhilash Raj) in branch '3.8': [3.8] bpo-33972: Fix EmailMessage.iter_attachments raising AttributeError (GH-14119) (GH-14380)

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread Ned Deily
Ned Deily added the comment: As @willingc notes, it is a Homebrew build issue that should be addressed by Homebrew. That said, it is also possible that Homebrew builds have been affected by changes in Mojave as mentioned in Issue34956. I plan to look into that shortly to see if we can

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-06-25 Thread Christian Heimes
Christian Heimes added the comment: You can't use sock_recv() with a wrapped SSL socket. A SSLSocket behaves differently because there is user-level buffering. The connection operates on TLS frames and only hands off data after it has been decrypted and verified. asyncio uses wrap_bio().

[issue37396] [2.7] PCbuild/pythoncore.vcxproj kills the wrong program

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: Me: > Should PCbuild/pyproject.vcxproj explicitly import python.props which defines > it? Steve: > It already does :) Well, I was confused by the message. I just fixed the message. I suggest to close the issue and see if the bug comes back. --

[issue37405] socket.getsockname() returns string instead of tuple

2019-06-25 Thread Brent Gardner
Change by Brent Gardner : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37405] socket.getsockname() returns string instead of tuple

2019-06-25 Thread Brent Gardner
New submission from Brent Gardner : In Python 3.5.3, a socket with type AF_CAN returns a tuple in the form `(interface, )` from getsockname(). In Python 3.7.3, getsockname() returns a string (the name of the interface). The documentation states "a tuple is used for the AF_CAN address

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-06-25 Thread miss-islington
miss-islington added the comment: New changeset 4adc38e79495bd06878355fd5270c3f84b77f528 by Miss Islington (bot) in branch '3.8': bpo-36888, test_multiprocessing: Increase test_parent_process timeout (GH-14286) https://github.com/python/cpython/commit/4adc38e79495bd06878355fd5270c3f84b77f528

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1d4b6ba19466aba0eb91c4ba01ba509acf18c723 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-37400: Fix test_os.test_chown() (GH-14374) (GH-14378) https://github.com/python/cpython/commit/1d4b6ba19466aba0eb91c4ba01ba509acf18c723

[issue37400] test_os: test_chown() started to fail on AMD64 FreeBSD 10-STABLE Non-Debug 3.* buildbots

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: I merged my fix. I close the issue and hope that the test will not fail again ;-) Python 2.7 is not affected: it doesn't have test_chown(). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 594d9b9f58e1ef0a60b5ce9e590e0f45cd684f26 by Victor Stinner (Pierre Glaser) in branch 'master': bpo-36888, test_multiprocessing: Increase test_parent_process timeout (GH-14286)

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-06-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +14196 pull_request: https://github.com/python/cpython/pull/14382 ___ Python tracker ___

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread George Pantazes
George Pantazes added the comment: In case anyone would like to weigh in on the Homebrew side, I've filed the homebrew issue here: https://github.com/Homebrew/homebrew-core/issues/41338 . -- ___ Python tracker

[issue36917] ast.NodeVisitor no longer calls visit_Str

2019-06-25 Thread Tyler Wince
Tyler Wince added the comment: Another example of the breaking change here is in the security linter `PyCQA/bandit`. It may be a simple addition of a check in the meta parser for the ast but I would tend to agree with Anthony around whether or not it is worth it. Anyone else have any

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: Thanks Pierre Glaser. Let's see if it's enough to make the test more reliable on buildbots ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

  1   2   >