[issue37483] Add PyObject_CallOneArg()

2019-07-02 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Variadic macros are not part of C89, so that would require changing PEP 7. -- ___ Python tracker ___

[issue37490] poor documentation for .startswith, .endswith

2019-07-02 Thread Glenn Linderman
Glenn Linderman added the comment: Or is text.startswith(('day', 'month', 'year'), 8, 12) the same as text[8:12] in ('day', 'month', 'year') What happens if the text doesn't have as many as 12 characters? What if it doesn't have more than 8 characters? --

[issue37490] poor documentation for .startswith, .endswith

2019-07-02 Thread Glenn Linderman
New submission from Glenn Linderman : The documentation is reasonably clear regarding the first parameter, which can be a string or a tuple of strings to match at the start or end of a string. However, the other two parameters are much less clear in their effect. text = "Now the day is over"

[issue37459] importlib docs improperly reference get_resource_loader()

2019-07-02 Thread Aldwin Pollefeyt
Change by Aldwin Pollefeyt : -- keywords: +patch pull_requests: +14386 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14568 ___ Python tracker

[issue37489] pickling instance which inherited from Exception with keyword only parameter

2019-07-02 Thread liugang
New submission from liugang : -- code 1 import pickle class MyException(): def __init__(self, desc, *, item): super().__init__() self.desc = desc self.item = item def __getnewargs_ex__(self): print('called in

[issue37441] Fix a param error in exceptions.rst

2019-07-02 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37441] Fix a param error in exceptions.rst

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset b8e198a5d09ca876b87baaf6efd2b2e7c9e3a0b3 by Miss Islington (bot) in branch '3.8': bpo-37441: Fix wrong PyErr_SetImportErrorSubclass signature in doc (GH-14453) https://github.com/python/cpython/commit/b8e198a5d09ca876b87baaf6efd2b2e7c9e3a0b3

[issue37459] importlib docs improperly reference get_resource_loader()

2019-07-02 Thread Gregory Szorc
Gregory Szorc added the comment: I'm a bit busy with other things this week to submit a PR. -- ___ Python tracker ___ ___

[issue37441] Fix a param error in exceptions.rst

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset 6323ac1dd49ddbd935ac3354cc5d792c743e7018 by Miss Islington (bot) in branch '3.7': bpo-37441: Fix wrong PyErr_SetImportErrorSubclass signature in doc (GH-14453) https://github.com/python/cpython/commit/6323ac1dd49ddbd935ac3354cc5d792c743e7018

[issue37441] Fix a param error in exceptions.rst

2019-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14385 pull_request: https://github.com/python/cpython/pull/14566 ___ Python tracker ___

[issue37441] Fix a param error in exceptions.rst

2019-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14384 pull_request: https://github.com/python/cpython/pull/14565 ___ Python tracker ___

[issue37441] Fix a param error in exceptions.rst

2019-07-02 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset aeecf380660ea459d85bb5f59d76bb54f757b5be by Xiang Zhang (Hai Shi) in branch 'master': bpo-37441: Fix wrong PyErr_SetImportErrorSubclass signature in doc (GH-14453) https://github.com/python/cpython/commit/aeecf380660ea459d85bb5f59d76bb54f757b5be

[issue37411] testEnviron (test.test_wsgiref.HandlerTests) fails when environment variable X is set

2019-07-02 Thread hai shi
Change by hai shi : -- pull_requests: +14383 pull_request: https://github.com/python/cpython/pull/14453 ___ Python tracker ___ ___

[issue37466] Move casting prompt after its validation in _raw_input()

2019-07-02 Thread myungsekyo
myungsekyo added the comment: Thanks to your reviews! I understood what you mean. This patch is unnecessary. I will close this issue. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37483] Add PyObject_CallOneArg()

