[issue34574] OrderedDict iterators are exhausted during pickling

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset dcd56f615e89d4920a0598a9c3d3301701f238a6 by Miss Islington (bot) 
in branch '3.7':
bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. 
(GH-9051)
https://github.com/python/cpython/commit/dcd56f615e89d4920a0598a9c3d3301701f238a6


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2018-10-19 Thread Quentin Agren


Change by Quentin Agren :


--
keywords: +patch
pull_requests: +9340
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35003] Provide an option to venv to put files in a bin/ directory on Windows

2018-10-19 Thread DamlaAltun


DamlaAltun  added the comment:

I couldn't find a way to prevent being in seperate forms. When i add custom 
bin, custom include and custom libpaths 4 files are creating. The  normal 
`bin`, normal `include` and custom `cbin` and custom `cinc`. You can unassign 
me.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2018-10-19 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34574] OrderedDict iterators are exhausted during pickling

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9338

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34574] OrderedDict iterators are exhausted during pickling

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9339

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34574] OrderedDict iterators are exhausted during pickling

2018-10-19 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset a5259fb05d03f4871837c14fed704541a20896c0 by Serhiy Storchaka 
(Sergey Fedoseev) in branch 'master':
bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. 
(GH-9051)
https://github.com/python/cpython/commit/a5259fb05d03f4871837c14fed704541a20896c0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34909] StrEnum subclasses cannot be created

2018-10-19 Thread Ned Deily


Ned Deily  added the comment:


New changeset 8c9fd9c91ba748df68a11e3bf216fa158314c9b5 by Ned Deily in branch 
'master':
bpo-34909: NEWS entry (GH-9995)
https://github.com/python/cpython/commit/8c9fd9c91ba748df68a11e3bf216fa158314c9b5


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35026] Winreg's documentation lacks mentioning required permission at some points

2018-10-19 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Thanks for the report. I am adding windows component since it's a windows 
specific doc issue.

RegDeleteValueW

> A handle to an open registry key. The key must have been opened with the 
> KEY_SET_VALUE access right. For more information, see Registry Key Security 
> and Access Rights.

https://docs.microsoft.com/en-us/windows/desktop/api/winreg/nf-winreg-regdeletevaluew#parameters

RegDeleteKeyExA

https://docs.microsoft.com/en-us/windows/desktop/api/winreg/nf-winreg-regdeletekeyexa#parameters

--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, xtreak, zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34909] StrEnum subclasses cannot be created

2018-10-19 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +9337
stage: commit review -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27741] datetime.datetime.strptime functionality description incorrect

2018-10-19 Thread Gus Goulart


Change by Gus Goulart :


--
keywords: +patch
pull_requests: +9335
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Alexey Izbyshev!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2018-10-19 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
nosy: +pablogsal

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 42c52a9e45ed6ff2867403894bc030ed5780282d by Miss Islington (bot) 
in branch '3.6':
bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760)
https://github.com/python/cpython/commit/42c52a9e45ed6ff2867403894bc030ed5780282d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 1662bbf09fade0310d03736066e5c36611bb4b9b by Miss Islington (bot) 
in branch '3.7':
bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760)
https://github.com/python/cpython/commit/1662bbf09fade0310d03736066e5c36611bb4b9b


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34983] expose symtable.Symbol.is_nonlocal()

2018-10-19 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Alexey Izbyshev!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Chandan Kumar and Berker Peksag. The documentation has been clarified.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

