[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-18 Thread shajianrui
shajianrui added the comment: @vsbogd,Thank you for your reply. But I find another problem. I derive a subclass from sockerserver.StreamRequestHandler, and set the rbufsize to 0(As CGIHTTPRequestHandler do), like this demo below: testserver.py: import socketserver

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2019-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-18 Thread Yoong Hor Meng
Yoong Hor Meng added the comment: I did some checks, I discovered the following: logging.handlers.DatagramHandler() sends data in the following format: 1. message length 2. message itself which consists of a. Creation time in ASCII format b. Creation time in seconds, ms c. Filename,

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-18 Thread Андрей Казанцев
New submission from Андрей Казанцев : Error MSB4113 Specified condition "$(IncludeTkinter)" evaluates to "" instead of a boolean. python cpython\PCbuild\python.vcxproj 156 It is the master branch (id: 0a28f8d379544eee897979da0ce99f0b449b49dd) -- components: Build messages:

[issue37156] Fix libssl DLL tag in Tools/msi project

2019-06-18 Thread Steve Dower
Steve Dower added the comment: New changeset 43b97ae15c8cbb8c383314bb75c867d0f2f34376 by Steve Dower in branch '3.7': bpo-37156: Fix libssl DLL tag in MSI sources (GH-14219) https://github.com/python/cpython/commit/43b97ae15c8cbb8c383314bb75c867d0f2f34376 --

[issue36985] typing.ForwardRef is undocumented

2019-06-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36985] typing.ForwardRef is undocumented

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset d0587353fe2dece91d2a9b8ddf2696fb5adc233a by Miss Islington (bot) (Ivan Levkivskyi) in branch '3.7': [3.7] bpo-36985: Document typing.ForwardRef (GH-14216) (GH-14220)

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14059 pull_request: https://github.com/python/cpython/pull/14221 ___ Python tracker ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0a28f8d379544eee897979da0ce99f0b449b49dd by Victor Stinner in branch 'master': bpo-36710: Add tstate parameter in import.c (GH-14218) https://github.com/python/cpython/commit/0a28f8d379544eee897979da0ce99f0b449b49dd --

[issue36985] typing.ForwardRef is undocumented

2019-06-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +14058 pull_request: https://github.com/python/cpython/pull/14220 ___ Python tracker ___

[issue37156] Fix libssl DLL tag in Tools/msi project

2019-06-18 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14057 pull_request: https://github.com/python/cpython/pull/14219 ___ Python tracker ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14056 pull_request: https://github.com/python/cpython/pull/14218 ___ Python tracker ___

[issue33416] Add endline and endcolumn to every AST node

2019-06-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33416] Add endline and endcolumn to every AST node

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset 45da7437f54b4a6bdb8b4ba5a0f13f44a24eec39 by Miss Islington (bot) in branch '3.8': [3.8] bpo-33416: Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214) (GH-14215)

[issue36985] typing.ForwardRef is undocumented

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14055 pull_request: https://github.com/python/cpython/pull/14217 ___ Python tracker ___

[issue33416] Add endline and endcolumn to every AST node

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14054 pull_request: https://github.com/python/cpython/pull/14215 ___ Python tracker ___

[issue36985] typing.ForwardRef is undocumented

2019-06-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- keywords: +patch pull_requests: +14053 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14216 ___ Python tracker ___

[issue33416] Add endline and endcolumn to every AST node

2019-06-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +14052 pull_request: https://github.com/python/cpython/pull/14214 ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 01b63ecac66581f80ba953d9182751e591c2b2ba by Victor Stinner in branch 'master': bpo-35134: Add Include/cpython/import.h header file (GH-14213) https://github.com/python/cpython/commit/01b63ecac66581f80ba953d9182751e591c2b2ba --

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2019-06-18 Thread Nick Coghlan
Nick Coghlan added the comment: (Note: this isn't SC feedback yet, it's individual contributor feedback from me) As others noted, the reason we treat "Incompatible with Cython generated source code" distinctly from other C API source compatibility issues is because Cython-using projects

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2019-06-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14051 pull_request: https://github.com/python/cpython/pull/14213 ___ Python tracker ___

[issue6839] zipfile can't extract file

