[issue27055] python fails to run zipapp when zip contains comments

2016-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue5950. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Make zipimport work with zipfile containing comments ___ Python

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the test script. I left some minor comments about loopback_fast_path_v2.patch on Rietveld. -- ___ Python tracker

[issue22040] Add a "force" parameter to shutil.rmtree

2016-05-18 Thread Nirbheek Chauhan
Nirbheek Chauhan added the comment: > In other words, on unix shutil.rmtree is *already* 'rm -rf'. This is not true. See: $ mkdir testdir && chmod 200 testdir && ls -lhd testdir d-w--- 2 nirbheek nirbheek 4.0K May 19 10:21 testdir `rm -rf` works fine on this. But shutil.rmtree borks:

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-05-18 Thread Daniel Stokes
Daniel Stokes added the comment: I have added a zip containing a simple server and client to test the patch with. With loopback fast path enabled, I get 3-5x more throughput on my Windows 10 computer with an AMD 900 series chipset. -- Added file:

[issue22570] Better stdlib support for Path objects

2016-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: And those from http://bugs.python.org/issue22570#msg257632 (these are the actual code -- the others were the docs). -- ___ Python tracker

[issue22570] Better stdlib support for Path objects

2016-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: PEP 519 is accepted now. We need to revert the commits from http://bugs.python.org/issue22570#msg257634 -- ___ Python tracker

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-18 Thread Nick Coghlan
Nick Coghlan added the comment: As long as I'm refactoring these docs, I may also take a look at adding some notes about text vs binary handling, since that's still problematic as described in http://bugs.python.org/issue6135 The default behaviour is binary pipes, and setting

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-18 Thread Nick Coghlan
Nick Coghlan added the comment: For reference, http://bugs.python.org/issue13237 covers the original change to emphasise the convenience functions over the full flexibility of Popen. The intent behind that reorganisation was to make it straightforward to get started with the module without

[issue25926] problems with "times" keyword in itertools.repeat

2016-05-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm okay with changing the docs to "roughly equivalent to". That will help prevent the occasional misreading as "precisely equivalent in every respect". -- priority: normal -> low ___ Python tracker

[issue27055] python fails to run zipapp when zip contains comments

