[issue32627] Header dependent _uuid build failure on Fedora 27

2019-06-24 Thread Ned Deily
Ned Deily added the comment: Thanks, @adam, for the analysis and thanks, zihengCat, for the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker

[issue37390] Generate table of audit events for docs

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just tried an initial attempt at this and a screenshot as attached. I followed the approach similar to the one at https://www.sphinx-doc.org/en/master/development/tutorials/todo.html to gather all todos. The approach was to append all the audit

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

2019-06-24 Thread Carol Willing
Carol Willing added the comment: Thank you Petr. Looking at your response, the full discussion here, and the fact that we don't have an easy way to put a number on who would be impacted, I agree that merging the PR seems the best course of action. Thanks Stefan for additional follow up

[issue32627] Header dependent _uuid build failure on Fedora 27

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset 742b16edd692f58a06e0d55bedfffb77a112b205 by Miss Islington (bot) in branch '3.7': bpo-32627: Fix compile error when conflicting `_uuid` headers included (GH-11751)

[issue37347] Reference-counting problem in sqlite

2019-06-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: The _sqlite3 module clearly is not free of bugs in this area. Binding the Python function to the exact lifetime of the sqlite function seems less likely to be buggy than replicating sqlite's function reference management independently.

[issue37390] Generate table of audit events for docs