2019-06-18 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +14050 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14212 ___ Python tracker ___

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset b626b113aee655e273b68eb1edb980f9729c0833 by Miss Islington (bot) in branch '3.8': bpo-37325: Fix focus traversal for 2 IDLE dialogs (GH-14209) https://github.com/python/cpython/commit/b626b113aee655e273b68eb1edb980f9729c0833 --

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset 44d46e368e6c7cc91fa99a2bfaff544dec7fb04d by Miss Islington (bot) in branch '3.7': bpo-37325: Fix focus traversal for 2 IDLE dialogs (GH-14209) https://github.com/python/cpython/commit/44d46e368e6c7cc91fa99a2bfaff544dec7fb04d -- nosy:

[issue4198] os.path.normcase gets fooled on windows with mapped linux network drive

2019-06-18 Thread Eryk Sun
Eryk Sun added the comment: > When running a VirtualBox Windows 7 guest on Linux I have found > that os.path.samefile() returns False when the filenames are the > same, e.g., > > f = r'V:\pdfs\boson1.pdf' > same = os.path.samefile(f, f) > print(same) # expected True; got False

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14049 pull_request: https://github.com/python/cpython/pull/14211 ___ Python tracker ___

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14048 pull_request: https://github.com/python/cpython/pull/14210 ___ Python tracker ___

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 54cf2e0780ca137dd9abea5d3d974578ce0c18a9 by Terry Jan Reedy in branch 'master': bpo-37325: Fix focus traversal for 2 IDLE dialogs (#14209) https://github.com/python/cpython/commit/54cf2e0780ca137dd9abea5d3d974578ce0c18a9 --

[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14047 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/14209 ___ Python tracker

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread Paul Ganssle
Change by Paul Ganssle : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-18 Thread Ned Deily
Ned Deily added the comment: New changeset c7302116573d853d3181133477d9d0e4d4d3abfd by Ned Deily in branch '3.7': bpo-36231: Support building on macOS without /usr/include (GH-13773) (GH-14208) https://github.com/python/cpython/commit/c7302116573d853d3181133477d9d0e4d4d3abfd --

[issue37332] Python from Windows Store cannot install pycrypto

2019-06-18 Thread Zachary Ware
Zachary Ware added the comment: I see the same thing using Python 3.7.0 from python.org on Windows 8.1; this appears to be an issue with pycrypto and not Python itself or the Windows Store distribution. A quick look at the pycrypto issue tracker (https://github.com/dlitz/pycrypto/issues)

[issue37332] Python from Windows Store cannot install pycrypto

2019-06-18 Thread Francesco Mantovani
New submission from Francesco Mantovani : Hello, I have installed Python 3.7 from the Windows Store, I was sure I was going to experience some trouble :) In fact I was able to install Crypto (pip install Crypto) but I receive this error every time I run pip install pycrypto: (see log in

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-18 Thread Yoong Hor Meng
New submission from Yoong Hor Meng : `pysyslog.py` - A UDP server listens at 0.0.0.0:514 for syslog messages. `syslogmsg_gen.py` - Send syslog message to local syslog server via 127.0.0.1:514 Error: Exception has occurred: UnicodeDecodeError 'utf-8' codec can't decode byte 0xd7 in position

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-18 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +14046 pull_request: https://github.com/python/cpython/pull/14208 ___ Python tracker ___

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset 35aa0b0ced91cfb48d9dcf80a2ca8683e61f9b3e by Miss Islington (bot) in branch '3.8': bpo-34903: Document that some strptime formats only require 1 digit (GH-14149) https://github.com/python/cpython/commit/35aa0b0ced91cfb48d9dcf80a2ca8683e61f9b3e

[issue20183] Derby #14: Convert 41 sites to Argument Clinic across 5 files

2019-06-18 Thread Zackery Spytz
Zackery Spytz added the comment: PR 14207 converts Modules/mmapmodule.c. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20183] Derby #14: Convert 41 sites to Argument Clinic across 5 files

2019-06-18 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14045 pull_request: https://github.com/python/cpython/pull/14207 ___ Python tracker ___

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14044 pull_request: https://github.com/python/cpython/pull/14206 ___ Python tracker ___

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread Paul Ganssle
Paul Ganssle added the comment: Thanks for the PR, Mike! This is now merged and backported to Python 3.7, so I believe we can close this issue. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset 452b417e34489614b3003b8d08148269096239d5 by Miss Islington (bot) in branch '3.7': bpo-34903: Document that some strptime formats only require 1 digit (GH-14149) https://github.com/python/cpython/commit/452b417e34489614b3003b8d08148269096239d5

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14043 pull_request: https://github.com/python/cpython/pull/14205 ___ Python tracker ___

[issue34903] strptime %d handling of single digit day of month

2019-06-18 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 6b9c204ee77a0de87d6f51a3d4547a18604cef9e by Paul Ganssle (Mike Gleen) in branch 'master': bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)

[issue6839] zipfile can't extract file

2019-06-18 Thread Morgan Ramsay
Morgan Ramsay added the comment: The encoding test in ZipFile.open() is highly opinionated and has no purpose beyond itself. Testing for encoding issues should be done outside this library in the user's own code. Using the 3.7.2 version of ZipFile, this is my proposal:

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

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: Steve Dower: > * Pre-generated Cython .c files can be easily regenerated, and given their > use of low-level and internal APIs would cause undue compatibility burden on > CPython if we were to treat everything it uses as public stable API It seems like you

[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I was wrong PYTHONWARNINGS environment variable is still passed to subprocess created by assert_python_ok so using assertWarns doesn't suppress it. Perhaps the DeprecationWarning could be ignored in assert_python_ok like below with -W :

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

2019-06-18 Thread Steve Dower
Steve Dower added the comment: > Personally, I don't think that your "read of it" in #msg345990 is relevant to > the discussion of the PR (I don't mean this in a bad way). It's relevant to the *existence* of the PR, because when you follow through the rest of the thought process, there is

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: I prefer to push backward incompatible changes at the beginning of a dev cycle (Python 3.9), so we have room to revert it later if it causes too much trouble. -- ___ Python tracker

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

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

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

2019-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Personally, I don't think that your "read of it" in #msg345990 is relevant to the discussion of the PR (I don't mean this in a bad way). It's one thing to say "we're not obliged to fix this" (I agree with that) but that doesn't imply that it's forbidden to

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

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