The documentation has been clarified, thanks Pablo Galindo!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 2bad7acdfebb87a6eef238a7acca636cfb648a02 by Miss Islington (bot) 
in branch '2.7':
bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs 
(GH-5621)
https://github.com/python/cpython/commit/2bad7acdfebb87a6eef238a7acca636cfb648a02


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9334

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset aa95bfb5fee366aa58c90b7e1c77fc7e183dbf3a by Victor Stinner 
(Alexey Izbyshev) in branch 'master':
bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760)
https://github.com/python/cpython/commit/aa95bfb5fee366aa58c90b7e1c77fc7e183dbf3a


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32256] Make patchcheck.py work for out-of-tree builds

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9333

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset d9a2665fc4573c4d311a89750737ad4cc3310252 by Miss Islington (bot) 
in branch '3.6':
bpo-32890, os: Use errno instead of GetLastError() in execve() and truncate() 
(GH-5784)
https://github.com/python/cpython/commit/d9a2665fc4573c4d311a89750737ad4cc3310252


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 557a68789b97bf281aa7b7e96f083982c01a5f7e by Miss Islington (bot) 
in branch '3.7':
bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs 
(GH-5621)
https://github.com/python/cpython/commit/557a68789b97bf281aa7b7e96f083982c01a5f7e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 75ee130c39e73730535d94923fd8322ef616cb83 by Miss Islington (bot) 
in branch '3.6':
bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs 
(GH-5621)
https://github.com/python/cpython/commit/75ee130c39e73730535d94923fd8322ef616cb83


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 8f53dcdb246a3acb0e64b742c35b5f785bd19092 by Miss Islington (bot) 
in branch '3.7':
bpo-32890, os: Use errno instead of GetLastError() in execve() and truncate() 
(GH-5784)
https://github.com/python/cpython/commit/8f53dcdb246a3acb0e64b742c35b5f785bd19092


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset b0f7fa1dda61ae7519deed816993ac5d55870958 by Miss Islington (bot) 
in branch '2.7':
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
https://github.com/python/cpython/commit/b0f7fa1dda61ae7519deed816993ac5d55870958


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34983] expose symtable.Symbol.is_nonlocal()

2018-10-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset d5b4f1b5a064c0d858352100fcddb91c363afa51 by Pablo Galindo in 
branch 'master':
bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)
https://github.com/python/cpython/commit/d5b4f1b5a064c0d858352100fcddb91c363afa51


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34573] Simplify __reduce__() of set and dict iterators.

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Sergey Fedoseev!

--
nosy: +vstinner
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34573] Simplify __reduce__() of set and dict iterators.

2018-10-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 6395844e6adebc12c4eba1fb75c5e7c9c8b89f85 by Pablo Galindo (Sergey 
Fedoseev) in branch 'master':
bpo-34573: Simplify __reduce__() of set and dict iterators. (GH-9050)
https://github.com/python/cpython/commit/6395844e6adebc12c4eba1fb75c5e7c9c8b89f85


--
nosy: +pablogsal

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset efc09a9701543f7180fc7ea0b6c45cf198c29cb8 by Miss Islington (bot) 
in branch '3.6':
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
https://github.com/python/cpython/commit/efc09a9701543f7180fc7ea0b6c45cf198c29cb8


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 3e5bcd12f661bdf363c025b52a3d515829e64ed2 by Miss Islington (bot) 
in branch '3.7':
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
https://github.com/python/cpython/commit/3e5bcd12f661bdf363c025b52a3d515829e64ed2


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9332

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9331

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9330

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32798] mmap.flush() on Linux does not accept the "offset" and "size" args

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 027664a3d5ebad575aafe5fcc572e3b05f7f24e5 by Victor Stinner (Pablo 
Galindo) in branch 'master':
bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs 
(#5621)
https://github.com/python/cpython/commit/027664a3d5ebad575aafe5fcc572e3b05f7f24e5


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9329

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9328

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 13ae4d44381a647aadd09b70b24833052659be41 by Victor Stinner 
(Berker Peksag) in branch 'master':
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
https://github.com/python/cpython/commit/13ae4d44381a647aadd09b70b24833052659be41


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21196] Name mangling example in Python tutorial

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9327

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 834603112e6ca35944dd21105b01fca562dc3241 by Victor Stinner 
(Alexey Izbyshev) in branch 'master':
bpo-32890, os: Use errno instead of GetLastError() in execve() and truncate() 
(GH-5784)
https://github.com/python/cpython/commit/834603112e6ca35944dd21105b01fca562dc3241


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9325

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32890] os: Some functions may report bogus errors on Windows

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9326

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32236] open() shouldn't silently ignore buffering=1 in binary mode

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

I don't think that it would be a good idea to start emitting a new warning in a 
minor release like the future Python 3.7.2, so I suggest to not backport the 
change.