2019-06-24 Thread Steve Dower
Steve Dower added the comment: Awesome! I was just making a start on this too, and it looks like we were doing nearly identical work. Happy to let you keep going on it! Some things that I thought would be worth doing: * combine equivalent events (warn if names match but arguments are

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

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: > The issue strikes back: > https://buildbot.python.org/all/#/builders/103/builds/2698 Not good. This build was run after I deployed the new buildbot configuraiton, with the new "cleantest" step, but it has no "cleantest" step. Maybe this job was scheduled

[issue32627] Header dependent _uuid build failure on Fedora 27

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset 76b72f6ea26de4280279a01863f30fccd2dde8f3 by Miss Islington (bot) in branch '3.8': bpo-32627: Fix compile error when conflicting `_uuid` headers included (GH-11751)

[issue37390] Generate table of audit events for docs

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think my approach suffers from the drawback where duplicate items cannot be separated correctly as you have mentioned. Example as below where socket.connect and socket.connect_ex emit same event and I am not able to retrieve the function at

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

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset 7268fd0d212e870103ae052697b32ba54d3f6299 by Miss Islington (bot) in branch '3.8': bpo-36889: Document asyncio Stream and StreamServer (GH-14203) https://github.com/python/cpython/commit/7268fd0d212e870103ae052697b32ba54d3f6299 --

[issue37370] AF_UNIX should be supported on Windows

2019-06-24 Thread Paul Monson
Paul Monson added the comment: Thanks Zackery. Closing as duplicate -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: Oh I see, this specific buildbot uses a different buildbot configuration that I forgot to patch. It should now be fixed as well: https://github.com/python/buildmaster-config/commit/f546fa0cfa0bf1ac77970c2eaa001923d8df7cbf New build which should use this

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: Hi, I'd like to claim this task if nobody else already started working on it. -- nosy: +potomak ___ Python tracker ___

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-24 Thread aeros167
aeros167 added the comment: Created a PR for moving and renaming "test_pkimport". An initial approval was made, now it is awaiting core review (https://github.com/python/cpython/pull/14303). -- ___ Python tracker

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

2019-06-24 Thread Ned Deily
Ned Deily added the comment: The uuid issue is described in Issue32627 and there is a PR fix for it awaiting review (PR 11751). As Christian notes, the curses issues seems to be related to some configure option. If you haven't already, suggest you start with the simplest configure

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

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sure, I think I missed it somehow though you mentioned it's around combining StreamReader and StreamWriter and to have appropriate signatures for the methods. I will try to raise a PR this week. I also realize there are no docstrings for the new

[issue33408] AF_UNIX is now supported in Windows

2019-06-24 Thread Paul Monson
Change by Paul Monson : -- nosy: +Paul Monson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-24 Thread Stefan Behnel
Stefan Behnel added the comment: I'm really only waiting for bpo-37250 to be resolved, then I can prepare a new point release of Cython, preferably this week. -- ___ Python tracker

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

2019-06-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Karthikeyan! The only thing that needs to be documented is Stream class itself. Would you finish this job, please? -- ___ Python tracker

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

2019-06-24 Thread Eryk
Eryk added the comment: yeah i managed to fix the uuid already and used: ./configure --enable-optimizations followed by make -j 4 and then using sudo make altinstall but the issue comes up during the make -j 4 process, strange thing is before using thee 'uuid' fix i mentioned and found on

[issue32627] Header dependent _uuid build failure on Fedora 27

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14167 pull_request: https://github.com/python/cpython/pull/14348 ___ Python tracker ___

[issue32627] Header dependent _uuid build failure on Fedora 27

2019-06-24 Thread Ned Deily
Ned Deily added the comment: New changeset 6ffd9b05dfade9e3a101fe039157856eb855f82e by Ned Deily (ziheng) in branch 'master': bpo-32627: Fix compile error when conflicting `_uuid` headers included (GH-11751) https://github.com/python/cpython/commit/6ffd9b05dfade9e3a101fe039157856eb855f82e

[issue32627] Header dependent _uuid build failure on Fedora 27

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14166 pull_request: https://github.com/python/cpython/pull/14347 ___ Python tracker ___

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

2019-06-24 Thread Stefan Behnel
Stefan Behnel added the comment: Thank you, Petr, for bringing this discussion back on a solid basis, actually twice already. And sorry for causing this problem in the first place. The "tp_print = 0" was necessary to fix misbehaviour in Py2, and we should have restricted it to Py2 back

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

2019-06-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 6793cce155f8875b10efd746cb0b34cb72263af7 by Andrew Svetlov (Xtreak) in branch 'master': bpo-36889: Document asyncio Stream and StreamServer (GH-14203) https://github.com/python/cpython/commit/6793cce155f8875b10efd746cb0b34cb72263af7

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

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14168 pull_request: https://github.com/python/cpython/pull/14349 ___ Python tracker ___

[issue34556] Add --upgrade-deps to venv module

2019-06-24 Thread Cooper Lees
Change by Cooper Lees : -- title: Add --upgrade to venv module -> Add --upgrade-deps to venv module ___ Python tracker ___ ___

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: These functions were deprecated by this change: commit 074e5ed974be65fbcfe75a4c0529dbc53f13446f Author: Antoine Pitrou Date: Tue Nov 10 19:50:40 2009 + Merge in the new GIL. -- ___ Python tracker

[issue37395] Core interpreter should be linked with libgcc_s.so on Linux

2019-06-24 Thread Zack Weinberg
New submission from Zack Weinberg : There are several existing issues (e.g. #18748 and #35866) where at least part of the problem is that GNU libc tried to dlopen() `libgcc_s.so` at a moment when that's not safe, e.g. during thread or process shutdown. This converts a recoverable error into

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-06-24 Thread Ruslan Kuprieiev
Change by Ruslan Kuprieiev : -- pull_requests: +14176 pull_request: https://github.com/python/cpython/pull/14360 ___ Python tracker ___

[issue37394] Fix pure Python implementation of queue

2019-06-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +14175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14351 ___ Python tracker

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: > To check - do we definitely want to just skip the test if the below OSError > is thrown? Note: I don't propose to ignore any OSError, only if exc.errno == errno.ENOSPC. > Could we attempt to clean wherever the test is writing to before the test is >

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

2019-06-24 Thread STINNER Victor
New submission from STINNER Victor : x86 Windows XP 2.7: https://buildbot.python.org/all/#/builders/45/builds/429 Killing any running python.exe instances... ... C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppClean.targets(74,5): warning : Access to the path

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

2019-06-24 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: As Ned and Christian hinted, the issue might be related to --enable-optimizations. Have you tried compiling without that flag? -- nosy: +Jelle Zijlstra ___ Python tracker

[issue37397] Trap in Python 3.5 under Apache 2.2 when Django database returns 'None'.

2019-06-24 Thread JOMO WILLACY
New submission from JOMO WILLACY : I am using Python 3.5 with Django and the Python web server and Apache 2.2 web server. I am querying the database for a "drug_name" and an "insurer" - # and minimum "price". Here is what works and what does not work Valid Drug Name Valid Insurer

[issue37390] Generate table of audit events for docs

2019-06-24 Thread Steve Dower
Steve Dower added the comment: I took your code and made some improvements: https://github.com/python/cpython/compare/master...zooba:bpo37390 In particular, I added the backlinks from the table (but unfortunately they all go to the line of text we generate for the ..audit-event directive,

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Ali McMaster
Ali McMaster added the comment: To check - do we definitely want to just skip the test if the below OSError is thrown? Could we attempt to clean wherever the test is writing to before the test is run/figure out what is using all the space? -- nosy: +Ali McMaster

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

2019-06-24 Thread Steve Dower
Steve Dower added the comment: Sorry for the delays! I've merged into master. The backports (3.7, 3.8) are going to need some help, so I'll take a look at them soon unless someone else gets there first. -- stage: needs patch -> backport needed versions: +Python 3.8, Python 3.9

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread Ned Deily
Ned Deily added the comment: FWIW, I can't reproduce the failure using either Python 3.7.3 from either the python.org binary installer or a current MacPorts 3.7.3. But that's not surprising as the issue is most likely in Tk rather than IDLE or Python itself. Can you supply the output from

[issue37335] Add 646 ASCII alias to locale coercion tests.

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: test_c_locale_coerce should use "codecs.lookup(encoding).name" to get the normalized name of an encoding, rather than fragile: data = data.replace(b"ANSI_X3.4-1968", b"ascii") data = data.replace(b"US-ASCII", b"ascii") the proposed pattern

[issue37394] Fix pure Python implementation of queue

2019-06-24 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The test for the queue module are not testing correctly both the C and the Python implementation of the queue. A consequence is that some errors are being overseed (like the fact that an AttributeError is used instead of an ImportError to catch

[issue37394] Fix pure Python implementation of queue

2019-06-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37394] Fix pure Python implementation of queue

2019-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3f5b9088b0ed08e1442cca37df78f609d5cd8c3c by Pablo Galindo in branch 'master': bpo-37394: Fix pure Python implementation of the queue module (GH-14351) https://github.com/python/cpython/commit/3f5b9088b0ed08e1442cca37df78f609d5cd8c3c

[issue37394] Fix pure Python implementation of queue

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14179 pull_request: https://github.com/python/cpython/pull/14362 ___ Python tracker ___

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

2019-06-24 Thread Zachary Ware
Zachary Ware 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 first step;

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14181 pull_request: https://github.com/python/cpython/pull/14364 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1791128677e71f3b93cae4bbed66ac3c6e4b5110 by Raymond Hettinger in branch 'master': bpo-36546: Mark first argument as position only (GH-14363) https://github.com/python/cpython/commit/1791128677e71f3b93cae4bbed66ac3c6e4b5110 --

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14169 pull_request: https://github.com/python/cpython/pull/14352 ___ Python tracker ___

[issue37394] Fix pure Python implementation of queue

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset 5bf3b89dfb57e705733851ec31131c985feeca62 by Miss Islington (bot) in branch '3.8': bpo-37394: Fix pure Python implementation of the queue module (GH-14351) https://github.com/python/cpython/commit/5bf3b89dfb57e705733851ec31131c985feeca62

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +14182 pull_request: https://github.com/python/cpython/pull/14365 ___ Python tracker ___

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread George Pantazes
George Pantazes added the comment: Also happens when I plug in a conventional mouse and use the mouse scrollwheel (so it's not just the touchpad scrolling!). -- ___ Python tracker

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14171 pull_request: https://github.com/python/cpython/pull/14354 ___ Python tracker ___

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 0fc14b373398767b4323a7bc2c2310b6218c5b74 by Steve Dower (animalize) in branch '2.7': bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14182) https://github.com/python/cpython/commit/0fc14b373398767b4323a7bc2c2310b6218c5b74 --

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

2019-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 9fc720e5e4f772598013ea48a3f0d22b2b6b04fa by Steve Dower (David K. Hess) in branch 'master': bpo-4963: Fix for initialization and non-deterministic behavior issues in mimetypes (GH-3062)

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 14355 removes these functions. -- ___ Python tracker ___ ___ Python-bugs-list

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: I prefer to remove deprecated functions early in the 3.9 dev cycle, so we have more time for feedback. If something goes wrong, we can discuss reverting this removal before 3.9.0 final release. -- resolution: -> fixed stage: patch review ->

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5 by Victor Stinner in branch 'master': bpo-37392: Remove sys.setcheckinterval() (GH-14355) https://github.com/python/cpython/commit/36456df13843c5b8a1fb5a6022ab9ed1fe2a11c5 --

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-06-24 Thread Ruslan Kuprieiev
Ruslan Kuprieiev added the comment: Thanks for pointing that out! I've submitted a tiny patch to skip ``_collect()`` and ``__del__``. Please find it in the Github PR attached. Looking forward to your feedback! -- ___ Python tracker

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: For future reference: an exception is not a crash. A crash is a core dump or the Mac equivalent. Anyway, I also cannot reproduce with Python.org python on my Macbook. python 3.7.3(v3.7.3:ef4e...) Mar 25, 2019 16:52:21 Clang 6.0 (...) on Darwin Where did

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread Carol Willing
Carol Willing added the comment: Hi George, What language and encoding are you using on your system? Are you using UTF-16? I haven't been able to reproduce this on my Mac Mojave with an Anaconda Python 3.7.3 install. -- nosy: +willingc ___

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14170 pull_request: https://github.com/python/cpython/pull/14353 ___ Python tracker ___

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 7fd2ba354ec2304743ffd9ba620e07d113532264 by Steve Dower (animalize) in branch 'master': bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179) https://github.com/python/cpython/commit/7fd2ba354ec2304743ffd9ba620e07d113532264 --

[issue33408] AF_UNIX is now supported in Windows

2019-06-24 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37393] Deprecation warnings in test_ntpath

2019-06-24 Thread Zackery Spytz
New submission from Zackery Spytz : C:\CPython\cpython>python.bat -Werror -m test test_ntpath Running Debug|x64 interpreter... Run tests sequentially 0:00:00 load avg: 0.00 [1/1] test_ntpath test test_ntpath failed -- Traceback (most recent call last): File

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: > 2) ignore EBADF(OSError: [WinError 6] The handle is invalid) in terminate() > and probably some other methods That sounds like a bad idea. We should avoid using a handle if it can become invalid out of our control. A handle might be recycled, no?