[issue37318] builtins.True exists but can't be accessed

2019-06-18 Thread Mark Dickinson
Mark Dickinson added the comment: [Raymond] > It is just the way the language works. As far as I can see, the language doesn't need these constants to be in builtins at all - the only reason for keeping them there is backwards compatibility. As an experiment I tried removing `True`,

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

2019-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I would argue for the pragmatic solution: PR 14193 fixes that old Cython-generated code. More generally, it fixes API compatibility and doesn't make ABI compatibility worse than the status quo (the proposal of putting back tp_print in place of

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

2019-06-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +14041 pull_request: https://github.com/python/cpython/pull/14203 ___ Python tracker ___

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2019-06-18 Thread STINNER Victor
New submission from STINNER Victor : The builtin open() function accepts 'U' in the file mode, but it emits a DeprecationWarning since Python 3.4, change made in bpo-15204: commit 6787a3806ee6a85a6f21ede70c10e15a6df267c4 Author: Serhiy Storchaka Date: Sat Nov 23 22:12:06 2013 +0200

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

2019-06-18 Thread Steve Dower
Steve Dower added the comment: > Don't confuse *ABI* and *API* compatibility. For *API* compatibility, it > doesn't matter where we put tp_print. Don't worry, I'm not. (Though I did blur the lines for the sake of a tongue-in-cheek reply to your comment. Probably shouldn't do that in text

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

2019-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Oh? In that case, let's just remove the reserved/deprecated field :) Don't confuse *ABI* and *API* compatibility. For *API* compatibility, it doesn't matter where we put tp_print. -- ___ Python tracker

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

2019-06-18 Thread Steve Dower
Steve Dower added the comment: > If we reintroduce it, why not put it back at its previous place, to provide > ABI compatibility? I agree. If compatibility matters here, then we should add new elements at the end. > First of all, we longer care about ABI compatibility of PyTypeObject. Oh?

[issue37233] Use _PY_FASTCALL_SMALL_STACK for method_vectorcall

2019-06-18 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37329] [2.7] valgrind python2 -m test.regrtest test___all__: definitely lost: 324 bytes in 2 blocks

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: > The best would be to explicitly release all memory at exit, but I don't think > that it's worth it in Python 2.7 (...) Python 2.7 "leaks" a lot of memory at exit... ==18497== possibly lost: 5,665,418 bytes in 27,453 blocks ==18497==still

[issue37329] [2.7] valgrind python2 -m test.regrtest test___all__: definitely lost: 324 bytes in 2 blocks

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: The best would be to explicitly release all memory at exit, but I don't think that it's worth it in Python 2.7 since this version is now stable. More work in done in the master branch to cleanup things at exit (ex: bpo-36724). -- nosy: +inada.naoki,

