[issue15012] test issue

2016-04-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Rietveld emails received too, but fall in spam folder as always. -- ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: Terry, how do you run the script on idle? I try to run the script with idle -r "script name" and it was ok. -- ___ Python tracker

[issue26698] IDLE DPI Awareness

2016-04-05 Thread Westley Martínez
New submission from Westley Martínez: IDLE is blurry on High DPI Windows, because IDLE is not DPI aware. IDLE should be made to be DPI aware so that the text is more readable. -- components: IDLE, Library (Lib), Tkinter messages: 262930 nosy: westley.martinez priority: normal severity:

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eric: some of my comments on Upendra's file apply to yours also. -- ___ Python tracker ___

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ensurepip: for the present, I am willing to assume that is pip imports, it is ready to go. try: import pip except ImportError: Testing: testing that runpip works will initially be done by running the app on our live systems. For automated testing of the

[issue26689] Add `has_flag` method to `distutils.CCompiler`

2016-04-05 Thread Sylvain Corlay
Sylvain Corlay added the comment: Are you fine with the new state of the patch? -- ___ Python tracker ___ ___

[issue26039] More flexibility in zipfile write interface

2016-04-05 Thread Thomas Kluyver
Thomas Kluyver added the comment: Sorry for the delay, this fell off my radar because emails from both the bug tracker and Rietveld tend to fall foul of my spam filters, so I have to go and check. I have implemented Serhiy's suggestions, but there turns out to be a test

[issue10796] Improve doc for readline.set_completer_delims()

2016-04-05 Thread Martin Panter
Martin Panter added the comment: My update includes a new section called Completion, with the following text: By default, Readline is set up to be used by “rlcompleter” to complete Python identifiers for the interactive interpreter. If the “readline” module is to be used with a custom

[issue6953] readline documentation needs work

2016-04-05 Thread Martin Panter
Martin Panter added the comment: Thanks for the reviews. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue26697] tkFileDialog crash on askopenfilename Python 2.7 64-bit Win7

2016-04-05 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue26697] tkFileDialog crash on askopenfilename Python 2.7 64-bit Win7

2016-04-05 Thread Eric Johnson
New submission from Eric Johnson: Attempting to run tkFileDialog.askopenfilename() using Python 64-bit on Windows 7 crashes. Running SysWOW64\cmd.exe: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\SysWOW64>python Python

[issue25731] Assigning and deleting __new__ attr on the class does not allow to create instances of this class

2016-04-05 Thread jcristau
jcristau added the comment: This change in 2.7 seems to break things: $ cat foo.pxd cdef class B: cdef object b $ cat foo.pyx cdef class A: pass cdef class B: def __init__(self, b): self.b = b $ cat bar.py from foo import A, B class C(A, B): def __init__(self):

[issue15012] test issue

2016-04-05 Thread R. David Murray
R. David Murray added the comment: Oh, good, thank you for the confirmation. It is not a complete cure, but at least it helps. (I won't be surprised if rietveld emails still get blocked, for example.) -- ___ Python tracker

[issue15012] test issue

2016-04-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Hurray! This works! -- ___ Python tracker ___ ___ Python-bugs-list

[issue15012] test issue

2016-04-05 Thread R. David Murray
R. David Murray added the comment: Test nosy email with ipv4 only in postfix. -- nosy: +ezio.melotti ___ Python tracker ___

[issue26696] Document collections.abc.ByteString

2016-04-05 Thread Brett Cannon
New submission from Brett Cannon: [typing.ByteString](https://docs.python.org/3.5/library/typing.html#typing.ByteString) references collections.abc.ByteString, but no such type is documented. -- components: Library (Lib) messages: 262918 nosy: brett.cannon, gvanrossum priority: normal

[issue26696] Document collections.abc.ByteString

2016-04-05 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python ___ Python tracker

[issue26664] find a bug in activate.fish of venv of cpython3.6

2016-04-05 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___

[issue26664] find a bug in activate.fish of venv of cpython3.6

2016-04-05 Thread Vinay Sajip
Vinay Sajip added the comment: I've asked the person who sent in the patch for #26348 to comment on this issue. -- ___ Python tracker ___

[issue26677] pyvenv: activate.fish breaks $PATH for bash scripts

2016-04-05 Thread Goneri Le Bouder
Goneri Le Bouder added the comment: A work around is to unset the _OLD_VIRTUAL_PATH variable before the activate: set -e _OLD_VIRTUAL_PATH -- nosy: +Goneri Le Bouder ___ Python tracker

[issue26667] Update importlib to accept pathlib.Path objects

2016-04-05 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___

[issue26691] Update the typing module to match what's in github.com/python/typing

2016-04-05 Thread Guido van Rossum
Guido van Rossum added the comment: (And back. Guido.van.Rossum no longer has developer privileges.) -- assignee: Guido.van.Rossum -> gvanrossum ___ Python tracker

[issue26691] Update the typing module to match what's in github.com/python/typing

2016-04-05 Thread Guido van Rossum
Guido van Rossum added the comment: (Testing assignment to my alter ego. :-) -- assignee: gvanrossum -> Guido.van.Rossum nosy: +Guido.van.Rossum ___ Python tracker

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-05 Thread skydoom
skydoom added the comment: I quote the "issue 1947" just because I did a search in the db before I file this issue and find its output is similar to what I see, (except that it has "AttributeError" which mine does not have.) and because it's filed for 2.5 and I am not sure if this is just

[issue26234] The typing module includes 're' and 'io' in __all__

2016-04-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset be3c4151d9bf by Guido van Rossum in branch '3.5': Many changes from the upstream repo (https://github.com/python/typing). https://hg.python.org/cpython/rev/be3c4151d9bf -- nosy: +python-dev ___ Python

[issue26691] Update the typing module to match what's in github.com/python/typing

2016-04-05 Thread Guido van Rossum
Guido van Rossum added the comment: Done! changeset: 100854:78b84ae0b745 tag: tip parent: 100852:856d50130154 parent: 100853:be3c4151d9bf user:Guido van Rossum date:Tue Apr 05 08:35:22 2016 -0700 summary: Merge upstream typing.py

[issue26391] typing: Specialized sub-classes of Generic never call __init__

2016-04-05 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue26234] The typing module includes 're' and 'io' in __all__

2016-04-05 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue26391] typing: Specialized sub-classes of Generic never call __init__

2016-04-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset be3c4151d9bf by Guido van Rossum in branch '3.5': Many changes from the upstream repo (https://github.com/python/typing). https://hg.python.org/cpython/rev/be3c4151d9bf -- nosy: +python-dev ___ Python

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2016-04-05 Thread Robert Smallshire
Robert Smallshire added the comment: Thanks Stefan for the illuminating example. I knew I shouldn't have strayed off-topic. -- ___ Python tracker ___

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-05 Thread Zachary Ware
Zachary Ware added the comment: So there is actually no relation to #1947. -- resolution: duplicate -> superseder: Exception exceptions.AttributeError '_shutdown' in ___ Python tracker

[issue26695] pickle and _pickle accelerator have different behavior when unpickling an object with falsy __getstate__ return

2016-04-05 Thread Josh Rosenberg
New submission from Josh Rosenberg: According to a note on the pickle docs ( https://docs.python.org/3/library/pickle.html#object.__getstate__ ): "If __getstate__() returns a false value, the __setstate__() method will not be called upon unpickling." The phrasing is a little odd (since

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2016-04-05 Thread Stefan Krah
Stefan Krah added the comment: On Tue, Apr 05, 2016 at 02:20:19PM +, Robert Smallshire wrote: > >> Were float to inherit from Rational, rather than Real ... > > > This would break the Liskov substitution principle. > > How so? Rational extends Real with only numerator, denominator and >

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2016-04-05 Thread Robert Smallshire
Robert Smallshire added the comment: >> Were float to inherit from Rational, rather than Real ... > This would break the Liskov substitution principle. How so? Rational extends Real with only numerator, denominator and __float__. Isn't the existence of float.as_integer_ratio demonstration

[issue26693] Exception ignored in: in _shutdown, assert tlock.locked()

2016-04-05 Thread skydoom
skydoom added the comment: I just update the title to be precise. Exception ignored in: in _shutdown, assert tlock.locked() AssertionError: -- title: Exception exceptions.AttributeError '_shutdown' in -> Exception ignored in: in _shutdown, assert tlock.locked()

[issue26693] Exception exceptions.AttributeError '_shutdown' in

2016-04-05 Thread skydoom
skydoom added the comment: sorry Martin, you are right, my original title was simply (and wrongly) copied over from the issue 1947. You get my identical error message in your post. -- ___ Python tracker

[issue26693] Exception exceptions.AttributeError '_shutdown' in

2016-04-05 Thread skydoom
skydoom added the comment: I print out the threading.__file__ and can see it's "${PYTHONHOME}/lib/python3.5/threading.py" . I don't have any other "threading.py" elsewhere. so what should I do? -- ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2016-04-05 Thread Stefan Krah
Stefan Krah added the comment: On Tue, Apr 05, 2016 at 01:10:25PM +, Robert Smallshire wrote: > Were float to inherit from Rational, rather than Real ... This would break the Liskov substitution principle. -- ___ Python tracker

[issue26680] Incorporating float.is_integer into the numeric tower and Decimal

2016-04-05 Thread Robert Smallshire
Robert Smallshire added the comment: Java makes no claim to have a numeric tower. Amongst the dynamic languages I surveyed Matlab (isinteger), Javascript ES6 (isInteger), PHP (is_integer), R (is.integer), TCL (is entier), and as we have seen Scheme (integer?) all have methods for testing for

[issue26628] Undefined behavior calling C functions with ctypes.Union arguments

2016-04-05 Thread Thomas
Thomas added the comment: Thanks Eryk for the additional explanation. I added a more elaborate example that doesn't abuse the standard c function that actually doesn't expect a union: % gcc -shared -fPIC libfoo.c -o libfoo.so -Wall % python pyfoo.py *** stack

[issue26628] Undefined behavior calling C functions with ctypes.Union arguments

2016-04-05 Thread Thomas
Changes by Thomas : Added file: http://bugs.python.org/file42372/libfoo.c ___ Python tracker ___

[issue6953] readline documentation needs work

2016-04-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6137c46cb8df by Martin Panter in branch '2.7': Issue #6953: Rearrange and expand Readline module documentation https://hg.python.org/cpython/rev/6137c46cb8df New changeset b1acd6cf15b6 by Martin Panter in branch '3.5': Issue #6953: Rearrange and

[issue10796] Improve doc for readline.set_completer_delims()

2016-04-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6137c46cb8df by Martin Panter in branch '2.7': Issue #6953: Rearrange and expand Readline module documentation https://hg.python.org/cpython/rev/6137c46cb8df New changeset b1acd6cf15b6 by Martin Panter in branch '3.5': Issue #6953: Rearrange and

[issue26694] Disasembler fall with Key Error while disassemble obfuscated code.

2016-04-05 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___

[issue25928] Add Decimal.as_integer_ratio()

2016-04-05 Thread Stefan Krah
Stefan Krah added the comment: Raymond, you added your support in msg257097. I'm not very happy to spend my time implementing the feature and then rehashing everything after 3 months. -- nosy: +gvanrossum ___ Python tracker

[issue26694] Disasembler fall with Key Error while disassemble obfuscated code.

2016-04-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +ncoghlan, yselivanov ___ Python tracker ___ ___

[issue26694] Disasembler fall with Key Error while disassemble obfuscated code.

2016-04-05 Thread Szymon Kuliński
New submission from Szymon Kuliński: Many obfuscators use simple technice for block disasemblation. Add broken instructions (for example unknown op codes) and use flow control (SETUP_EXCEPT or JUMP_FORWARD) to skip broken instructions. Interpreter work in right way skipping broken instruction

[issue26682] Ttk Notebook tabs do not show with 1-2 char names

2016-04-05 Thread Morb
Morb added the comment: Hello, I'm the one who posted on stackoverflow. I'm on Windows 7 Entreprise 64 bits (6.1, version 7601). Here is my first line when I run python: "Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] on win32". I think it's linked to the font and

[issue9694] argparse required arguments displayed under "optional arguments"

2016-04-05 Thread Martin Panter
Martin Panter added the comment: Posting argparse_option.v2.patch, which is minimally complete version of Ryan’s patch. I have dropped all the nonessential code and documentation tweaks. I also added a What’s New entry. I’d like to know if people think this is the right direction to move in.

[issue23551] IDLE to provide menu link to PIP gui.

2016-04-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at the last two prototypes, an 'Installed packages' page would not need install, only update and remove. A minor issue. The PyCharm page with Install appears to contain part of an alphabetical listing of all packages on PyPI (there are 1s I

[issue26692] cgroups support in multiprocessing

2016-04-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +jnoller, sbt versions: +Python 3.6 ___ Python tracker ___