[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2018-02-18 Thread Rudolph Froger
Rudolph Froger added the comment: I've tried your quick tests a few times but couldn't reproduce it immediately. The problem is a bit hard to reproduce anyway because launching Python processes can go well for a long time (many days; launching many processes every minute) until suddenly all N

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-02-18 Thread Éric Araujo
Change by Éric Araujo : -- pull_requests: -5529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5530 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Éric Araujo
Éric Araujo added the comment: Fixed in all branches. I messed up the ticket reference so some links are missing here. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset b0fd935360e81b6bb4733deed69f51516c771f7a by Miss Islington (bot) in branch '3.6': bpo-32682: Improve libz version parsing in test_zilb (GH-5347) https://github.com/python/cpython/commit/b0fd935360e81b6bb4733deed69f51516c771f7a -- _

[issue32682] test_zlib improve version parsing

2018-02-18 Thread pmpp
Change by pmpp : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 0cd35817e8278588f04dc574f6eca53273799f25 by Miss Islington (bot) in branch '3.7': bpo-32682: Improve libz version parsing in test_zilb (GH-5347) https://github.com/python/cpython/commit/0cd35817e8278588f04dc574f6eca53273799f25 -- nosy:

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset eeb33651bfadcceea68bd27bb4c4d8de2e690656 by Mariatta (Éric Araujo) in branch '2.7': [2.7] bpo-21060 Improve error message for "setup.py upload" without dist files (GH-5726). https://github.com/python/cpython/commit/eeb33651bfadcceea68bd27bb4c4d

[issue32682] test_zlib improve version parsing

2018-02-18 Thread Zachary Ware
Change by Zachary Ware : -- stage: patch review -> commit review versions: +Python 3.6, Python 3.8 ___ Python tracker ___ ___ Python-

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5528 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32682] test_zlib improve version parsing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5527 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32682] test_zlib improve version parsing

2018-02-18 Thread Zachary Ware
Zachary Ware added the comment: New changeset 4c7108a77144493d0aa6fc0105b67d3797e143f5 by Zachary Ware (pmp-p) in branch 'master': bpo-32682: Improve libz version parsing in test_zilb (GH-5347) https://github.com/python/cpython/commit/4c7108a77144493d0aa6fc0105b67d3797e143f5 -- nosy:

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5526 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue21060] Better error message for setup.py upload command without sdist/bdist

2018-02-18 Thread Éric Araujo
Change by Éric Araujo : -- pull_requests: +5525 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Change by Éric Araujo : -- assignee: docs@python -> eric.araujo resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker ___

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 19b7f6694af56a1c9fdc0f1f9fc09ae48439ab4c by Miss Islington (bot) in branch '3.7': bpo-31972: Improve docstrings for pathlib classes (GH-5310) https://github.com/python/cpython/commit/19b7f6694af56a1c9fdc0f1f9fc09ae48439ab4c --

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 5c81ed49412e41a671283cdb4c297dab52f5b7c5 by Miss Islington (bot) in branch '3.6': bpo-31972: Improve docstrings for pathlib classes (GH-5310) https://github.com/python/cpython/commit/5c81ed49412e41a671283cdb4c297dab52f5b7c5 -- nosy: +mi

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread Stefan Behnel
Stefan Behnel added the comment: > The check may miss infinite recursions if the hrefs happen to be written in > non-matching but equivalent forms. Ex: relative versus absolute paths. I thought about that, too, but it's not a real problem. There are only a few different ways to spell the same

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5524 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5523 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31972] Inherited docstrings for pathlib classes are confusing

2018-02-18 Thread Éric Araujo
Éric Araujo added the comment: New changeset dfa015cf77a148d229ddc0a5b063562c9f9664f2 by Éric Araujo (chason) in branch 'master': bpo-31972: Improve docstrings for pathlib classes (#5310) https://github.com/python/cpython/commit/dfa015cf77a148d229ddc0a5b063562c9f9664f2 -- __

[issue31333] Implement ABCMeta in C

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 034a945fa723bf68ca4127bb43bfa5c5be899f17 by Miss Islington (bot) in branch '3.7': bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744) https://github.com/python/cpython/commit/034a945fa723bf68ca4127bb43bfa5c5be899f17 -- nosy: +miss-islingt

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your PR Alexey. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue31333] Implement ABCMeta in C

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5522 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 3fb813d2c67fe28cc98ae51e53a6890294b6e423 by Ivan Levkivskyi (Terry Jan Reedy) in branch 'master': bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744) https://github.com/python/cpython/commit/3fb813d2c67fe28cc98ae51e53a6890294b6e423 -- _

[issue32871] Interrupt .communicate() on SIGTERM/INT

2018-02-18 Thread Victor Porton
New submission from Victor Porton : At https://docs.python.org/3/library/subprocess.html there is said nothing about what happens if our Python program terminates (by SIGTERM or SIGINT) while waiting for .communicate(). I assume to do something in this situation is just forgotten. Usually ter

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR fixes typo in What's new: rewrittent -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bu

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +5521 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread James Bailey
James Bailey added the comment: Agreed with ruffsl's concerns about the overly aggressive detection of infinite recursion. I also wonder if the hrefs should be normalized or canonized for the check? The check may miss infinite recursions if the hrefs happen to be written in non-matching but

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2018-02-18 Thread ruffsl
ruffsl added the comment: Hello @scoder, Thanks for looking into this. In addition to what I mentioned with lxml's use of the parent xml file's respect dirname when attempting to open the include element's href, do you think it would be possible to (optionally or by default) have the include

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset 65a13c19e86488119cc9bc192f5a0b846d90940f by Miss Islington (bot) in branch '3.6': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739) https://github.com/python/cpython/commit/65a13c19e86488119cc9bc192f5a0b846d90940f -

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: Congratulations all on this milestone! And thanks reviewers for your thorough work. -- ___ Python tracker ___ _

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
miss-islington added the comment: New changeset ca82e3c0ec4d0d5ce4e1ffec98cc341cb5913446 by Miss Islington (bot) in branch '3.7': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (GH-5739) https://github.com/python/cpython/commit/ca82e3c0ec4d0d5ce4e1ffec98cc341cb5913446 -

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ned Deily
Ned Deily added the comment: New changeset 2e84e47626c6eafacc9f011cd9fccc8bf1c8508e by Ned Deily in branch '3.7': bpo-25988: add NEWS entry for 3.7.0b2 (#5743) https://github.com/python/cpython/commit/2e84e47626c6eafacc9f011cd9fccc8bf1c8508e -- __

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
Change by Andrew Scheller : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
Andrew Scheller added the comment: Looks like https://bugs.python.org/issue24269 is where this got fixed for the 3.x documentation ;-) -- ___ Python tracker ___ __

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +5520 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5519 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32870] Documentation typo (2.x only) for deque.remove

2018-02-18 Thread Andrew Scheller
New submission from Andrew Scheller : https://docs.python.org/2/library/collections.html#collections.deque.remove says "Removed the first occurrence of value." I believe the "Removed" should be changed to just "Remove" ? (this has already been fixed in the 3.x documentation https://docs.python

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5518 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b3b4a9d3001f1fc7df8efcccdce081de54fa5eab by Serhiy Storchaka (Alexey Izbyshev) in branch 'master': bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739) https://github.com/python/cpython/commit/b3b4a9d3001f1fc7df8efcccdce081d

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ned Deily
Ned Deily added the comment: Thanks, Tim, for noticing that and thanks, Ivan, for taking care of it. I should have cherrypicked this into 3.7.0b1. -- ___ Python tracker ___ _

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 0442de5ad7835814d60f46c22a22942abb101aef by Ivan Levkivskyi in branch '3.7': bpo-25988: Emit a warning when use or import ABCs from 'collections'. (GH-5734) https://github.com/python/cpython/commit/0442de5ad7835814d60f46c22a22942abb101aef

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 38928992885d8a04b7188abdba3b04f350bde32d by Ivan Levkivskyi in branch '3.7': bpo-31333: Re-implement ABCMeta in C (GH-5733) https://github.com/python/cpython/commit/38928992885d8a04b7188abdba3b04f350bde32d -- _

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +5517 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue32869] Incorrect dst buffer size for MultiByteToWideChar in _Py_fopen_obj

2018-02-18 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : MultiByteToWideChar expects the destination buffer size to be given in wide characters, not bytes. This is currently not a real issue since _Py_fopen_obj is only used internally with mode being a short constant string in all call sites I've found. ---

[issue32540] venv docs - doesn't match behavior

2018-02-18 Thread TROUVERIE Joachim
Change by TROUVERIE Joachim : -- keywords: +patch pull_requests: +5516 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue32868] python 3 docs' iterator example has python 2 code

2018-02-18 Thread robotwizard
robotwizard added the comment: I'm so sorry... I tried doing it.next() instead of next(it). I'm sincerely sorry. I promise not to be so frivolous about opening an issue on the bug tracker next time. -- resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue32868] python 3 docs' iterator example has python 2 code

2018-02-18 Thread robotwizard
New submission from robotwizard : Please note this is my first issue. The documentation at https://docs.python.org/3/tutorial/classes.html#iterators on the second code block gives the example of iterating a string by creating an iterator out of it. However I tried it with python 3.5 and 3.6 an

[issue32540] venv docs - doesn't match behavior

2018-02-18 Thread Jason R. Coombs via Python-bugs-list
Jason R. Coombs added the comment: @jtrouverie: Yes, please do. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32540] venv docs - doesn't match behavior

2018-02-18 Thread Joachim Trouverie
Joachim Trouverie added the comment: Is there anybody working on this issue or can I make a PR ? -- nosy: +jtrouverie ___ Python tracker ___ ___

[issue25988] collections.abc.Indexable

2018-02-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +5515 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- pull_requests: +5514 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32162] typing.Generic breaks __init_subclass__

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: FWIW, this is fixed in 3.7 by PEP 560, providing a separate fix for 3.6 is not easy, and you have a good workaround, so I propose to close this issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___

[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: FWIW, this is fixed in 3.7 by PEP 560. I don't think we will be able to get rid of `sys._getframe` workaround on 3.6, so I propose to just close this. -- dependencies: -Provide a way to check for *real* typing.Union instances resolution: -> fixed st

[issue31333] Implement ABCMeta in C

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

[issue31333] Implement ABCMeta in C

2018-02-18 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 03e3c340a0156891a036d6dbdb9e348108826255 by Ivan Levkivskyi in branch 'master': bpo-31333: Re-implement ABCMeta in C (#5273) https://github.com/python/cpython/commit/03e3c340a0156891a036d6dbdb9e348108826255 --

[issue28956] return list of modes for a multimodal distribution instead of raising a StatisticsError

2018-02-18 Thread Srikanth Anantharam
Srikanth Anantharam added the comment: Please review the new PR with tests. I'll update the documentation if the PR is acceptable. -- title: return minimum of modes for a multimodal distribution instead of raising a StatisticsError -> return list of modes for a multimodal distribution

[issue28956] return minimum of modes for a multimodal distribution instead of raising a StatisticsError

2018-02-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: What makes the minimum mode better than the maximum? -- ___ Python tracker ___ ___ Python-bugs-li

[issue28956] return minimum of modes for a multimodal distribution instead of raising a StatisticsError

2018-02-18 Thread Srikanth Anantharam
Change by Srikanth Anantharam : -- keywords: +patch pull_requests: +5512 stage: -> patch review ___ Python tracker ___ ___ Python-bu

[issue32863] Missing support for Emojis in tkinter

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK, the build with more than 16-bit characters is not well tested and not officially supported and may need patching other code. Supporting the fork of Tcl/Tk is out of the competency of the Python core development team. If you have successful experience

[issue32864] Visual glitches when animating ScrolledText instances using place geometry manager

2018-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tkinter is just a wrapper around Tcl/Tk. It is not responsible for visualization. Please report your issue on the Tk bug tracker https://core.tcl.tk/tk/reportlist. -- resolution: -> third party stage: -> resolved status: open -> closed __