[issue21822] KeyboardInterrupt during Thread.join hangs that Thread

2019-06-24 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35224] PEP 572: Assignment Expressions

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14178 pull_request: https://github.com/python/cpython/pull/14361 ___ Python tracker ___

[issue35224] PEP 572: Assignment Expressions

2019-06-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b51b7137faa22e12c570c70fe0462c662ccd935e by Pablo Galindo in branch 'master': bpo-35224: Add What's new entry for evaluation order in dict comprehensions (GH-14319)

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 210358b25cf6425c81a341a074be6cd897c2d43d by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-36546: Mark first argument as position only (GH-14363) (GH-14364)

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread George Pantazes
New submission from George Pantazes : IDLE crashes if the user scrolls with the Mac mousepad (using two fingers, either up or down). ```$ python -m idlelib # Then I use the mousepad to scroll in the IDLE window Traceback (most recent call last): File

[issue37140] ctypes change made clang fail to build

2019-06-24 Thread Steve Dower
Steve Dower added the comment: > According to serge_sans_paille: if ``self->b_ptr`` contains pointer, the > ``memcpy`` creates sharing, and this is dangerous: if a ``__del__`` happens > to free the original pointer, we end up with a dangling reference in > ``new_ptr``. As far as I can tell,

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2019-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 8bd2872adbbc7ed5dd0a7593193c52431ae34c8d by Steve Dower (animalize) in branch 'master': bpo-25361: Enable SSE2 instructions for Windows 32-bit build (GH-12438) https://github.com/python/cpython/commit/8bd2872adbbc7ed5dd0a7593193c52431ae34c8d

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset dad8f79cfd83b824decb15eac4c0d5723edd4bf1 by Miss Islington (bot) in branch '3.8': bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179) https://github.com/python/cpython/commit/dad8f79cfd83b824decb15eac4c0d5723edd4bf1 --

[issue37392] Remove sys.setcheckinterval()

2019-06-24 Thread STINNER Victor
New submission from STINNER Victor : sys.getcheckinterval() and sys.setcheckinterval() are deprecated since Python 3.2, it's now time to remove them! -- components: Interpreter Core messages: 346454 nosy: vstinner priority: normal severity: normal status: open title: Remove

[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset 14c179f97dbb7047cb30e4a610b5d5b531a4f6f7 by Miss Islington (bot) in branch '3.7': bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179) https://github.com/python/cpython/commit/14c179f97dbb7047cb30e4a610b5d5b531a4f6f7 --

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14356 ___ Python tracker

[issue37392] Remove sys.setcheckinterval()

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

[issue37393] Deprecation warnings in test_ntpath

2019-06-24 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +14174 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14357 ___ Python tracker ___

[issue35224] PEP 572: Assignment Expressions

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset ced9e11931a7a1c5cf4eef08d0dd4a4886723b43 by Miss Islington (bot) in branch '3.8': bpo-35224: Add What's new entry for evaluation order in dict comprehensions (GH-14319)

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +14180 pull_request: https://github.com/python/cpython/pull/14363 ___ Python tracker ___

[issue37397] Trap in Python 3.5 under Apache 2.2 when Django database returns 'None'.

2019-06-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This tracker deals with CPython development and this doesn't seem like am issue in CPython but rather an error in your program. I assume you might be passing None somewhere in the django ORM query that is expecting a number. Also please don't post

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

2019-06-24 Thread Eryk
Eryk added the comment: root@Debza:/home/anubis/Python-3.7.3# ./configure --enable-optimizations checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for python3.7... python3.7 checking for --enable-universalsdk... no checking for

[issue37348] Optimize PyUnicode_FromString for short ASCII strings

2019-06-24 Thread Inada Naoki
Inada Naoki added the comment: This optimization is only for short strings. There is no significant difference for long and non-ASCII strings. ``` # 1000 ASCII $ ./python -m pyperf timeit --compare-to=./python-master -s 'b=b"f"*1000' -- 'b.decode()' python-master: . 196