2019-07-02 Thread Inada Naoki
Inada Naoki added the comment: What do you think about macro like this? #define _PyObject_CALL_WITH_ARGS(func, ...) \ _PyObject_Vectorcall(func, (PyObject*[]){NULL, __VA_ARGS__} + 1, \ sizeof((PyObject*[]){__VA_ARGS__})/sizeof(PyObject*) |

[issue18697] Unify arguments names in Unicode object C API documentation

2019-07-02 Thread Rune Tynan
Rune Tynan added the comment: It has been over a month and I'm still waiting for an updated PR review. I understand if people are busy, but don't want this to just fall through the cracks. -- ___ Python tracker

[issue37403] Recommend .venv for virtual environment names

2019-07-02 Thread Brett Cannon
Change by Brett Cannon : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37486] pathlib.Path('.').parent is itself rather than parent

2019-07-02 Thread Brett Cannon
Brett Cannon added the comment: Would it be worth to set 'parent' to None in this instance? Might break code but would also be potentially less surprising. -- nosy: +brett.cannon ___ Python tracker

[issue37459] importlib docs improperly reference get_resource_loader()

2019-07-02 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26967] argparse: allow_abbrev=False stops -vv from working

2019-07-02 Thread daniel hahler
daniel hahler added the comment: https://github.com/python/cpython/pull/14316 has a fix. -- nosy: +blueyed versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue18075] Infinite recursion tests triggering a segfault

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset dcc0eb379613f279864af61023ea44c94aa0535c by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-34602: Avoid failures setting macOS stack resource limit (GH-14546) https://github.com/python/cpython/commit/dcc0eb379613f279864af61023ea44c94aa0535c

[issue37437] update vendorized expat to 2.2.7

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset cc0bf97d61fbe844843f28abc510a11f3ef09942 by Ned Deily (Miss Islington (bot)) in branch '3.7': closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436) https://github.com/python/cpython/commit/cc0bf97d61fbe844843f28abc510a11f3ef09942 New

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

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset 30c2ae4dcfd19acbdfb7045151c73d5700eec7b4 by Ned Deily (Miss Islington (bot)) in branch '3.7': [3.7] bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) (GH-14369)

[issue37428] SSLContext.post_handshake_auth implicitly enables cert validation

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset 5b45fb0a449543fab6e7b606e51b739cb316d3c4 by Ned Deily (Miss Islington (bot)) in branch '3.7': [3.7] bpo-37428: Don't set PHA verify flag on client side (GH-14421) (GH-14493)

[issue37440] httplib should enable post-handshake authentication for TLS 1.3

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset f97eb883d8a29ee9718147b3631ebd2741273d9b by Ned Deily (Miss Islington (bot)) in branch '3.7': [3.7] bpo-37440: Enable TLS 1.3 post-handshake auth in http.client (GH-14448) (GH-14496)

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset 070fae6d0ff49e63bfd5f2bdc66f8eb1df3b6557 by Ned Deily (Christian Heimes) in branch '3.7': bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) https://github.com/python/cpython/commit/070fae6d0ff49e63bfd5f2bdc66f8eb1df3b6557 --

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

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset 9ad5e9edea08b0d377902d556624f03a2b8bb29b by Ned Deily (Steve Dower) in branch '3.7': bpo-37156: Fix libssl DLL tag in MSI sources (GH-14219) https://github.com/python/cpython/commit/9ad5e9edea08b0d377902d556624f03a2b8bb29b -- nosy:

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

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset c58fc3af75b54203b26008b6942709bb07d00fc6 by Ned Deily (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/c58fc3af75b54203b26008b6942709bb07d00fc6

[issue32627] Header dependent _uuid build failure on Fedora 27

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset e90815b3b16ab196c10f3a4dd91402cdc2e07d06 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-32627: Fix compile error when conflicting `_uuid` headers included (GH-11751)

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset dcc0eb379613f279864af61023ea44c94aa0535c by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-34602: Avoid failures setting macOS stack resource limit (GH-14546) https://github.com/python/cpython/commit/dcc0eb379613f279864af61023ea44c94aa0535c

[issue37369] Issue with pip in venv on Powershell in Windows

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset 3c34ea97a341e4dd80b542c99c593f014a8ae410 by Ned Deily (Steve Dower) in branch '3.7': bpo-37369: Fixes path for sys.executable when running from the Microsoft Store (GH-14450)

[issue37421] Some tests leak temporary files

2019-07-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14382 pull_request: https://github.com/python/cpython/pull/14564 ___ Python tracker ___

[issue34155] email.utils.parseaddr mistakenly parse an email

2019-07-02 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I still think the only way to read the documentation for parseaddr('a@b@c') is to return ('', '') - a tuple of empty strings. The documentations says: "Returns a tuple of that information, unless the parse fails, in which case a 2-tuple of ('', '') is

[issue37421] Some tests leak temporary files

2019-07-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14381 pull_request: https://github.com/python/cpython/pull/14563 ___ Python tracker ___

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread Christian Heimes
Christian Heimes added the comment: Ned, Łukasz, thanks for your patience. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37421] Some tests leak temporary files

