[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 

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



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 version of this table in PC/launcher.c, it is needed for 
suggesting the Python version by the magic number. And this table is just 
interesting for Python developers, especially if they made the change in the 
bytecode.

--

___
Python tracker 

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



[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 

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



[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 private.

On other side, `after info` can return not only events created by Tkinter, but 
events created by Tcl (either by direct execution of Tcl script, this is still 
can be useful with programming with Tkinter, or created by the Tcl standard 
library or third-party Tcl libraries). In that case a Python callable can't be 
returned.

This is what I was uncertain about. Maybe after_info() should return a Python 
callable if possible, and keep the original result otherwise? This complicates 
its implementation and definition.

TclError is legal and expected. In some methods it is caught, either because 
the method is purposed to be called at widget destroying stage, when the order 
of different cleanup procedures is not specified, and Tcl names can be 
destroyed before destroying Tkinter wrappers, or because the method was 
implemented differently in the past, and catching TclError is needed for 
backward compatibility. after_info() is not the case.

--

___
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-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 

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



[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 

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



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 something along the lines of the 
following naive approach:

typechar = fmt[-1:]
if not typechar or typechar not in ("b", "n", "x"):
return super().__format__(fmt)
prefix, group_sep, suffix = fmt[:-1].rpartition("_")
if prefix and prefix != "#" or suffix:
return super().__format__(fmt)
field_width = self._calculate_field_width(typechar)
return format(int(self), f"{prefix}0{field_width}{group_sep}{type_char}")

--

___
Python tracker 

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



[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:  -> behavior

___
Python tracker 

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



[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/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

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



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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 

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



[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 single-dash option and takes no
# arguments, try to parse more single-dash options out
# of the tail of the option string
chars = self.prefix_chars
if arg_count == 0 and option_string[1] not in chars:
action_tuples.append((action, [], option_string))
char = option_string[0]
option_string = char + explicit_arg[0]
new_explicit_arg = explicit_arg[1:] or None
optionals_map = self._option_string_actions
if option_string in optionals_map:
action = optionals_map[option_string]
explicit_arg = new_explicit_arg
else:
msg = _('ignored explicit argument %r')
raise ArgumentError(action, msg % explicit_arg)

In other words, it doesn't just split off that extra character and add it to 
'argument_strings' for further handling.

Either 'b' is an argument for the '-a' flag or it is a '-b' flag itself.  It 
can't be a positional or extra.

--

___
Python tracker 

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



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
nosy: YoSTEALTH
priority: normal
severity: normal
status: open
title: Fixing epoll timeout logics
type: behavior
versions: Python 3.7

___
Python tracker 

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



[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 

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



[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


--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +berker.peksag

___
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-02-13 Thread Berker Peksag

Change by Berker Peksag :


--
pull_requests: +5469

___
Python tracker 

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



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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.shield has different semantics -- it still delivers the 
CancelledError to the caller, which is no good in this case.)

--
nosy: +njs

___
Python tracker 

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



[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 would be true of the tcl equivalent. (This could even be 
a test.)  It appears that the current patch instead returns a (python) 
reference to the tcl wrapper of f.  The fact that python callbacks get wrapped 
as tcl callbacks is currently transparent to tkinter users and should remain so.

Serhiy, I presume that this is what you were uncertain about.  I am presuming 
above that f can be recovered.

Returning the function kind as 'timer' or 'idle' is fine. In other contexts, an 
enumeration would be a possibility, but this does not seem to fit tkinter.

I presume a bad id results in TclError.  Do other tkinter functions allow 
TclError to propagate?  My impression is no.  If so, it should be replaced here 
in a way consistent with other tkinter practice.

--

___
Python tracker 

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



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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!

--

___
Python tracker 

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



[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 

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



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 back a conditional lock 
after notifying it, asyncio completely ignores all cancellations sent to the 
waiting task.

le_bug.py: Contains the bug
le_patch.diff: Contains a very simple fix (will send a pull on Github too)
le_meme.jpg: Contains my face after debugging this for 4 hours

Yuri, I hope you didn't miss me during this week ;-)

-- Bar

--
components: asyncio
files: le_bug.py
messages: 312140
nosy: asvetlov, bar.harel, yselivanov
priority: normal
severity: normal
status: open
title: Asyncio.Condition prevents cancellation
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8
Added file: https://bugs.python.org/file47439/le_bug.py

___
Python tracker 

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



[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.

--

___
Python tracker 

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



[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 version (within reason) 
provided the earlier version is "virtualized" by being placed in it's own 
folder (which I was what I was doing). 
Please accomodate this capability as it is often needed to support users using 
earlier versions of Python. 

Environment: 64 bit Win7 Enterprise SP1 on a IM controlled machine. Possible 
red herring: IM recently upgraded java on this machine to "1.8.0_151".  32 and 
64 bit versions of all releases are installed on this machine.

--
components: Installation
messages: 312138
nosy: NaCl
priority: normal
severity: normal
status: open
title: Must install python 3.6.3 when 3.6.4 already installed
type: behavior
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



[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 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

We can fix this issue in 2 ways 
(1) kill process tree when timeout happens
(2) force closing the pipes after timeout, but this will leave the 
sub-processes detached and it will be kept running

I don't know which way is better, hopefully someone with more knowledge can 
engage in the discussion.

--

___
Python tracker 

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



[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 

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



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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 valid value in SQLite.

For example,
>>> a = [1, None, 'a']
>>> b = [1, 5, 'b']
>>> a == b
False
>>> a < b
Traceback (most recent call last):
  File "", line 1, in 
TypeError: '<' not supported between instances of 'NoneType' and 'int'

--

___
Python tracker 

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



[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 up the two firewall rules: 
https://github.com/python/cpython/blob/master/Lib/test/test_timeout.py#L183.  
If a new box were to be sourced I presume it would be a Linux instance, so the 
rules would need to be ported to whatever the Linux firewall on the box is.)

--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 documentation for `after`, I tried to call `after_info` 
but it didn't exist. So I added a call to `self.tk.call('after', 'info', id)` 
directly to assert that the after events no longer existed.

I don't know if there is a general need to know whether timer or idle events 
exist, but this command gives that information.

--

___
Python tracker 

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



[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


--

___
Python tracker 

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



[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 parsing the format specifier, you're on your own. _pydecimal.py has a 
version that parses something very similar (or maybe identical) to the 
mini-language used by float, int, str, etc. But I'm not sure you need to go 
that far. Since you can define any format spec you'd like, you're not 
constrained to the mini-language used by the built-in types (see datetime for 
an example, which just calls strftime). I think the _pydecimal.py approach of 
using a regex isn't bad, but you might want to delay loading re until 
__format__ is called.

Before you go too far down this path, I think this should probably be taken to 
python-ideas to hash out what the format spec for IP addresses would look like, 
or even if this is a good idea at all. I'm generally supportive of handling it 
through __format__().

--

___
Python tracker 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

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



[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 

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



[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 tracker 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

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



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 didn't see many examples in
stdlib, and the ones I did got pretty deep into it pretty quick.

Test output:

IPv4 address 1.2.3.4
format: b
0001001000110100

format: n
0001001000110100

format: x
01020304

format: _b
_0001__0010__0011__0100

format: _n
_0001__0010__0011__0100

format: _x
0102_0304

format: #b
0b0001001000110100

format: #n
0b0001001000110100

format: #x
0x01020304

format: #_b
0b_0001__0010__0011__0100

format: #_n
0b_0001__0010__0011__0100

format: #_x
0x0102_0304

Thanks!

eric

On Mon, Feb 12, 2018 at 9:15 PM Nick Coghlan  wrote:

>
> Nick Coghlan  added the comment:
>
> I think the aspect that makes this potentially worthy of a helper function
> is the need to dynamically adjust the field width based on whether you're
> printing an IPv4 address or an IPv6 one, whether you're printing it in
> binary or hexadecimal, whether you're printing separator characters, and
> whether you're printing the base indicator prefix.
>
> For example, consider the following:
>
> ```
> >>> ip4 = ipaddress.ip_address("1.2.3.4")
> >>> ip4
> IPv4Address('1.2.3.4')
> >>> ip6 = ipaddress.ip_address("::1:2:3:4")
> >>> ip6
> IPv6Address('::1:2:3:4')
> >>> format(int(ip4), "#041_b")
> '0b_0001__0010__0011__0100'
> >>> format(int(ip6), "#041_x")
> '0x____0001_0002_0003_0004'
> ```
>
> The "41" in those examples comes from "prefix_len + (num_bits /
> bits_per_char) + (num_bits / bits_per_char / chars_per_separator) - 1":
>
> IPv4 in binary: 2 + (32 / 1) + (32 / 1 / 4) - 1 = 2 + 32 + 8 - 1 = 41
> IPv6 in hex: 2 + (128 / 4) + (128 / 1 / 4) - 1 = 2 + 32 + 8 - 1 = 41
>
> So I think the potentially interesting method to implement here would be
> *__format__*, such that the field width calculation could be made implicit
> based on the other options selected.
>
> While backwards compatibility means that IP address formatting would still
> need to be equivalent to "str(ip)" by default, it would be reasonably
> straightforward to make "format(ip, 'b')" output the number in binary,
> "format(ip, 'x')" do it in hex, and "format(ip, 'n')" be equivalent to "b"
> for IPv4 addresses, and "x" for IPv6 ones.
>
> Unlike ordinary numbers, the IP addresses would always be zero-padded to a
> fixed width (32-bits for IPv4, 128 bits for IPv6), but "#" and "_" would be
> accepted to indicate whether or to add the base indicator prefix and/or
> group separators.
>
> Given those enhancements, the display examples above would become:
>
> ```
> >>> format(ip4, "#_n")
> '0b_0001__0010__0011__0100'
> >>> format(ip6, "#_n")
> '0x____0001_0002_0003_0004'
> ```
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[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
messages: 312119
nosy: csabella
priority: normal
severity: normal
status: open
title: Add after_info as a function to tkinter
type: enhancement
versions: Python 3.8

___
Python tracker 

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



[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 

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



[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


--

___
Python tracker 

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



[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 

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



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +miss-islington

___
Python tracker 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 version after bumping the magic number 
(i.e. the version that was released with this magic number). Others specify the 
Python version after which the bumping was made. I think the former is correct.

The proposed PR fixes Python versions and adds issue numbers if known. I have 
tracked only changes in Python 3.x.

--
messages: 312115
nosy: benjamin.peterson, pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Fix Python versions in the table of magic numbers
versions: 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



[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 

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



[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


--

___
Python tracker 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +inada.naoki

___
Python tracker 

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



[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 

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



[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/310b424c476e3de3370990e5b9a10acc64ed17f8


--
nosy: +miss-islington

___
Python tracker 

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



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

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



[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/c3f9d7e0ea30e94c901d13e1d43ff0be1e5dbcb7


--

___
Python tracker 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/9b5a90b975ef32b261d60b8ec06504f4ffd00d63


--
nosy: +miss-islington

___
Python tracker 

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



[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-islington

___
Python tracker 

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



[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 

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



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

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