[issue37382] Improve conditional check for test_gdb

2019-06-24 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : Many tests in test_gdb are not run if python_is_optimized() is true. However, it's not entirely clear why we have this condition. For example, on my system, with the default CPython configuration, Python *is* optimized but still all gdb tests pass if I

[issue37382] Improve conditional check for test_gdb

2019-06-24 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +14151 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14331 ___ Python tracker ___

[issue37382] Improve conditional check for test_gdb

2019-06-24 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: The tests FAIL when CPython is compiled with "-O0 -g0" (without optimizations, without debug info) but tests PASS when compiled with "-O3 -g", showing that the check for "-g" is the right one. -- ___ Python

[issue37373] Configuration of windows event loop for libraries

2019-06-24 Thread Andrew Svetlov
Andrew Svetlov added the comment: I don't like to have not required parts like thread pool, time handlers, and the exception handler executed in the auxiliary thread. What's about an alternative proposal: embed into ProactorEventLoop not entire SelectorEventLoop but selectors.SelectSelector

[issue20177] Derby #8: Convert 28 sites to Argument Clinic across 2 files

2019-06-24 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +14150 pull_request: https://github.com/python/cpython/pull/14330 ___ Python tracker ___

[issue37348] Optimize PyUnicode_FromString for short ASCII strings