2019-07-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14380 pull_request: https://github.com/python/cpython/pull/14562 ___ Python tracker ___

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset 024ea2170b7c1652a62cc7458e736c63d4970eb1 by Miss Islington (bot) in branch '3.7': bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) https://github.com/python/cpython/commit/024ea2170b7c1652a62cc7458e736c63d4970eb1 --

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset 3cba3d3c55f230a59174a0dfcafb1d4685269e60 by Miss Islington (bot) in branch '3.8': bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) https://github.com/python/cpython/commit/3cba3d3c55f230a59174a0dfcafb1d4685269e60 --

[issue37411] testEnviron (test.test_wsgiref.HandlerTests) fails when environment variable X is set

2019-07-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -14375 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37481] Deprecate bdist_wininst: use bdist_wheel instead

2019-07-02 Thread Steve Dower
Steve Dower added the comment: For the record, I am 100% in favor of deprecating and removing bdist_wininst and bdist_msi from distutils as soon as possible, as they are maintenance burdens and bdist_wininst in particular often attracts AV false positives. setuptools is welcome to either do

[issue37482] Email address display name fails with both encoded words and special chars

2019-07-02 Thread B Siemerink
Change by B Siemerink : -- title: Email header fails with both encoded words and special chars -> Email address display name fails with both encoded words and special chars ___ Python tracker

[issue37482] Email header fails with both encoded words and special chars

2019-07-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14378 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14561 ___ Python tracker ___

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14376 pull_request: https://github.com/python/cpython/pull/14559 ___ Python tracker ___

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14377 pull_request: https://github.com/python/cpython/pull/14560 ___ Python tracker ___

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset 477b1b25768945621d466a8b3f0739297a842439 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499)

[issue37411] testEnviron (test.test_wsgiref.HandlerTests) fails when environment variable X is set

2019-07-02 Thread hai shi
Change by hai shi : -- pull_requests: +14375 pull_request: https://github.com/python/cpython/pull/14453 ___ Python tracker ___ ___

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread Łukasz Langa
Łukasz Langa added the comment: FTR 3.8b2 is also waiting for this fix due to the expert's (that's you, Christian!) priority setting. -- ___ Python tracker ___

[issue37485] dataclass __foo__ methods inheritance is not working

2019-07-02 Thread Colin
Colin added the comment: I personally find it easier to understand if inheritance is the default behaviour, instead of having to explicitly disable a feature that's seems primarily designed for non-herited dataclasses. But whatever suits best the community :-) Thanks for the quick reply

[issue37485] dataclass __foo__ methods inheritance is not working

