[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset aec7532ed3ccbd29d3429a3f375e25f956c44003 by Nick Coghlan in branch 'master': bpo-30579: Docs for dynamic traceback creation (GH-5653) https://github.com/python/cpython/commit/aec7532ed3ccbd29d3429a3f375e25f956c44003 -- __

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

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

[issue32818] multiprocessing segmentfault under Windows compatibility mode

2018-02-13 Thread Ma Lin
Ma Lin added the comment: Git bisect says this is the first bad commit: https://github.com/python/cpython/commit/b2a6083eb0384f38839d3f1ed32262a3852026fa -- ___ Python tracker

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 53374cc57f33f1afb22924da3a76ec6cf9e4afc1 by Miss Islington (bot) in branch '3.7': bpo-30579: Docs for dynamic traceback creation (GH-5653) https://github.com/python/cpython/commit/53374cc57f33f1afb22924da3a76ec6cf9e4afc1 -- nosy: +miss-

[issue32370] Wrong ANSI encoding used by subprocess for some locales

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 9b5a90b975ef32b261d60b8ec06504f4ffd00d63 by Miss Islington (bot) in branch '3.7': bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608) https://github.com/python/cpython/commit/9b5a90b975ef32b261d60b8ec06504f4ffd0

[issue32827] Fix incorrect usage of _PyUnicodeWriter_Prepare()

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

[issue32370] Wrong ANSI encoding used by subprocess for some locales

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c3f9d7e0ea30e94c901d13e1d43ff0be1e5dbcb7 by Serhiy Storchaka in branch '3.6': [3.6] bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608). (#5654) https://github.com/python/cpython/commit/c3f9d7e0ea30e94c901d13e

[issue32370] Wrong ANSI encoding used by subprocess for some locales

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

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32827] Fix incorrect usage of _PyUnicodeWriter_Prepare()

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 310b424c476e3de3370990e5b9a10acc64ed17f8 by Miss Islington (bot) in branch '3.6': bpo-32827: Fix usage of _PyUnicodeWriter_Prepare() in decoding errors handler. (GH-5636) https://github.com/python/cpython/commit/310b424c476e3de3370990e5b9a10acc6

[issue32827] Fix incorrect usage of _PyUnicodeWriter_Prepare()

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

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
INADA Naoki added the comment: New changeset d019bc8319ea35e93bf4baa38098ff1b57cd3ee5 by INADA Naoki (Oren Milman) in branch 'master': bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) https://github.com/python/cpython/commit/d019bc8319ea35e93bf4baa38098ff1b57cd3ee5

[issue31787] various refleaks when calling the __init__() method of an object more than once

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

[issue29803] Remove some redandunt ops in unicodeobject.c

2018-02-13 Thread Xiang Zhang
New submission from Xiang Zhang : New changeset 2b77a921e6a4dee236047ac8d69cf9f915916fdc by Xiang Zhang in branch 'master': bpo-29803: remove a redandunt op and fix a comment in unicodeobject.c (#660) https://github.com/python/cpython/commit/2b77a921e6a4dee236047ac8d69cf9f915916fdc --

[issue29803] Remove some redandunt ops in unicodeobject.c

2018-02-13 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : All changes to the magic number in Lib/importlib/_bootstrap_external.py are attributed with 3.7a0. But they were made at different stages. There is also inconsistency in specifying Python version for older changes. Some authors specify the first Python ve

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5460 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32489] Allow 'continue' in 'finally' clause

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5461 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32489] Allow 'continue' in 'finally' clause

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -5461 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset ef20abed7f2ae0ba54b1d287f5fe601be80c1128 by Miss Islington (bot) in branch '3.7': bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) https://github.com/python/cpython/commit/ef20abed7f2ae0ba54b1d287f5fe601be80c1128 ---

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5462 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout

2018-02-13 Thread Fangyi Zhou
Fangyi Zhou added the comment: I think the issue is that the process is not terminated. If you increase the sleep duration, you would see that the sleep process is not killed by SIGKILL. -- nosy: +fangyizhou ___ Python tracker

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
INADA Naoki added the comment: New changeset 47316342417146f62653bc3c3dd505bfacc5e956 by INADA Naoki in branch '3.6': bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) https://github.com/python/cpython/commit/47316342417146f62653bc3c3dd505bfacc5e956 -- ___

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.8 ___ Python tracker ___

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
New submission from Cheryl Sabella : In tkinter, after_cancel has a call to after info: data = self.tk.call('after', 'info', id) Since this is a supported command, there should be a function to access it directly. https://www.tcl.tk/man/tcl8.6/TclCmd/after.htm -- components: Tkinter m

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Eric Osborne
Eric Osborne added the comment: This is an interesting idea. I hacked together something to handle IPv4 and pushed it to the repository. It works, but I'm afraid it may be kinda ugly. Do you have any examples of good, pythonic ways to parse the format string or otherwise extend __format__? I

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5463 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: Eric, please delete the previous message when you reply by email. Keeping the previous message makes your comment harder to read. See https://bugs.python.org/issue32820#msg312050 on browser for example. -- nosy: +berker.peksag

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Berker Peksag
Change by Berker Peksag : -- nosy: -berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32755] Several cookies with the same name get intermixed

