[issue34510] add HTTPConnection.settimeout()

2018-11-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue34950] Parse trusted and signature information from X509 certificate

2018-11-09 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- nosy: +remi.lapeyre ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35206] Add new experimental _Py_CAPI2 API

2018-11-09 Thread STINNER Victor
New submission from STINNER Victor : Add a new experimental "_Py_CAPI2" API: opt-in which doesn't leak implementation details and replace macros with function calls. Attached PR modified PyTuple_GET_ITEM() if _Py_CAPI2 is defined. With this API, PyTuple_GET_ITEM() macro becomes a function cal

[issue35201] Recursive '**' matches non-existent directories.

2018-11-09 Thread Windson Yang
Change by Windson Yang : -- versions: +Python 3.5, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue35206] Add new experimental _Py_CAPI2 API

2018-11-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9717 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue35205] os.path.realpath preserves the trailing backslash on Windows in python 3.6.7 and python 3.7.1

2018-11-09 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue35206] Add new experimental _Py_CAPI2 API

2018-11-09 Thread STINNER Victor
STINNER Victor added the comment: I previously tried a very similar patch but reusing Py_DEBUG define, rather than adding a new _Py_CAPI2 define: bpo-35199. I abandonned it because it was backward incompatible. This change is backward compatible: the new API is not compatible with the curren

[issue35206] Add a new experimental _Py_CAPI2 API

2018-11-09 Thread STINNER Victor
Change by STINNER Victor : -- title: Add new experimental _Py_CAPI2 API -> Add a new experimental _Py_CAPI2 API ___ Python tracker ___

[issue35199] Convert PyTuple_GET_ITEM() macro to a function call with additional checks in debug mode

2018-11-09 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-35206 "Add a new experimental _Py_CAPI2 API". -- ___ Python tracker ___ ___ Python-

[issue34628] urllib.request.urlopen fails when userinfo is present in URL

2018-11-09 Thread Windson Yang
Windson Yang added the comment: First, we can add some check at https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Lib/http/client.py#L871 and raise an error if the URL contains userinfo part. Second, we should catch some exception in urllib.request.urlopen, if w

[issue35206] [WIP] Add a new experimental _Py_CAPI2 API

2018-11-09 Thread STINNER Victor
Change by STINNER Victor : -- title: Add a new experimental _Py_CAPI2 API -> [WIP] Add a new experimental _Py_CAPI2 API ___ Python tracker ___

[issue35195] Pandas read_csv() is 3.5X Slower on Python 3.7.1 vs Python 3.6.7 & 3.5.2 On Windows 10

2018-11-09 Thread Dragoljub
Dragoljub added the comment: I tried playing around with the UTF-8 mode settings but did not get a speed improvement. After reading through the PEP it appears that on Windoes: "To allow for better cross-platform binary portability and to adjust automatically to future changes in locale avai

[issue35196] IDLE text squeezer is too aggressive and is slow

2018-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just adding the open issues given Raymond's message for reference. A lot of the IDLE issues have patches and since we moved to GitHub they were not updated. Thanks to Tal for converting some patches togit PRs. I would like to help with minor issues

[issue35195] Pandas read_csv() is 3.5X Slower on Python 3.7.1 vs Python 3.6.7 & 3.5.2 On Windows 10

2018-11-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have limited understanding of Windows and I don't have access to a Windows machine to check this out. I am adding Victor who implemented the PEP and might help here. There also seems to be PYTHONLEGACYWINDOWSFSENCODING for windows specific use ca

[issue34949] ntpath.abspath no longer uses normpath

2018-11-09 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : As commented on Issue33878, the fact that expressions like (x) = 42 are accepted is, in reality, an implementation detail and they should be disallowed. -- assignee: pablogsal components: Interpreter Core messages: 329590 nosy: pablogsal prio

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +9718 stage: -> patch review ___ Python tracker ___ ___ Python

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9719 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +gvanrossum, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am not sure if this is the cleanest/simplest implementation...if you think there is a better way to do this I am happy to change the Pull Request :) -- ___ Python tracker

[issue35202] Remove unused imports in standard library

2018-11-09 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- pull_requests: +9720 ___ Python tracker ___ ___ Python-bugs-

[issue35195] Pandas read_csv() is 3.5X Slower on Python 3.7.1 vs Python 3.6.7 & 3.5.2 On Windows 10

2018-11-09 Thread Dragoljub
Dragoljub added the comment: I tested this at runtime with sys._enablelegacywindowsfsencoding() Also this was new in 3.6 and Py 3.6 does not have the slowdown issue. New in version 3.6: See PEP 529 for more details. -- ___ Python tracker

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Guido van Rossum
Guido van Rossum added the comment: I could have sworn Benjamin showed a fix for this during the core-dev sprint in Seattle... -- ___ Python tracker ___ _

[issue35194] A typo in a constant in cp932 codec

2018-11-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0d165262d949440e5aea6533b10e19e4cd5cf12d by Serhiy Storchaka (Alexey Izbyshev) in branch '2.7': [2.7] bpo-35194: Fix a wrong constant in cp932 codec. (GH-10420) (GH-10433) https://github.com/python/cpython/commit/0d165262d949440e5aea6533b10e19

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually, `(a) = 42` doesn't contradict the grammar. assignment_stmt ::= (target_list "=")+ (starred_expression | yield_expression) target_list ::= target ("," target)* [","] target ::= identifier | "(" [target_list] ")"

[issue35202] Remove unused imports in standard library

2018-11-09 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- pull_requests: +9721 ___ Python tracker ___ ___ Python-bugs-

[issue35202] Remove unused imports in standard library

2018-11-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 43a74abb3a87092a7fd6c71042eafb977d70d8e0 by Terry Jan Reedy (Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)) in branch 'master': bpo-35202: Remove unused imports in idlelib (GH-10438) https://github.com/python/cpython/commit/43a74abb3a87092a7fd6c7

[issue35202] Remove unused imports in standard library

2018-11-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9722 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35202] Remove unused imports in standard library

2018-11-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9723 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35202] Remove unused imports in standard library

2018-11-09 Thread miss-islington
miss-islington added the comment: New changeset 2847ccae4687cb43334d87d86fb6c11cb14218f5 by Miss Islington (bot) in branch '3.7': bpo-35202: Remove unused imports in idlelib (GH-10438) https://github.com/python/cpython/commit/2847ccae4687cb43334d87d86fb6c11cb14218f5 -- nosy: +miss-i

[issue35202] Remove unused imports in standard library

2018-11-09 Thread miss-islington
miss-islington added the comment: New changeset 2903b0fd38a65e16ddafae7754ed5d605fea68ff by Miss Islington (bot) in branch '3.6': bpo-35202: Remove unused imports in idlelib (GH-10438) https://github.com/python/cpython/commit/2903b0fd38a65e16ddafae7754ed5d605fea68ff --

[issue35208] IDLE: Squeezed lines count ignores window width

2018-11-09 Thread Tal Einat
New submission from Tal Einat : Squeezing a single long line with a newline, e.g. 'a'*200, results in "Squeezed text (1 lines)". Also, changing the width of the window (even to very small widths) doesn't affect the number of lines reported when squeezing (when squeezing *after* the width cha

[issue35208] IDLE: Squeezed lines count ignores window width

2018-11-09 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +9724 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list m

[issue35208] IDLE: Squeezed lines count ignores window width

2018-11-09 Thread Tal Einat
Tal Einat added the comment: See PR GH-10449 with a fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2