I close the issue.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32236] open() shouldn't silently ignore buffering=1 in binary mode

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset a2670565d8f5c502388378aba1fe73023fd8c8d4 by Victor Stinner 
(Alexey Izbyshev) in branch 'master':
bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)
https://github.com/python/cpython/commit/a2670565d8f5c502388378aba1fe73023fd8c8d4


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21332] subprocess bufsize=1 docs are misleading

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset a2670565d8f5c502388378aba1fe73023fd8c8d4 by Victor Stinner 
(Alexey Izbyshev) in branch 'master':
bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)
https://github.com/python/cpython/commit/a2670565d8f5c502388378aba1fe73023fd8c8d4


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10344] codecs.open() buffering doc needs fix

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset a2670565d8f5c502388378aba1fe73023fd8c8d4 by Victor Stinner 
(Alexey Izbyshev) in branch 'master':
bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)
https://github.com/python/cpython/commit/a2670565d8f5c502388378aba1fe73023fd8c8d4


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Matthias Bussonnier!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset c8348fb6d2ef1b5bb91d6eb5fbafdf42c4ae16ce by Miss Islington (bot) 
in branch '3.7':
bpo-33594: Add deprecation info in inspect.py module (GH-7036)
https://github.com/python/cpython/commit/c8348fb6d2ef1b5bb91d6eb5fbafdf42c4ae16ce


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread STINNER Victor

STINNER Victor  added the comment:

Thanks Andrés Delfino!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31122] SSLContext.wrap_socket() throws OSError with errno == 0

2018-10-19 Thread Ben Darnell


Ben Darnell  added the comment:

We have an easy reproduction of this "[Errno 0] Error" on the server side in 
https://github.com/tornadoweb/tornado/issues/2504#issuecomment-426782158

It is triggered by a connection from `nc -z` (which I think is doing a TCP 
handshake and shutting down the connection cleanly, but I'm not sure. It might 
just send an RST instead of the clean shutdown). On macos, I get SSL_ERROR_EOF 
(as expected), but on linux it raises an OSError with errno 0. (Note that the 
script as posted has a small mistake in that it is using a client-side 
SSLContext on the server side. The same error is seen when that mistake is 
fixed) 

I'm going to add "errno 0" to the list of errors that Tornado should swallow 
silently here, so if you're trying to reproduce this in the future use Tornado 
5.1.1.

--
nosy: +Ben.Darnell

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 932ebc1e0ef9b0d5cd17370f5183bad0257d36f9 by Miss Islington (bot) 
in branch '3.6':
bpo-33594: Add deprecation info in inspect.py module (GH-7036)
https://github.com/python/cpython/commit/932ebc1e0ef9b0d5cd17370f5183bad0257d36f9


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset 4acf6c9d4be77b968fa498569d7a1545e5e77344 by Ethan Furman (Victor 
Stinner) in branch 'master':
bpo-34536: Cleanup test_enum imports (GH-9979)
https://github.com/python/cpython/commit/4acf6c9d4be77b968fa498569d7a1545e5e77344


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

> Why does the above say 9319 when the PR is 9978?

Roundup (the software running bugs.python.org) logs its own internal identifier 
for pull requests. Following https://bugs.python.org/pull_request9320 may help 
you to understand :-)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread Ethan Furman


Ethan Furman  added the comment:


New changeset 0f2fc8bee0b435ee2934751264196db30d16ed8a by Ethan Furman (Victor 
Stinner) in branch '3.7':
bpo-34536: raise error for invalid _missing_ results (GH-9147) (GH-9978)
https://github.com/python/cpython/commit/0f2fc8bee0b435ee2934751264196db30d16ed8a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 70102ff18817dd3db79cf73a1028251bbf2106f2 by Miss Islington (bot) 
in branch '3.6':
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
https://github.com/python/cpython/commit/70102ff18817dd3db79cf73a1028251bbf2106f2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington


miss-islington  added the comment:


New changeset 2a6cf446802079a3ee57147de8273c84d63767e9 by Miss Islington (bot) 
in branch '3.7':
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
https://github.com/python/cpython/commit/2a6cf446802079a3ee57147de8273c84d63767e9


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread Ethan Furman


Ethan Furman  added the comment:

Change by STINNER Victor:

> pull_requests: +9319