[issue37329] [2.7] valgrind python2 -m test.regrtest test___all__: definitely lost: 324 bytes in 2 blocks

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

[issue37329] [2.7] valgrind python2 -m test.regrtest test___all__: definitely lost: 324 bytes in 2 blocks

2019-06-18 Thread STINNER Victor
New submission from STINNER Victor : $ ./configure -C --enable-unicode=ucs4 --with-valgrind $ make $ valgrind --suppressions=Misc/valgrind-python.supp ./python -m test.regrtest test___all__ (...) ==18497== LEAK SUMMARY: ==18497==definitely lost: 324 bytes in 2 blocks ==18497==

[issue20183] Derby #14: Convert 41 sites to Argument Clinic across 5 files

2019-06-18 Thread Zackery Spytz
Zackery Spytz added the comment: PR 14201 converts Modules/_localemodule.c. -- nosy: +ZackerySpytz versions: +Python 3.9 -Python 3.5 ___ Python tracker ___

[issue20183] Derby #14: Convert 41 sites to Argument Clinic across 5 files

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

[issue27860] Improvements to ipaddress module

2019-06-18 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +14038 pull_request: https://github.com/python/cpython/pull/14200 ___ Python tracker ___

[issue27860] Improvements to ipaddress module

2019-06-18 Thread Inada Naoki
Inada Naoki added the comment: OK, I thought I improved only undocumented behavior, but it was documented and previous behavior didn't follow the document. I'll backport PR 12836. -- ___ Python tracker

[issue37305] Add MIME type for Web App Manifest

2019-06-18 Thread Filip Š
Change by Filip Š : -- keywords: +patch pull_requests: +14036 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14199 ___ Python tracker ___

[issue37151] Calling code cleanup after PEP 590

2019-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: All PRs currently on this issue have been merged, but this is not finished yet. I'm mainly waiting for a resolution on PR 13781 because that's a big change which needs to be done before further cleanup. -- ___

[issue37151] Calling code cleanup after PEP 590

2019-06-18 Thread Inada Naoki
Inada Naoki added the comment: New changeset 59543347d12a7717235f941e7fd363d4df92984a by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-37151: remove _PyFunction_FastCallDict (GH-13864) https://github.com/python/cpython/commit/59543347d12a7717235f941e7fd363d4df92984a --

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-18 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-18 Thread Ned Deily
Ned Deily added the comment: New changeset a5b1b222077870f194ca7c8c0326eeda014f0452 by Ned Deily in branch '2.7': bpo-34631: Updated OpenSSL to 1.0.2s in macOS installer. (GH-14198) https://github.com/python/cpython/commit/a5b1b222077870f194ca7c8c0326eeda014f0452 --

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

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset 624c9a27b10df4355eb2caf04654c730dfa412dd by Miss Islington (bot) in branch '3.7': bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180) https://github.com/python/cpython/commit/624c9a27b10df4355eb2caf04654c730dfa412dd --

[issue37327] python re bug

2019-06-18 Thread Matthew Barnett
Matthew Barnett added the comment: The problem is the "(?:[^<]+|<(?!/head>))*?". If I simplify it a little I get "(?:[^<]+)*?", which is a repeat within a repeat. There are many ways in which it could match, and if what follows fails to match (it doesn't because there's no

[issue37214] Add new EncodingWarning warning category: emitted when the locale encoding is used implicitly

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: I reject this issue: see PEP 597 for the follow-up. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset a7072ff56e216683f949b353255cce099f5cdb24 by Miss Islington (bot) in branch '3.8': bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180) https://github.com/python/cpython/commit/a7072ff56e216683f949b353255cce099f5cdb24 --

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-18 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +14035 pull_request: https://github.com/python/cpython/pull/14198 ___ Python tracker ___

[issue37189] PyRun_String not exported in python38.dll

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. The initial issue has been fixed (PyRun_String is now exported again in the Python DLL). Eryk Sun: > Wouldn't it be better to add a function to _testcapi that checks > GetProcAddress(PyWin_DLLhModule, name)? I have no idea. Steve Dower:

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

2019-06-18 Thread Ned Deily
Ned Deily added the comment: New changeset 373dace8d7ee5107cb38cd2e4fa5fd67dcad42dd by Ned Deily (animalize) in branch '2.7': [2.7] bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14183) https://github.com/python/cpython/commit/373dace8d7ee5107cb38cd2e4fa5fd67dcad42dd --

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2019-06-18 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14034 pull_request: https://github.com/python/cpython/pull/14197 ___ Python tracker ___

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-18 Thread Ned Deily
Ned Deily added the comment: New changeset c101d1a88a8e0b0cec479307b4e0ae6866958a49 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188) (GH-14192)

[issue21872] LZMA library sometimes fails to decompress a file

2019-06-18 Thread Ma Lin
Ma Lin added the comment: toggle conditions -> trigger conditions -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21872] LZMA library sometimes fails to decompress a file

2019-06-18 Thread Ma Lin
Ma Lin added the comment: I investigated this problem. Here is the toggle conditions: - The format is FORMAT_ALONE, this is the legacy .lzma container format. - The file's header recorded "Uncompressed Size". - The file doesn't have "End of Payload Marker" or "End of Stream Marker".

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

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

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

2019-06-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +14032 pull_request: https://github.com/python/cpython/pull/14195 ___ Python tracker ___

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

2019-06-18 Thread Ned Deily
Ned Deily added the comment: New changeset d8f336fdc10decdd82d3bc81a63aea8be149c0c8 by Ned Deily (animalize) in branch 'master': bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180) https://github.com/python/cpython/commit/d8f336fdc10decdd82d3bc81a63aea8be149c0c8 --

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-06-18 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14031 pull_request: https://github.com/python/cpython/pull/14194 ___ Python tracker ___

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

2019-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If we reintroduce it, why not put it back at its previous place, to provide > ABI compatibility? First of all, we longer care about ABI compatibility of PyTypeObject. Second, it is extremely unlikely that the class will use vectorcall: the only way would

[issue37233] Use _PY_FASTCALL_SMALL_STACK for method_vectorcall

2019-06-18 Thread Inada Naoki
Inada Naoki added the comment: New changeset 988e6aa322fb61651812fa5a61ec73316c71b041 by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-37233: use _PY_FASTCALL_SMALL_STACK in method_vectorcall (GH-13974) https://github.com/python/cpython/commit/988e6aa322fb61651812fa5a61ec73316c71b041

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset f49c85d0cb098ba75191a9e272d149ed6466dfb7 by Miss Islington (bot) in branch '3.8': bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188) https://github.com/python/cpython/commit/f49c85d0cb098ba75191a9e272d149ed6466dfb7

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

2019-06-18 Thread STINNER Victor
STINNER Victor added the comment: > I just realized that there is a much simpler solution: add back tp_print at > the *end* of the PyTypeObject structure. This will fix the Cython problem and > is even less likely to break stuff. I'm doing that in PR 14193. If we reintroduce it, why not put

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

2019-06-18 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- title: C files generated by Cython set tp_print to NULL: PyTypeObject.tp_print removed, replaced with tp_vectorcall_offset -> C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed ___ Python

[issue37250] C files generated by Cython set tp_print to NULL: PyTypeObject.tp_print removed, replaced with tp_vectorcall_offset

2019-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > IMHO the simplest and safest option for this issue is to revert tp_print > removal and move tp_vectorcall_offset at the end of PyTypeObject. I just realized that there is a much simpler solution: add back tp_print at the *end* of the PyTypeObject

[issue37151] Calling code cleanup after PEP 590

2019-06-18 Thread Inada Naoki
Inada Naoki added the comment: New changeset c78fe320dbb0da3412d640797eb850753d45c07b by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-37151: use PyVectorcall_Call for all calls of "method" (GH-13972) https://github.com/python/cpython/commit/c78fe320dbb0da3412d640797eb850753d45c07b

[issue37250] C files generated by Cython set tp_print to NULL: PyTypeObject.tp_print removed, replaced with tp_vectorcall_offset

2019-06-18 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +14030 pull_request: https://github.com/python/cpython/pull/14193 ___ Python tracker ___

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

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

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset 0f3abbc29f5750706be1a255784eea5003c25901 by Miss Islington (bot) in branch '3.7': bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187) https://github.com/python/cpython/commit/0f3abbc29f5750706be1a255784eea5003c25901 --

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-18 Thread miss-islington
miss-islington added the comment: New changeset bd75abfefed31316fc627069597cc3c5087a885b by Miss Islington (bot) in branch '3.8': bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187) https://github.com/python/cpython/commit/bd75abfefed31316fc627069597cc3c5087a885b --

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

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

  1   2   >