2019-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please measure the performance for long strings (1000, 1 and 10 characters): a long ASCII string and a long ASCII string ending with a non-ASCII character? -- ___ Python tracker

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

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

[issue34556] Add --upgrade to venv module

2019-06-24 Thread Vinay Sajip
Vinay Sajip added the comment: > included with latest 3.8 or is there no chance of that? Unfortunately not, I think, as it missed the cut for 3.8beta1. Never mind! Thanks for your contribution. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions:

[issue37097] python_is_optimized() false negatives

2019-06-24 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Never mind, I probably tested wrong here. -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___

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

2019-06-24 Thread Christian Heimes
Christian Heimes added the comment: Could you please file separate issues for each problem? The curses and uuid issues are probably unrelated. The curses issue seems to be caused by a problem with C code coverage profiling. Are you trying to build Python with PGO or profiling? --

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

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9bbf4d7083a819cbcee2a6cd3df2802d4c50f734 by Victor Stinner in branch 'master': bpo-37359: Fix regrtest --cleanup (GH-14336) https://github.com/python/cpython/commit/9bbf4d7083a819cbcee2a6cd3df2802d4c50f734 --

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

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14158 pull_request: https://github.com/python/cpython/pull/14338 ___ Python tracker ___

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

2019-06-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9d55bf440cd0b8b06509318d7676c0744147c5b2 by Victor Stinner in branch '2.7': bpo-37359: Add --cleanup option to python3 -m test (GH-14332) (GH-14333) https://github.com/python/cpython/commit/9d55bf440cd0b8b06509318d7676c0744147c5b2 --

[issue37124] test_msilib is potentially leaking references and memory blocks

2019-06-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14160 pull_request: https://github.com/python/cpython/pull/14340 ___ Python tracker ___

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

2019-06-24 Thread miss-islington
miss-islington added the comment: New changeset 366dac99c0c0c416a37874140696f59178db4e43 by Miss Islington (bot) in branch '3.8': bpo-37359: Fix regrtest --cleanup (GH-14336) https://github.com/python/cpython/commit/366dac99c0c0c416a37874140696f59178db4e43 -- nosy: +miss-islington

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14161 pull_request: https://github.com/python/cpython/pull/14336 ___ Python tracker ___

  1   2   >