Why does the above say 9319 when the PR is 9978?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9324

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9323

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33594] add deprecation since 3.5 for a few methods of inspect.

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset ded87d804e2a85b2a3ea9e7a11384b41fafdfa29 by Victor Stinner 
(Matthias Bussonnier) in branch 'master':
bpo-33594: Add deprecation info in inspect.py module (GH-7036)
https://github.com/python/cpython/commit/ded87d804e2a85b2a3ea9e7a11384b41fafdfa29


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33708] Doc: Asyncio's Event documentation typo.

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

The asyncio documentation has been rewritten. It seems like the missing 
references issue is gone.

--
nosy: +vstinner
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9322

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset 0f14fc1a7cb2ea0012d0a943e4460acdee2108d7 by Victor Stinner 
(Andrés Delfino) in branch 'master':
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
https://github.com/python/cpython/commit/0f14fc1a7cb2ea0012d0a943e4460acdee2108d7


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33726] Add short descriptions to PEP references in seealso

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9321

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33712] OrderedDict can set an exception in tp_clear

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 6f17e51345d930ccb4db306acc12b7d1f6c5e690 by Victor Stinner 
(Serhiy Storchaka) in branch 'master':
bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349)
https://github.com/python/cpython/commit/6f17e51345d930ccb4db306acc12b7d1f6c5e690


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 23efe77acf0dce513d7b7cab5523c061bb006b60 by Victor Stinner (Miss 
Islington (bot)) in branch '3.7':
bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) 
(GH-9971)
https://github.com/python/cpython/commit/23efe77acf0dce513d7b7cab5523c061bb006b60


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Strange, no bot noticed that a change has been merged into the master branch:

bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) 
https://github.com/python/cpython/commit/f192aeb95a139ede74d69e39c046c498ff288a37

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34824] _ssl.c: Possible null pointer dereference

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thanks Zackery Spytz for the report and the fix!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34824] _ssl.c: Possible null pointer dereference

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 4ec9f64e07c8f397ad6699f8b99843846c219588 by Victor Stinner (Miss 
Islington (bot)) in branch '3.7':
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9743)
https://github.com/python/cpython/commit/4ec9f64e07c8f397ad6699f8b99843846c219588


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34824] _ssl.c: Possible null pointer dereference

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset d92816de667169fbd54a3442705bc07286e8c69d by Victor Stinner (Miss 
Islington (bot)) in branch '3.6':
bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9744)
https://github.com/python/cpython/commit/d92816de667169fbd54a3442705bc07286e8c69d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Christian: do you think that this issue is severe enough to justify to backport 
it to Python 3.4 and 3.5? I don't think so. Python 2.7, 3.6, 3.7 and master 
(future 3.8) already have been fixed, IMHO it's enough and this issue can be 
closed.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 2546ac8eeb56fc146adea9a03158440a9271714e by Victor Stinner (Miss 
Islington (bot)) in branch '2.7':
bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9547)
https://github.com/python/cpython/commit/2546ac8eeb56fc146adea9a03158440a9271714e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset c119d5948f941d2f528dda3f099e196bd6383000 by Victor Stinner (Miss 
Islington (bot)) in branch '3.7':
bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9545)
https://github.com/python/cpython/commit/c119d5948f941d2f528dda3f099e196bd6383000


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34791] xml package does not obey sys.flags.ignore_environment

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 5e808f92ea4eb238b17757526b99f97debf7dd57 by Victor Stinner (Miss 
Islington (bot)) in branch '3.6':
bpo-34791: xml package obeys ignore env flags (GH-9544) (GH-9546)
https://github.com/python/cpython/commit/5e808f92ea4eb238b17757526b99f97debf7dd57


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

I wrote PR 9978 to backport the fix to Python 3.7.

Should the fix be backported to Python 3.6 as well?

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +9320

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-10-19 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +9319

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1621] Do not assume signed integer overflow behavior

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

Thank you very much to the task force who worked on this issues which can be 
seen as boring and useless, but are very important nowadays with C compilers 
which are more and more agressive to optimize everything (I'm looking at you 
clang!).

This bug is open for 11 years and dozens and dozens of undefined behaviours 
have been fixed in the meanwhile.

This bug is a giant beast with many patches and many pull requests. I dislike 
such bug, it's very hard to follow them. I suggest to open new bugs for 
undefined behaviour on specific functions, rather than a very vague "let's open 
a single bug to track everything".