2018-02-13 Thread Юрий Пухальский
Юрий Пухальский added the comment: "Questions about using cpython and 3rd party libraries like aiohttp should be directed elsewhere." Sorry, I thought http is part of "stdlib"? But if sending this here is totally wrong, I beg pardon. -- ___ Python

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the use case for this method? How it could be used? -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
INADA Naoki added the comment: New changeset f0bc645dfede8118c84844bad319cd952c4d1905 by INADA Naoki in branch 'master': bpo-31787: Skip refleak check when _hashlib is not available (GH-5660) https://github.com/python/cpython/commit/f0bc645dfede8118c84844bad319cd952c4d1905 -- __

[issue31787] various refleaks when calling the __init__() method of an object more than once

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

[issue31787] various refleaks when calling the __init__() method of an object more than once

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

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Eric V. Smith
Eric V. Smith added the comment: If you don't recognize the format string, you want to fall back to: return super().__format__(fmt) Since that will call object.__format__, it will generate an error if fmt is not the empty string, which is what it does currently for IP addresses. As far as pa

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset e81a6c86c89da02a0da719926198ab72edab2e05 by Miss Islington (bot) in branch '3.7': bpo-31787: Skip refleak check when _hashlib is not available (GH-5660) https://github.com/python/cpython/commit/e81a6c86c89da02a0da719926198ab72edab2e05 -

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: I was working on the tests for issue32831. One of the methods was `__del__` which made sure timer events were canceled with `after_cancel`. In the test, to assert that the after events no longer existed after calling `__del__` and after reading the Tcl docu

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 5d0d0eaf3ccee4349a5bed6e7741d09d56f2ab50 by Miss Islington (bot) in branch '3.6': bpo-31787: Skip refleak check when _hashlib is not available (GH-5660) https://github.com/python/cpython/commit/5d0d0eaf3ccee4349a5bed6e7741d09d56f2ab50 -

[issue31562] snakebite.net is not available

