[issue34423] Overflow when casting from double to time_t, and_PyTime_t.

2018-08-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30717] Add unicode grapheme cluster break algorithm

2018-08-19 Thread Xiang Zhang
Change by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34438] do_handshake stuck in ssl.py

2018-08-19 Thread David
New submission from David : Sometimes, rarely, API calls will get stuck indefinitely on ssl.py. Stack trace: response = json.loads(urllib.request.urlopen(req).read()) File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File

[issue34437] print statement using \x results in improper and extra bytes

2018-08-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: You wrote: > There are 6 bytes not 4 and where did the c3, bd, and c2 come from? In Python 2, strings are byte strings, in Python 3, strings by default are Unicode text strings. You are seeing the UTF-8 representation of the text string. py>

[issue34437] print statement using \x results in improper and extra bytes

2018-08-19 Thread Nathan Benson
New submission from Nathan Benson : While writing some shellcode I uncovered an unusual bug where Python 3 seems to print out incorrect (and extra) hex bytes using the print statement with \x. Needless to say I was pulling my hair out trying to figure out why my shellcode wasn’t working.

[issue34062] Python launcher on Windows does not work with --list or --list-paths

2018-08-19 Thread Brendan Gerrity
Change by Brendan Gerrity : -- pull_requests: +8306 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34422] __name__ not available for classes in typing module

2018-08-19 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- Removed message: https://bugs.python.org/msg323770 ___ Python tracker ___ ___ Python-bugs-list

[issue34422] __name__ not available for classes in typing module

2018-08-19 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: This is an intentional change. It would be a bad idea to use `__name__` instead of what is currently `_name`, because semantics is subtly different. Also the fact that types in typing module used to be actual class objects was an implementation detail

[issue34422] __name__ not available for classes in typing module

2018-08-19 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Oh I just re-read my comment and there are so many typos that I will write a new one, sorry. -- ___ Python tracker ___

[issue34422] __name__ not available for classes in typing module

2018-08-19 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: This is an intentional change. It would be a bad idea to use `_name` instead of `__name__`, because semantics is subtly different. Also the fact that type in typing object used to be actual class object was an implementation detail (also typing is still

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue34422] __name__ not available for classes in typing module

2018-08-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) -Interpreter Core nosy: +gvanrossum, levkivskyi versions: +Python 3.8 ___ Python tracker ___

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Thank you for merging! -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread miss-islington
miss-islington added the comment: New changeset e77cdae0f84fc390fedea1f53bbc8746d634 by Miss Islington (bot) in branch '3.6': bpo-34435: Add missing NULL check to unicode_encode_ucs1(). (GH-8823) https://github.com/python/cpython/commit/e77cdae0f84fc390fedea1f53bbc8746d634

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread miss-islington
miss-islington added the comment: New changeset 1e596d3a20a1a9d1ef15218ef33795bc9e651b7a by Miss Islington (bot) in branch '3.7': bpo-34435: Add missing NULL check to unicode_encode_ucs1(). (GH-8823) https://github.com/python/cpython/commit/1e596d3a20a1a9d1ef15218ef33795bc9e651b7a

[issue34422] __name__ not available for classes in typing module

2018-08-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting this issue revealed that this happened on commit d911e40e788fb679723d78b6ea11cabf46caed5a is the first bad commit commit d911e40e788fb679723d78b6ea11cabf46caed5a Author: Ivan Levkivskyi Date: Sat Jan 20 11:23:59 2018 + bpo-32226:

[issue34436] Overallocation is never disabled in _PyBytes_FormatEx()

2018-08-19 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +8305 stage: -> patch review ___ Python tracker ___ ___

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34435] Missing NULL check in unicode_encode_ucs1()

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

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +8304 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +8303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34436] Overallocation is never disabled in _PyBytes_FormatEx()

2018-08-19 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : The condition for disabling overallocation at 225b055/Objects/bytesobject.c:822 is always false. Reported by Svace static analyzer. -- components: Interpreter Core messages: 323763 nosy: inada.naoki, izbyshev, serhiy.storchaka, vstinner priority:

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 74a307d48ef8b278c4629ca0ef2139be1c9a34e6 by Serhiy Storchaka (Alexey Izbyshev) in branch 'master': bpo-34435: Add missing NULL check to unicode_encode_ucs1(). (GH-8823)

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +8302 stage: -> patch review ___ Python tracker ___ ___

[issue34435] Missing NULL check in unicode_encode_ucs1()

2018-08-19 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : A possible NULL return on out-of-memory condition at Objects/unicodeobject.c:6835 is not handled. Reported by Svace static analyzer. -- components: Interpreter Core messages: 323762 nosy: inada.naoki, izbyshev, serhiy.storchaka, vstinner

[issue34426] "__lltrace__" seems to be wrong , "__ltrace__" is correct in Misc/SpecialBuilds.txt

2018-08-19 Thread Danish Prakash
Change by Danish Prakash : -- keywords: +patch pull_requests: +8301 stage: -> patch review ___ Python tracker ___ ___

[issue26901] Argument Clinic test is broken

2018-08-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8300 stage: -> patch review ___ Python tracker ___ ___

[issue34426] "__lltrace__" seems to be wrong , "__ltrace__" is correct in Misc/SpecialBuilds.txt

2018-08-19 Thread Danish Prakash
Danish Prakash added the comment: @pablogsal I would love to fix this up -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2018-08-19 Thread Mark Harfouche
Mark Harfouche added the comment: Is there still interest in this? -- nosy: +Mark Harfouche ___ Python tracker ___ ___

[issue34426] "__lltrace__" seems to be wrong , "__ltrace__" is correct in Misc/SpecialBuilds.txt

2018-08-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Content Hi @Nojima and thank you for the report. Do you mind doing a PR? If not, I can do it myself if you prefer. -- ___ Python tracker

[issue34426] "__lltrace__" seems to be wrong , "__ltrace__" is correct in Misc/SpecialBuilds.txt

2018-08-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg323758 ___ Python tracker ___ ___ Python-bugs-list

[issue34426] "__lltrace__" seems to be wrong , "__ltrace__" is correct in Misc/SpecialBuilds.txt

2018-08-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi @Nojima and thank you for the report. Do you mind doing a PR? If not, I can do it myself. -- nosy: +pablogsal ___ Python tracker

[issue18049] Re-enable threading test on OSX

2018-08-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: I have a patch for making the stack sizes the same in Issue34264. -- ___ Python tracker ___ ___

[issue34434] Removal of kwargs for int() etc not described as change

2018-08-19 Thread Andy Maier
New submission from Andy Maier : Python 3.7 removed support for passing the argument to the built-in functions int(), bool(), float(), list() and tuple() as a keyword argument. This change is described in the "What's New" for 3.7 (https://docs.python.org/3/whatsnew/3.7.html) in section "API

[issue34433] cancel all other pending child futures

2018-08-19 Thread tzongw
Change by tzongw : -- keywords: +patch pull_requests: +8298 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34433] cancel all other pending child futures

2018-08-19 Thread tzongw
New submission from tzongw : In `tasks.gather`, when a child future throws an exception and `return_exceptions` is False, outer future will call `set_exception` while other child futures is still running. In this case, outer future call `_GatheringFuture.cancel' first to cancel all other

[issue18925] select.poll.modify is not documented

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: poll.modify() is documented in both Python 2 and Python 3 docs: * https://docs.python.org/2/library/select.html#select.poll.modify * https://docs.python.org/3/library/select.html#select.poll.modify > I believe that should be "Modify a registered file

[issue27088] doc: select: epoll.poll: incorrect timeout units, missing maxevents

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. In the title, you mentioned epoll.poll(), but you gave the link to the poll.poll() documentation. Also, the part you quoted If timeout is given, it specifies the length of time in milliseconds which the system will wait for

[issue25810] Python 3 documentation for eval is incorrect

2018-08-19 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Martin, and thanks for the report, Alon! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread miss-islington
miss-islington added the comment: New changeset f19579b8f1fcd2dd8ffaf3e443b09930057c01d1 by Miss Islington (bot) in branch '3.6': bpo-22057: Clarify eval() documentation (GH-8812) https://github.com/python/cpython/commit/f19579b8f1fcd2dd8ffaf3e443b09930057c01d1 --

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread miss-islington
miss-islington added the comment: New changeset 0e1e8dbb0b99ec78f4567382428fdd46e2244d40 by Miss Islington (bot) in branch '3.7': bpo-22057: Clarify eval() documentation (GH-8812) https://github.com/python/cpython/commit/0e1e8dbb0b99ec78f4567382428fdd46e2244d40 -- nosy:

[issue25711] Rewrite zipimport from scratch

2018-08-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed issues on Windows. -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +8297 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +8296 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22057] The doc say all globals are copied on eval(), but only __builtins__ is copied

2018-08-19 Thread Berker Peksag
Berker Peksag added the comment: New changeset 225b05548027d55aafb11b65f6a4a2bef2f5196f by Berker Peksag in branch 'master': bpo-22057: Clarify eval() documentation (GH-8812) https://github.com/python/cpython/commit/225b05548027d55aafb11b65f6a4a2bef2f5196f --

[issue34318] Convert deprecated behavior of assertRaises() etc into errors

2018-08-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34415] Typo in logging.Formatter docstring

2018-08-19 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker ___

[issue34415] Typo in logging.Formatter docstring

2018-08-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 2e4ae8f1b3147d7f0a461b4ffdde9bcc9e6a2083 by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8817) https://github.com/python/cpython/commit/2e4ae8f1b3147d7f0a461b4ffdde9bcc9e6a2083

[issue34415] Typo in logging.Formatter docstring

2018-08-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset fed871835ee54f50cabcec6239271739ed4839f5 by Vinay Sajip (Miss Islington (bot)) in branch '3.6': bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8816) https://github.com/python/cpython/commit/fed871835ee54f50cabcec6239271739ed4839f5

[issue34318] Convert deprecated behavior of assertRaises() etc into errors

2018-08-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 77d5781835b6e0a132694ebadc22b1cbdb9913f8 by Serhiy Storchaka in branch 'master': bpo-34318: Convert deprecation warnings to errors in assertRaises() etc. (GH-8623)

[issue34392] Add sys.isinterned()

2018-08-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you all for the feedback. The function is renamed to sys._is_interned() and documented as optional. -- ___ Python tracker ___