2019-07-02 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with xtreak that this works as designed and isn't a bug. -- assignee: -> eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-07-02 Thread Paul Ganssle
New submission from Paul Ganssle : Between Python 2 and Python 3, the meaning of a naive datetime underwent a subtle change. Previously a naive datetime was mostly treated as an abstract datetime in the same way a unitless number is treated as an abstract quantity (this is reflected in the

[issue37486] pathlib.Path('.').parent is itself rather than parent

2019-07-02 Thread adrien.pierre.horgn...@gmail.com
adrien.pierre.horgn...@gmail.com added the comment: T-T Sorry. It didn't feel intuitive but I should have read the doc... -- ___ Python tracker ___

[issue37482] Email header fails with both encoded words and special chars

2019-07-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +maxking ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37485] dataclass __foo__ methods inheritance is not working

2019-07-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/dataclasses.html#inheritance > When the dataclass is being created by the dataclass() decorator, it looks > through all of the class’s base classes in reverse MRO (that is, starting at > object) and, for each

[issue37486] pathlib.Path('.').parent is itself rather than parent

2019-07-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is by design. The "parent" attribute is a *lexical operation*. If you want to walk the actual filesystem, first call resolve(). It's even documented: https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.parent -- resolution: ->

[issue26131] Raise ImportWarning when loader.load_module() is used

2019-07-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37486] pathlib.Path('.').parent is itself rather than parent

2019-07-02 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +pitrou versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24846] Add tests for ``from ... import ...` code

2019-07-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19978] Update multiprocessing.spawn to use runpy.run_path

2019-07-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37487] PyList_GetItem() document regarding index

2019-07-02 Thread 杨昆仑
New submission from 杨昆仑 : The document of this function (PyList_GetItem()) says: "Return the object at position index in the list pointed to by list. The position must be **positive**,". However test shows the correct position index should be from 0 to len(list)-1. The claim of index **must

[issue37486] pathlib.Path('.').parent is itself rather than parent

2019-07-02 Thread adrien.pierre.horgn...@gmail.com
New submission from adrien.pierre.horgn...@gmail.com : Tested with CPython 3.7.3 ``` from pathlib import Path p = Path('.') assert p == p.parent # should fail but it does not ``` I expect Path('.').parent to be Path('..') I searched issues and did not find any similar issue but maybe I

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2019-07-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2019-07-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37485] dataclass __foo__ methods inheritance is not working

2019-07-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37483] Add PyObject_CallOneArg()

2019-07-02 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +14374 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14558 ___ Python tracker ___

[issue37485] dataclass __foo__ methods inheritance is not working

2019-07-02 Thread Colin
New submission from Colin : Hi, When using inheritance with dataclass, "standard" instance methods that are provided with a default behavior thanks to dataclass are not overridable using inheritance. Please see the sample below (or the attached file): import dataclasses

[issue36904] Implement _PyStack_UnpackDict() with a single allocation

2019-07-02 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37475] What is urllib.request.urlcleanup() function?

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: Another weirdness of test_urllib.py: it redefines urlopen() and actually tests its test function, rather than testing the urllib.request module. https://github.com/python/cpython/pull/14529#issuecomment-507646868 "def urlopen(url, data=None, proxies=None):"

[issue37421] Some tests leak temporary files

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7cb9204ee1cf204f6f507d99a60f7c5bb359eebb by Victor Stinner in branch 'master': bpo-37421: urllib.request tests call urlcleanup() (GH-14529) https://github.com/python/cpython/commit/7cb9204ee1cf204f6f507d99a60f7c5bb359eebb --

[issue37484] Use PY_VECTORCALL_ARGUMENTS_OFFSET for __exit__

2019-07-02 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +14373 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14557 ___ Python tracker ___

[issue37484] Use PY_VECTORCALL_ARGUMENTS_OFFSET for __exit__

2019-07-02 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : 35% of all cases where methods are called without PY_VECTORCALL_ARGUMENT_OFFSET and taking at least 1 argument (positional or keyword) are calls to __exit__ So we should really optimize __exit__ -- components: Interpreter Core messages: 347139

[issue37483] Add PyObject_CallOneArg()