2018-02-13 Thread Trent Nelson
Trent Nelson added the comment: Unfortunately the host backing blackhole.snakebite.net and whitehole.snakebite.net is no longer available. I still think the underlying test is valuable, though -- are there any PSF boxes/containers that could fulfill this role? (I used pf on FreeBSD to set u

[issue20632] Define a new __key__ protocol

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, Nick. When I first came across this issue, I thought that dataclasses would take care of what you wrote below, but after looking at the original discussion on python-dev, I thought the problem was ordering None within a comparison with None being a v

[issue31562] snakebite.net is not available

2018-02-13 Thread R. David Murray
R. David Murray added the comment: There is a host dedicated to providing test infrastructure. I forget the name. Benjamin has done things with it in the past. -- nosy: +benjamin.peterson, r.david.murray ___ Python tracker

[issue16251] pickle special methods are looked up on the instance rather than the type

2018-02-13 Thread Łukasz Langa
Łukasz Langa added the comment: FWIW I withdrew my PR. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure what after_info(id) should return. -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5466 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've made a pull request. I understand that you may not want to add this functionality, but perhaps the docstring will answer your questions. I took it from the Tcl docs page. -- ___ Python tracker

[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout

2018-02-13 Thread Fangyi Zhou
Fangyi Zhou added the comment: As far as I have discovered, the bash process is killed by after the timeout. Presumably the pipe is still open due to the sleep process, so in order to retrieve any output from stdout/stderr, the read waits on the pipe, hence leading to timeout not respected.

[issue31562] snakebite.net is not available

2018-02-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: pythontest.net -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Chandan or Berker, Any interest in making a Github pull request for this patch? -- nosy: +csabella versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker _

[issue32840] Must install python 3.6.3 when 3.6.4 already installed

2018-02-13 Thread J. Morton
New submission from J. Morton : Got a 0x8070666 "Setup Failed - another version installed" popup message when installing 3.6.3 with 3.6.4 and 3.5.1 already installed (all are "just for me" installs). The problem is independent of word length. It should be possible to install any/every earlier v

[issue32755] Several cookies with the same name get intermixed

2018-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, http.cookies is part of the stdlib. This is why I continued "the relevant question here is whether http.cookies has a bug", verified the cookie behavior you reported, and added information relevant to its possible bugginess. --

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
New submission from Bar Harel : Hey guys, A week after a serious asyncio.Lock bug, I found another bug that makes asyncio.Condition ignore and prevent cancellation in some cases due to an "except: pass" which tbh is a little embarrassing. What happens is that during the time it takes to get b

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
Change by Bar Harel : Added file: https://bugs.python.org/file47441/le_meme.jpg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch Added file: https://bugs.python.org/file47440/le_patch.diff ___ Python tracker ___ ___ Pyth

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Yury Selivanov
Yury Selivanov added the comment: le_meme.jpg is a pretty common facial expression when one debugs locks/conditions, so let's not attach it in the future :) We try to keep the bug tracker free of unnecessary information. As for the bug—please submit a PR! -- ___

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Yury Selivanov
Change by Yury Selivanov : Removed file: https://bugs.python.org/file47441/le_meme.jpg ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
Change by Bar Harel : -- pull_requests: +5467 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am in favor of exposing all of tk where it makes sense to do so, and I think it does here. After 'translating' the tk after_info entry into tkinter-ese, I would expect and want that root.after_info(root.after(f, 10))[0] is f be true. the same as woul

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: Interesting case! This is super subtle. I think the patch is correct though. (In Trio this is one of the cases where we use shielding: https://github.com/python-trio/trio/blob/f48d8922dfe2118bfaaf9a85f2524e58146ba369/trio/_sync.py#L749-L752 . But asyncio.shi

[issue18802] ipaddress documentation errors

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Jon/Berker, Are you interested in making a Github pull request for this? Thanks! -- nosy: +csabella ___ Python tracker ___ _

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +5468 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___ ___ Python-bugs

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +5469 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: New changeset 88c38a4049ded0e1f197fec3e76be7c0c0e83d7a by Berker Peksag (Zackery Spytz) in branch 'master': bpo-27846: Delete incorrect note in base64 docs (GH-5666) https://github.com/python/cpython/commit/88c38a4049ded0e1f197fec3e76be7c0c0e83d7a --

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

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

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

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

[issue26743] Unable to import random with python2.7 on power pc based machine

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since there hasn't been activity on this for nearly 2 years, should it be closed as third party? Stefan seemed to conclude that it was a WindRiver issue. Thanks! -- nosy: +csabella ___ Python tracker

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: New changeset 2e8d9003ed7a97955c36fa19a9ce7c43d9ec83e1 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-27846: Delete incorrect note in base64 docs (GH-5666) https://github.com/python/cpython/commit/2e8d9003ed7a97955c36fa19a9ce7c43d9ec83e1 ---

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: New changeset b93a52b136fd2285f2891eef91c50e3d36ea6f36 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-27846: Delete incorrect note in base64 docs (GH-5666) https://github.com/python/cpython/commit/b93a52b136fd2285f2891eef91c50e3d36ea6f36 ---

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
New submission from YoSTEALTH : # current if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 # changed if timeout is None: timeout = -1 elif timeout < -1: timeout = 0 what if "timeout=-1" ? - currently it would result in being timeout=0 -- messages: 312150

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- keywords: +patch pull_requests: +5472 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue30638] Additional dependencies and rule for `make regen-all`

2018-02-13 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +5473 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32756] argparse: parse_known_args: raising exception on unknown arg following known one

2018-02-13 Thread paul j3
paul j3 added the comment: This error message is intentional. In def consume_optional(start_index): # identify additional optionals in the same arg string # (e.g. -xyz is the same as -x -y -z if no args are required) # if the action is a sin

[issue32756] argparse: parse_known_args: raising exception on unknown arg following known one

2018-02-13 Thread paul j3
paul j3 added the comment: Try adding a simple positional argument. '-ab' would still produce this error. -- ___ Python tracker ___ ___

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Maybe we should simply delete this comment? I'm not sure how useful it is. -- ___ Python tracker ___ __

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- pull_requests: +5474 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
YoSTEALTH added the comment: my confusion comes from epoll.poll(timeout=-1, maxevents=-1) has nothing to do with selectors.BaseSelector.select(timeout=None) -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Pyth

[issue32489] Allow 'continue' in 'finally' clause

2018-02-13 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: We still need to the ".0" style temporary variables that are used for argument names in the implicitly generated functions, but it's definitely plausible that we're not actually using the "_[1]" style hidden variables anywhere anymore. -- type: -> beha

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: Aye, definitely worth a thread on python-ideas. My rationale for suggesting something based on the built-in numeric codes is that it makes it straightforward for *users* to transfer knowledge from that mini-language. As far as parsing goes, I was thinking of so

[issue30638] Additional dependencies and rule for `make regen-all`

2018-02-13 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +5475 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: It does make me wonder if asyncio.shield *should* wait for the thing it's shielding though, so that it *would* work in this case? (Similar to bpo-32751.) -- ___ Python tracker

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think we should advertise how to manually mangle the names. That isn't a best practice. The feature is automatic for a reason. -- ___ Python tracker ___

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On one side, the first item of the list returned by the Tcl command `after info $id` is a name of the Tcl command generated by Tkinter. It is internal, it was not exposed to Tkinter users before, and the API for restoring the original Python callable is pri

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that in the tests for issue32831 you need to use call('after', 'info') if you want to backport them. -- ___ Python tracker ___ ___

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is useful to have such table somewhere. It give the impression about the history of bytecode and pyc format. There are third-party projects that try to support Python bytecode of different versions, they need such table. There is a simplified ver

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Nitish
Change by Nitish : -- keywords: +patch pull_requests: +5476 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue26743] Unable to import random with python2.7 on power pc based machine

2018-02-13 Thread Mark Dickinson
Mark Dickinson added the comment: @csabella: Agreed. Let's close. Thanks! -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ _