[issue8315] ./python -m unittest test.test_importlib doesn't work

2014-09-07 Thread Berker Peksag
Berker Peksag added the comment: test_importlib has been fixed in issue 22002. $ ./python -m unittest test.test_importlib -- Ran 963 tests in 1.533s OK (skipped=15, expected failures=1) -- nosy: +berke

[issue22200] Remove distutils checks for Python version

2014-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue22299] resolve() on Windows makes some pathological paths unusable

2014-09-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm a bit worried about the consequences still. If you take "C:" and join it with e.g. "foo", you get a drive-relative path. If you take "//?/C:/" and join it with e.g. "foo", you get an absolute path (or, if you remove the drive's trailing slash, you get some

[issue22353] re.findall() documentation lacks information about finding THE LAST iteration of reoeated capturing group (greedy)

2014-09-07 Thread Mateusz Dobrowolny
New submission from Mateusz Dobrowolny: Python 3.4.1, Windows. help(re.findall) shows me: findall(pattern, string, flags=0) Return a list of all non-overlapping matches in the string. If one or more capturing groups are present in the pattern, return a list of groups; this will be a

[issue22353] re.findall() documentation lacks information about finding THE LAST iteration of repeated capturing group (greedy)

2014-09-07 Thread Mateusz Dobrowolny
Changes by Mateusz Dobrowolny : -- title: re.findall() documentation lacks information about finding THE LAST iteration of reoeated capturing group (greedy) -> re.findall() documentation lacks information about finding THE LAST iteration of repeated capturing group (greedy) _

[issue22354] Highlite tabs in the IDLE

2014-09-07 Thread Christian Kleineidam
New submission from Christian Kleineidam: Python accepts both tabs and spaces. Code that mixes tab and spaces can lead to problematic issues. Especially beginners who are new to python can be confused if they copy some code and it doesn't work as they expected because of issues of invisible wh

[issue18766] IDLE: Autocomplete in editor doesn't work for un-imported modules

2014-09-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Hi Terry, Would it be better if the current inlined code is moved into get_entity? It will also make it easier to test. The try:... except ImportError block be present within the get_entity method itself? Otherwise, I will make a patch on what you said earl

[issue22355] inconsistent results with inspect.getsource() / inspect.getsourcelines()

2014-09-07 Thread Iestyn Elfick
New submission from Iestyn Elfick: The functions inspect.getsource() and inspect.getsourcelines() return inconsistent results for frames corresponding to class definitions within a function. Test code: import sys import inspect def case1(): class C: def __init__(self):

[issue22355] inconsistent results with inspect.getsource() / inspect.getsourcelines()

2014-09-07 Thread Iestyn Elfick
Iestyn Elfick added the comment: Possible fix: --- /usr/lib64/python3.3/inspect.py 2014-06-30 19:21:52.0 +0200 +++ inspect.py 2014-09-07 17:41:29.463936079 +0200 @@ -600,7 +600,8 @@ if not hasattr(object, 'co_firstlineno'): raise IOError('could not find functio

[issue22356] mention explicitly that stdlib assumes gmtime(0) epoch is 1970

2014-09-07 Thread Akira Li
New submission from Akira Li: See discussion on Python-ideas https://mail.python.org/pipermail/python-ideas/2014-September/029228.html -- assignee: docs@python components: Documentation files: docs-time-epoch_is_1970.diff keywords: patch messages: 226539 nosy: akira, docs@python priority

[issue22299] resolve() on Windows makes some pathological paths unusable

2014-09-07 Thread eryksun
eryksun added the comment: > If you take "//?/C:/" and join it with e.g. "foo", you get an > absolute path (or, if you remove the drive's trailing slash, you > get something that's invalid AFAIK). FYI, DOS device names such as "C:" are NT symlinks. Win32 looks for DOS device links in NT's \Gl

[issue22198] Odd floor-division corner case

2014-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: I tried my hand at writing a patch. I hope it is helpful. The message of the 2001 commit that introduces this says that "there's no platform-independent way to write a test case for this". I assume with @support.requires_IEEE_754 that is no longer true (at leas

[issue22198] Odd floor-division corner case

2014-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: Note: I signed the contributor agreement form recently, I should have a * soon. -- ___ Python tracker ___ ___

[issue22353] re.findall() documentation lacks information about finding THE LAST iteration of repeated capturing group (greedy)

2014-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: Do you have a specific sentence or paragraph in mind that could be added? Be aware help() just shows what's in the docstring, which is typically abbreviated. The full docs are on docs.python.org. Can you find what you need there? -- nosy: +gvanros

[issue22212] zipfile.py fails if zlib.so module fails to build.

2014-09-07 Thread Alex Lord
Alex Lord added the comment: Just adding that I have also run into this problem. -- nosy: +Alex.Lord ___ Python tracker ___ ___ Python

[issue22257] PEP 432: Redesign the interpreter startup sequence

2014-09-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22357] inspect module documentation make no reference to __qualname__ attribute

2014-09-07 Thread Iestyn Elfick
New submission from Iestyn Elfick: The documentation for the 'inspect' module should list the '__qualname__' attribute for 'method', 'function' and 'builtin' types in section '29.12.1 Types and members'. -- assignee: docs@python components: Documentation messages: 226545 nosy: docs@pyt

[issue5309] distutils doesn't parallelize extension module compilation

2014-09-07 Thread Éric Araujo
Éric Araujo added the comment: > self.parallel = int(self.parallel) would raise ValueError when a > non-number is passed. I suggest to print user-friendly error message. The distutils idiom would be to catch the TypeError/ValueError and raise DistutilsOptionError. Higher layers convert that to

[issue22357] inspect module documentation makes no reference to __qualname__ attribute

2014-09-07 Thread Iestyn Elfick
Changes by Iestyn Elfick : -- title: inspect module documentation make no reference to __qualname__ attribute -> inspect module documentation makes no reference to __qualname__ attribute ___ Python tracker ___

[issue22358] Unnecessary JUMP_FORWARD(0) (NOP) in if statements without else or elif

2014-09-07 Thread Attila Fazekas
New submission from Attila Fazekas: The following example function compiles to bytecode which contains, an unnecessary JUMP_FORWARD 0 instruction: def func(): if a: pass Actual: dis.dis(func) 2 0 LOAD_GLOBAL 0 (a) 3 POP_JUMP_IF_FALSE9

[issue22358] Unnecessary JUMP_FORWARD(0) (NOP) in if statements without else or elif

2014-09-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue17095] Modules/Setup *shared* support broken

2014-09-07 Thread Ned Deily
Ned Deily added the comment: Clearly this breaks running from the build directory for various modules when their optional C extension module build fails. I'll either change the Setup shared builds to use a build directory or revert the path changes prior to the upcoming 3.4.2. -- ass

[issue22285] The Modules/ directory should not be added to sys.path

2014-09-07 Thread Ned Deily
Ned Deily added the comment: Closing as a duplicate of the re-opened Issue17095 (since the changes there haven't been released yet) -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Modules/Setup *shared* support broken versions: +Python 3.4, Python

[issue22212] zipfile.py fails if zlib.so module fails to build.

2014-09-07 Thread Ned Deily
Ned Deily added the comment: This problem has been introduced by the initial changes for Issue17095. That issue has been re-opened and the resolution will be covered there. -- nosy: +ned.deily resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder:

[issue19884] Importing readline produces erroneous output

2014-09-07 Thread Ned Deily
Ned Deily added the comment: Should this be a release blocker for 3.4.2? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-09-07 Thread Ned Deily
Ned Deily added the comment: Should this be fixed for 3.4.2? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-09-07 Thread Larry Hastings
Larry Hastings added the comment: Note: current plan for 3.4.2 is to release at the end of the month. RC1 will be in about a week. -- ___ Python tracker ___ ___

[issue22358] Unnecessary JUMP_FORWARD(0) (NOP) in if statements without else or elif

2014-09-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: What about the peephole optimizer?. -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mail

[issue19693] "make altinstall && make install" behaviour differs from "make install"

2014-09-07 Thread Ned Deily
Ned Deily added the comment: Ping. Also this will be presumably be an issue for the approved 2.7.x backport of ensurepip. -- versions: +Python 2.7, Python 3.5 ___ Python tracker __

[issue17095] Modules/Setup *shared* support broken

2014-09-07 Thread John Malmberg
Changes by John Malmberg : -- nosy: +John.Malmberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue15594] test_copyfile_named_pipe() fails on Mac OS X Snow Leopard: OSError: [Errno 22] Invalid argument

2014-09-07 Thread Ned Deily
Ned Deily added the comment: Closing since there have been no further reports of this problem and this buildbot is no longer connected -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue11487] build_installer.py should avoid relying on a young Python

2014-09-07 Thread Ned Deily
Ned Deily added the comment: The changes for Issue21383 added calls to "make touch" to build_installer.py so the initial problem reported here should no longer occur on any OS X installer build. As to the more general problem of needing to use "make touch" because hg checkouts do not preserve

[issue19884] Importing readline produces erroneous output

2014-09-07 Thread STINNER Victor
STINNER Victor added the comment: The test fails on some platforms but it's not a regression. -- ___ Python tracker ___ ___ Python-bug