It's now time to close the issue.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1621] Do not assume signed integer overflow behavior

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 6665802549006eb50c1a68c3489ee3aaf81d0c8e by Victor Stinner (Miss 
Islington (bot)) in branch '3.7':
bpo-1621: Avoid signed integer overflow in set_table_resize() (GH-9059) 
(GH-9198)
https://github.com/python/cpython/commit/6665802549006eb50c1a68c3489ee3aaf81d0c8e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1621] Do not assume signed integer overflow behavior

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset a9274f7b3f69519f0746c50f85a68abd926ebe7b by Victor Stinner (Miss 
Islington (bot)) in branch '3.6':
bpo-1621: Avoid signed integer overflow in set_table_resize(). (GH-9059) 
(GH-9199)
https://github.com/python/cpython/commit/a9274f7b3f69519f0746c50f85a68abd926ebe7b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34070] Superfluous call to isatty in open() when buffering >= 0

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:

David Herberth: Thanks for report the issue, I didn't noticed it previously 
even if I read strace output frequently! And thanks for the fix.


> This generates an error (can be seen with strace):
> ioctl(5, TCGETS, 0x7ffef1435b60)  = -1 ENOTTY (Inappropriate ioctl for device)

Honestly, I don't think that it's a major bug, so I suggest to not backport the 
change to 3.7 and older. I prefer to not change stable changes to avoid any 
risk of regression.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34070] Superfluous call to isatty in open() when buffering >= 0

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 8deab9672554edaf58f91e238cc899463d53f6ea by Victor Stinner (David 
Herberth) in branch 'master':
bpo-34070: open() only checks for isatty if buffering < 0 (GH-8187)
https://github.com/python/cpython/commit/8deab9672554edaf58f91e238cc899463d53f6ea


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25750] tp_descr_get(self, obj, type) is called without owning a reference to "self"

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 5a30620e68ebb911eef4d583de3776d782148637 by Victor Stinner 
(jdemeyer) in branch 'master':
bpo-25750: Add test on bad descriptor __get__() (GH-9084)
https://github.com/python/cpython/commit/5a30620e68ebb911eef4d583de3776d782148637


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33073] Add as_integer_ratio() to int() objects

2018-10-19 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset b2e2025941f6a4fdb716bd141d31acf720353d21 by Victor Stinner 
(Serhiy Storchaka) in branch 'master':
bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303)
https://github.com/python/cpython/commit/b2e2025941f6a4fdb716bd141d31acf720353d21


--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35019] Allow ipaddres.IPv4/v6Address in asyncio.create_server

2018-10-19 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
title: Minor Bug found in asyncio - Python 3.5.3 -> Allow 
ipaddres.IPv4/v6Address in asyncio.create_server

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35019] Minor Bug found in asyncio - Python 3.5.3

2018-10-19 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
type: behavior -> enhancement
versions: +Python 3.8 -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30945] loop.create_server does not detect if the interface is IPv6 enabled

2018-10-19 Thread Nic Watson


Change by Nic Watson :


--
nosy: +jnwatson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34991] variable type list [] referential integrity data loss

2018-10-19 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

This appears to be an incomplete breadth-first search program.  (Incomplete: 
the visited list, for instance, is initialized and appended, but never used.)

checkvisit consists of multiple references to the path list.  Each time path is 
appended, it is then cleared and repopulated (with the same sequence).  Given 
this and the location of the print statement, the output function output looks 
correct.  Each time checkvisit is printed, it prints the current value of path 
k times, where k increases each iteration.

Alan, the problem appears to be that you misunderstand lists and lists of lists 
and especially lists containing the same list multiple times.   Do some simpler 
experiments and if you are still puzzled, post on python-list, not here.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35027] distutils.core.setup does not raise TypeError when if classifiers, keywords and platforms fields are not specified as a list

2018-10-19 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Thanks for the report. It was made as a TypeError in 
https://bugs.python.org/issue19610#msg306853 in the commit to check for list 
explicitly [0] . Then since it broke a lot of packages as seen in the 
discussion and now it accepts string and list later at 
https://bugs.python.org/issue19610#msg307622 and commit [1] . 