2019-07-02 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : As discussed in https://mail.python.org/archives/list/capi-...@python.org/thread/X6HJOEX6RRFLNKAQSQR6HLD7K4QZ4OTZ/ it would be convenient to have a function PyObject_CallOneArg() for making calls with exactly 1 positional argument and no keyword

[issue37421] Some tests leak temporary files

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset 632cb36084dc9d13f1cdb31a0e7e3ba80745a51a by Miss Islington (bot) in branch '3.8': bpo-37421: multiprocessing tests call _run_finalizers() (GH-14527) https://github.com/python/cpython/commit/632cb36084dc9d13f1cdb31a0e7e3ba80745a51a --

[issue37482] Email header fails with both encoded words and special chars

2019-07-02 Thread SilentGhost
Change by SilentGhost : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37482] Email header fails with both encoded words and special chars

2019-07-02 Thread B Siemerink
New submission from B Siemerink : Special characters in email headers are normally put within double quotes. However, encoded words (=?charset?x?...?=) are not allowed withing double quotes. When the header contains a word with special characters and another word that must be encoded, the

[issue37421] Some tests leak temporary files

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 039fb49c185570ab7b02f13fbdc51c859cfd831e by Victor Stinner in branch 'master': bpo-37421: multiprocessing tests call _run_finalizers() (GH-14527) https://github.com/python/cpython/commit/039fb49c185570ab7b02f13fbdc51c859cfd831e --

[issue37421] Some tests leak temporary files

2019-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14372 pull_request: https://github.com/python/cpython/pull/14554 ___ Python tracker ___

[issue37335] Improve encoding alias handling in locale coercion tests

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: Thanks Jakub Kulik. test_c_locale_coercion should pass again on 3.7, 3.8 and master branches on Solaris. -- ___ Python tracker ___

[issue37335] Improve encoding alias handling in locale coercion tests

2019-07-02 Thread Jakub Kulik
Change by Jakub Kulik : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37481] Deprecate bdist_wininst: use bdist_wheel instead

2019-07-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14371 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14553 ___ Python tracker ___

[issue37335] Improve encoding alias handling in locale coercion tests

2019-07-02 Thread miss-islington
miss-islington added the comment: New changeset 518dc94e423398f7b0b5fd7bd5b84f138618e68e by Miss Islington (bot) in branch '3.8': bpo-37335, test_c_locale_coercion: Remove unnecessary code (GH-14447) https://github.com/python/cpython/commit/518dc94e423398f7b0b5fd7bd5b84f138618e68e

[issue10945] bdist_wininst depends on MBCS codec, unavailable on non-Windows

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: Lib/distutils/tests/test_bdist_wininst.py contains an interesting comment linking to bpo-5731: # issue5731: command was broken on non-windows platforms # this test makes sure it works now for every platform # let's create a

[issue37481] Deprecate bdist_wininst: use bdist_wheel instead

2019-07-02 Thread STINNER Victor
Change by STINNER Victor : -- title: Deprecate bdist_wininstr: use bdist_wheel instead -> Deprecate bdist_wininst: use bdist_wheel instead ___ Python tracker ___

[issue37481] Deprecate bdist_wininstr: use bdist_wheel instead

2019-07-02 Thread STINNER Victor
New submission from STINNER Victor : According to the following "Deprecate bdist_wininst" discussion, bdist_wininst can be deprecated: https://discuss.python.org/t/deprecate-bdist-wininst/1929 bdist_wininst uses the mbcs encoding which is only available on Windows. There is bpo-10945 open for

[issue37335] Improve encoding alias handling in locale coercion tests

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 61bf97e91620e020939d57a36918ab22579920ff by Victor Stinner (Jakub Kulík) in branch 'master': bpo-37335, test_c_locale_coercion: Remove unnecessary code (GH-14447) https://github.com/python/cpython/commit/61bf97e91620e020939d57a36918ab22579920ff

[issue37335] Improve encoding alias handling in locale coercion tests

2019-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +14370 pull_request: https://github.com/python/cpython/pull/14552 ___ Python tracker ___

[issue37335] Improve encoding alias handling in locale coercion tests

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset c53173aa00689aa1be17ce5406289718f6b30532 by Victor Stinner (Jakub Kulík) in branch '3.7': bpo-37335: Fix test_c_locale_coercion to handle any ASCII alias (GH-14449)

[issue37475] What is urllib.request.urlcleanup() function?

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: > urlcleanup also sets the global variable _opener to None so it does the extra > work of uninstalling the global variable opener set by install_opener which > is also not documented. Oh wait, urlopen() also sets this private _opener global variable and so

[issue37461] email.parser.Parser hang

2019-07-02 Thread Marcin Niemira
Change by Marcin Niemira : -- keywords: +patch pull_requests: +14369 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14551 ___ Python tracker ___

[issue37233] Use _PY_FASTCALL_SMALL_STACK for method_vectorcall

2019-07-02 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +14367 pull_request: https://github.com/python/cpython/pull/14550 ___ Python tracker ___

[issue37138] PEP 590 method_vectorcall calls memcpy with NULL src

2019-07-02 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +14368 pull_request: https://github.com/python/cpython/pull/14550 ___ Python tracker ___

[issue37421] Some tests leak temporary files

2019-07-02 Thread STINNER Victor
STINNER Victor added the comment: About urllib.request, I created: bpo-37475 "What is urllib.request.urlcleanup() function?". -- ___ Python tracker ___

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2019-07-02 Thread Atul Bagga
Atul Bagga added the comment: Suprisingly this works fine on ConEMU which I commonly use on windows though internally I still use powershell on conemu. https://conemu.github.io/ It does not work on CMD and Powershell consoles. -- ___ Python

[issue37382] Improve conditional check for test_gdb

2019-07-02 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > if a change like that is pushed, all the fleet has to be monitored for > potential failures, as there are many older OSes supported there. If this breaks some buildbots, then we can find out more precisely under which conditions they fail. For example, if

[issue36904] Implement _PyStack_UnpackDict() with a single allocation

2019-07-02 Thread Inada Naoki
Inada Naoki added the comment: New changeset d4efd917ac24940063a1ce80073fe3570c5f07f8 by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-36904: Optimize _PyStack_UnpackDict (GH-14517) https://github.com/python/cpython/commit/d4efd917ac24940063a1ce80073fe3570c5f07f8 -- nosy:

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread Christian Heimes
Christian Heimes added the comment: Riccardo, the issue is about parsing the user supplied hostname/ipaddress, not the IPAddress field of the certificate. X.509 certs store IP addresses as fixed-size binary data, 4 bytes for IPv4 or 16 bytes for IPv6. There can't be any additional payload.

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread Riccardo Schirone
Riccardo Schirone added the comment: As far as I know you can't request a hostname with spaces in it (which seems to be a precondition to trigger this bug) so I think an attacker cannot even create a malicious CA that would be mistakenly accepted by match_hostname. -- nosy:

[issue37463] socket.inet_aton IP parsing issue in ssl.match_hostname

2019-07-02 Thread Ned Deily
Ned Deily added the comment: Ping. At the moment, this is the only release blocker preventing the release of 3.7.4rc2. -- ___ Python tracker ___

[issue36432] Running python test suite fails on macOS 10.14.4 with resource.RLIMIT_STACK error

2019-07-02 Thread Ned Deily
Ned Deily added the comment: See updated Issue34602 discussion for why reverting 335ab5b66f432ae3713840ed2403a11c368f5406 causes other problems and for a different fix for this issue. -- ___ Python tracker

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2019-07-02 Thread Ned Deily
Change by Ned Deily : -- priority: release blocker -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue18075] Infinite recursion tests triggering a segfault

2019-07-02 Thread Ned Deily
Ned Deily added the comment: New changeset 782854f90ad5f73f787f68693d535f2b05514e13 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-34602: Avoid failures setting macOS stack resource limit (GH-14546) (GH-14549)

  1   2   >