2016-05-18 Thread Dmitry
New submission from Dmitry: python fails to run zipapp when zip contains comments when zip archive downloaded from github it contains tip hash in comment. Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32 example: ``` import zipfile if __name__

[issue27054] Python installation problem: No module named 'encodings'

2016-05-18 Thread Ned Deily
Changes by Ned Deily : -- components: +Installation, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.5 ___ Python tracker

[issue27054] Python installation problem: No module named 'encodings'

2016-05-18 Thread Hugh C. Lauer
New submission from Hugh C. Lauer: Hello, I am a university professor who regularly teaches classes in Python programming, particular to students who are NOT computer science majors. In preparing my course materials for next fall, I have been struggling with setting up a Python 3.5.1

[issue20041] TypeError when f_trace is None and tracing.

2016-05-18 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue20847] asyncio docs should call out that network logging is a no-no

2016-05-18 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue19695] Clarify how to use various import-related locks

2016-05-18 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue26329] os.path.normpath("//") returns //

2016-05-18 Thread Camilla Montonen
Camilla Montonen added the comment: Should the comment with the link to specification be added to Lib/posixpath.py? or Lib/os.py? -- ___ Python tracker

[issue25941] Add 'How to Review a Patch' section to devguide

2016-05-18 Thread Camilla Montonen
Camilla Montonen added the comment: Thank you very much for your comments. I have cleaned up the previous patch and merged it with the Lifecycle of a Patch article. -- Added file: http://bugs.python.org/file42893/patchreview18May.patch ___ Python

[issue25548] Show the address in the repr for class objects

2016-05-18 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue25926] problems with "times" keyword in itertools.repeat

2016-05-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> rhettinger ___ Python tracker ___ ___

[issue27051] Create PIP gui

2016-05-18 Thread lorenzogotuned
Changes by lorenzogotuned : -- nosy: +lorenzogotuned ___ Python tracker ___ ___

[issue25926] problems with "times" keyword in itertools.repeat

2016-05-18 Thread Camilla Montonen
Camilla Montonen added the comment: Should 'roughly equivalent to' be added as a note to the docs? -- nosy: +Winterflower ___ Python tracker ___

[issue27052] Python2.7.11+ as in Debian testing and Ubuntu 16.04 LTS crashes with segfault

2016-05-18 Thread Matthias Klose
Matthias Klose added the comment: 2.7.11+ translates to 20160330 from the 2.7 branch. -- ___ Python tracker ___

[issue26549] co_stacksize is calculated from unoptimized code

2016-05-18 Thread STINNER Victor
Changes by STINNER Victor : -- type: -> performance ___ Python tracker ___ ___

[issue26329] os.path.normpath("//") returns //

2016-05-18 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___

[issue26779] pdb continue followed by an exception in the same frame shows incorrect frame linenumber

2016-05-18 Thread Sriram Rajagopalan
Sriram Rajagopalan added the comment: ping -- nosy: +bglsriram ___ Python tracker ___ ___ Python-bugs-list

[issue23958] compile warnings in libffi

2016-05-18 Thread Berker Peksag
Berker Peksag added the comment: A slightly different version of the patch is now part of upstream libffi: https://github.com/libffi/libffi/commit/4a677a425c18eda4bc5357b2485da57f133f908d Thanks for the report Steve. -- nosy: +berker.peksag resolution: -> third party stage: ->

[issue27014] maximum recursion depth when using typing options

2016-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks to Kalle Tuure for the fix! -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue26617] Assertion failed in gc with __del__ and weakref

2016-05-18 Thread Guo, Jiahua
Changes by Guo, Jiahua : Added file: http://bugs.python.org/file42892/patch ___ Python tracker ___

[issue27014] maximum recursion depth when using typing options

2016-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79197e60e441 by Guido van Rossum in branch '3.5': Fix #27014 -- infinite recursion using typing.py. https://hg.python.org/cpython/rev/79197e60e441 New changeset a6c04626205f by Guido van Rossum in branch 'default': Fix #27014 -- infinite recursion

[issue26942] android: test_ctypes crashes on armv7

2016-05-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: Running the following interactive statements [1]: >>> import unittest, ctypes.test.test_as_parameter >>> unittest.main(module=ctypes.test.test_as_parameter, >>> defaultTest='BasicWrapTestCase', verbosity=2) The corresponding attached gdb session: (gdb)

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-18 Thread R. David Murray
R. David Murray added the comment: Just as a data point, I always found it confusing when viewing the subprocess docs that I had to page past the 'convenience functions' to get to what I consider to be the "real" docs, the docs for Popen. I rarely use the convenience functions; I find it

[issue26049] Poor performance when reading large xmlrpc data

2016-05-18 Thread Oscar Andres Alvarez Montero
Changes by Oscar Andres Alvarez Montero : -- nosy: +Oscar Andres Alvarez Montero ___ Python tracker ___

[issue27052] Python2.7.11+ as in Debian testing and Ubuntu 16.04 LTS crashes with segfault

2016-05-18 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list

[issue26750] Mock autospec does not work with subclasses of property()

2016-05-18 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag ___ Python tracker ___ ___

[issue26750] Mock autospec does not work with subclasses of property()

2016-05-18 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Updated patch with review comments. -- Added file: http://bugs.python.org/file42891/mock-descriptor-2.patch ___ Python tracker

[issue27036] Mark up of references in different form

2016-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pushed a part about "bytes-like objects". Here is a patch that adds explicit labels for referencing without changing the style. -- Added file: http://bugs.python.org/file42890/refs_forms3.patch ___ Python tracker

[issue26331] Tokenizer: allow underscores for grouping in numeric literals

2016-05-18 Thread Stefan Krah
Stefan Krah added the comment: Thanks, Georg! The decimal parts look good to me. I understand that people wonder about the relaxed rules for Decimal -- we have discussed that here: https://mail.python.org/pipermail/python-dev/2016-March/143557.html I don't think that it will be a problem

[issue27036] Mark up of references in different form

2016-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef6d3a537cf5 by Serhiy Storchaka in branch '3.5': Issue #27036: Fixed formatting references to "bytes-like object" in plural. https://hg.python.org/cpython/rev/ef6d3a537cf5 New changeset d6b9a4c3f8ef by Serhiy Storchaka in branch 'default': Issue

[issue26942] android: test_ctypes crashes on armv7

2016-05-18 Thread Xavier de Gaye
Xavier de Gaye added the comment: The crash occurs at the same line that the crash reported in issue #17786. Line 85 in ctypes/test/test_as_parameter.py was line 87 at changeset ae5c4a9118b8a3f490f77f2084d46163ca229aef. -- ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-05-18 Thread Martin Panter
Martin Panter added the comment: Here is a tested illustration of how I would suggest to manually handle encoding with check_output(): >>> text_input = "©" >>> args = ("iconv", "--from-code", "ISO_8859-1", "--to-code", "UTF-8") >>> bytes_output = check_output(args,

[issue26331] Tokenizer: allow underscores for grouping in numeric literals

2016-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added comments on Rietveld. -- ___ Python tracker ___ ___

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-18 Thread Thomas Kluyver
Thomas Kluyver added the comment: I'm obviously biased, but I find the 'high level convenience API' less convenient than the run() function: there are three different functions for the same basic operation, they're not clearly named (check_output is nothing to do with checking output), and

[issue27050] Demote run() below the high level APIs in subprocess docs

2016-05-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: FWIW i consider the whole subprocess module doc to be pretty unapproachable and in need of refactoring. Your suggestions sound like good ones. We should sit down and make it sane at pycon. -- nosy: +gregory.p.smith

[issue27053] Python Windows x86-64 embeddable zip file missing module encodings

2016-05-18 Thread Wolfgang Langner
New submission from Wolfgang Langner: Tried to extract Windows x86-64 embeddable zip file and execute it. But following error happened (3.6.0a1): Fatal Python error: Py_Initialize: unable to load the file system codec ImportError: No module named 'encodings' Current thread 0x17c4 (most

[issue23275] Can assign [] = (), but not () = []

2016-05-18 Thread Martin Panter
Martin Panter added the comment: I just moved the NEWS entry under the alpha 2 heading. For patches I am going to commit myself, I usually write the NEWS beforehand and remember to adjust it when committing. But perhaps I shouldn’t have done that in this case :) --

[issue23275] Can assign [] = (), but not () = []

2016-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d3a75daf61e1 by Martin Panter in branch 'default': Issue #23275: Don’t think this made it into alpha 1 https://hg.python.org/cpython/rev/d3a75daf61e1 -- ___ Python tracker

[issue12920] inspect.getsource only works for objects loaded from files, not interactive session

2016-05-18 Thread Steven Barker
Steven Barker added the comment: The problem being discussed here just came up on Stack Overflow today: http://stackoverflow.com/questions/37288135/inspect-module-for-python/ The cause of the incorrect error message is pretty clear. The relevant code from `inspect.getfile` should do something

[issue27052] Python2.7.11+ as in Debian testing and Ubuntu 16.04 LTS crashes with segfault

2016-05-18 Thread Ján Jockusch
New submission from Ján Jockusch: Python2.7.11+ as distributed by Ubuntu 16.04LTS and Debian testing crashes with a segmentation fault when running a simple Zope2 instance. Python.org's Python2.7.11 does not exhibit the same crash. It is possible that one of the patches in debian/patches or

[issue23420] python -m cProfile -s fails with non informative message

2016-05-18 Thread Berker Peksag
Berker Peksag added the comment: Patch looks good to me, but we need a test case. -- type: enhancement -> behavior versions: -Python 3.4 ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-05-18 Thread Nick Coghlan
Nick Coghlan added the comment: Since this issue was first filed, the "opener" parameter was added to the open() builtin: https://docs.python.org/3/library/functions.html#open I mention that, as the problem there is similar to the problem here: wanting to construct a buffered text-mode