I think Distribution doc was changed to reflect the change and setup doc had 
the old one indicating TypeError . So I guess it's a documentation fix that 
needs to be done. Using an integer for classifier gives me a warning and also 
eventually a TypeError on master and Python 3.7 . I am proposing this to be an 
easy doc fix. Would you like to raise a PR?

The doc is at 
https://github.com/python/cpython/blob/master/Doc/distutils/setupscript.rst


# Using classifier=1 in setup.py gives warning and then a TypeError. String is 
acceptable as per the original report

../cpython/python.exe setup.py sdist
Warning: 'classifiers' should be a list, got type 'int'
Traceback (most recent call last):
  File "setup.py", line 3, in 
setup(name='foo',
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/distutils/core.py", 
line 108, in setup
_setup_distribution = dist = klass(attrs)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/distutils/dist.py", 
line 267, in __init__
getattr(self.metadata, "set_" + key)(val)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/distutils/dist.py", 
line 1215, in set_classifiers
self.classifiers = _ensure_list(value, 'classifiers')
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/distutils/dist.py", 
line 40, in _ensure_list
value = list(value)
TypeError: 'int' object is not iterable


[0] 
https://github.com/python/cpython/commit/dcaed6b2d954786eb5369ec2e8dfdeefe3cdc6ae#diff-d9afd486aff62306cb23cb8be2d4458eR1218

[1] 
https://github.com/python/cpython/commit/8837dd092fe5ad5184889104e8036811ed839f98#diff-d9afd486aff62306cb23cb8be2d4458eR30


Hope this helps!

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34991] variable type list [] referential integrity data loss

2018-10-19 Thread Ammar Askar


Ammar Askar  added the comment:

Echoing what Eric and Steven said: please create a more minimal example of what 
you think the problem is.

I'm closing this ticket now since it seems like you found the issue? Feel free 
to re-open if you can come up with a better example or describe the problem.

--
nosy: +ammar2
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35028] Off by one error in cgi.FieldStorage(max_num_fields)

2018-10-19 Thread Matthew Belisle


New submission from Matthew Belisle :

The cgi.FieldStorage class added in https://github.com/python/cpython/pull/9660 
has an off by one error in the logic for recursively nested objects. The 
problem is that sub_max_num_fields should be initialized outside of the while 
loop, not inside of it. Adding a unit test to cover this case.

Note: This problem does not exist in the 2.7 backport in 
https://github.com/python/cpython/pull/9969.

--
components: Library (Lib)
messages: 328060
nosy: Matthew Belisle
priority: normal
severity: normal
status: open
title: Off by one error in cgi.FieldStorage(max_num_fields)
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35028] Off by one error in cgi.FieldStorage(max_num_fields)

2018-10-19 Thread Matthew Belisle


Change by Matthew Belisle :


--
keywords: +patch
pull_requests: +9317
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34912] Update overflow checks in resize_buffer

2018-10-19 Thread Gregory P. Smith


Gregory P. Smith  added the comment:

correct, i don't see an obvious problem in the existing code.

--
nosy: +gregory.p.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14894] distutils.LooseVersion fails to compare number and a word

2018-10-19 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

If you want to make LooseVersion a tiny bit more robust, I suggest to borrow 
the algorithm from the platform module (see issue26544).

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +9316

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14894] distutils.LooseVersion fails to compare number and a word

2018-10-19 Thread Éric Araujo

Éric Araujo  added the comment:

I am inclined to reject the patch.

LooseVersion is not meant to be a general utility for all modules; I know it’s 
used in the wild but projects should define their parsing/comparison function 
or make up a specific module for that.

If the problem happens from distutils or pip when comparing real distributions 
that really define version='a' and version='1', then modern setuptools or flit 
or twine will warn about that.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33947] Dataclasses can raise RecursionError in __repr__

2018-10-19 Thread Eric V. Smith


Change by Eric V. Smith :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33947] Dataclasses can raise RecursionError in __repr__

2018-10-19 Thread Eric V. Smith


Eric V. Smith  added the comment:


New changeset b9182aa7dad8991fc8768ae494b45b5f7c316aca by Eric V. Smith (Miss 
Islington (bot)) in branch '3.7':
bpo-33947:  dataclasses no longer can raise RecursionError in repr (GF9916) 
(#9970)
https://github.com/python/cpython/commit/b9182aa7dad8991fc8768ae494b45b5f7c316aca


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >