[issue22365] SSLContext.load_verify_locations(cadata) does not accept CRLs

2014-09-08 Thread Ralph Broenink
Ralph Broenink added the comment: Here's a minimal example of the issue, assuming you have obtained a CRL in PEM format, e.g. from https://www.emulab.net/genicrl.bundle: import ssl context = ssl.create_default_context() path = 'path/to/crl.crl' # Working: context.load_ver

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2014-09-08 Thread Chris Rose
Chris Rose added the comment: What's the word on this change? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22363] argparse AssertionError with add_mutually_exclusive_group and help=SUPPRESS

2014-09-08 Thread paul j3
paul j3 added the comment: This assertion has triggered several bug issues, either due to an empty group like this, or certain characters in the metavars. http://bugs.python.org/issue17890 'argparse: mutually exclusive groups full of suppressed args can cause AssertionErrors' http://bugs.pyth

[issue22240] argparse support for "python -m module" in help

2014-09-08 Thread paul j3
paul j3 added the comment: In argparse.py, I would put a utility function like `_prog_name` near the start in the 'Utility functions and classes' block. In test_argparse.py, I don't see the purpose of the `progname` changes in the TestParentParsers class. That class wasn't producing an erro

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread Christoph Wruck
Christoph Wruck added the comment: David, I'll reflect on it. @ALL - Thank's for all answers. Should I close this ticket? -- ___ Python tracker ___ _

[issue22253] ConfigParser does not handle files without sections

2014-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The MS function GetPrivateProfileString appears to require sections. http://msdn.microsoft.com/en-us/library/ms724353.aspx On the other hand, it does not appear to do interpolation, so we have already not restricted ourselves to the MS function. In looking thro

[issue18232] running a suite with no tests is not an error

2014-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: You missed my point, which is that tools consuming subunit streams are already able to consider 'no tests found' to be an error. Conversely, when I run the suite on my Windows box, I usually consider only 1 or 2 errors to be success. After unittest reports act

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
Alex Gaynor added the comment: New patch switches to a ValueError and includes a test case that it's raised. -- Added file: http://bugs.python.org/file36580/urlopen-context.diff ___ Python tracker _

[issue22363] argparse AssertionError with add_mutually_exclusive_group and help=SUPPRESS

2014-09-08 Thread Zacrath
Zacrath added the comment: This assert statement is only reached when the usage line is long enough that it needs to be wrapped. Which is why the assertion does not happen when an argument is removed. opt_usage is being compared to this string: "[-h] [--arg2 ARG2] [--arg3 ARG3] [--arg4 ARG4] [

[issue22361] Ability to join() threads in concurrent.futures.ThreadPoolExecutor

2014-09-08 Thread Ned Deily
Changes by Ned Deily : -- nosy: +bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue18232] running a suite with no tests is not an error

2014-09-08 Thread Robert Collins
Robert Collins added the comment: @Terry in principle you're right, there are an arbitrary number of things that can go wrong, but in practice what we see is either catastrophic failure where nothing is loaded at all *and* no error is returned or localised failure where the deferred reporting

[issue7559] TestLoader.loadTestsFromName swallows import errors

2014-09-08 Thread Robert Collins
Robert Collins added the comment: Ok, here is an implementation that I believe covers everything Michael wanted. I examined the other patches, and can rearrange my implementation to be more like them if desired - but at the heart of this this bug really has two requested changes: - deferred r

[issue22361] Ability to join() threads in concurrent.futures.ThreadPoolExecutor

2014-09-08 Thread Josh Rosenberg
Josh Rosenberg added the comment: Can you explain what benefit this would provide? Forcing the thread to exit gets you relatively little benefit. If it's an infrequently used executor, I suppose you avoid the cost of leaving worker threads blocked waiting for work, but that cost is tiny, and y

[issue7559] TestLoader.loadTestsFromName swallows import errors

2014-09-08 Thread Robert Collins
Robert Collins added the comment: I've just put a patch up for the related issue http://bugs.python.org/issue19746 I'll poke at this one briefly now, since I'm across the related code. -- ___ Python tracker ___

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92b292d68104 by Barry Warsaw in branch 'default': A few tweaks for issue16662 based on feedback from Robert Collins. http://hg.python.org/cpython/rev/92b292d68104 -- ___ Python tracker

[issue19746] No introspective way to detect ModuleImportFailure in unittest

2014-09-08 Thread Robert Collins
Robert Collins added the comment: Here is an implementation. I'm probably missing some finesse in the docs. -- keywords: +patch Added file: http://bugs.python.org/file36577/issue19746.patch ___ Python tracker _

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Robert Collins
Robert Collins added the comment: @michael - ah I think I inverted the sense of the old parameter. It was defaulting True. So - no need to document anything extra:) -- ___ Python tracker __

[issue22367] Please add F_OFD_SETLK, etc support to fcntl.lockf

2014-09-08 Thread Andrew Lutomirski
New submission from Andrew Lutomirski: Linux 3.15 and newer support a vastly superior API for file locking, in which locks are owned by open file descriptions instead of by processes. This is how everyone seems to expect POSIX locks to work, but now they can finally work that way. Please add

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
Alex Gaynor added the comment: Added a versionchanged directive to the docs. -- Added file: http://bugs.python.org/file36576/urlopen-context.diff ___ Python tracker ___ _

[issue17381] IGNORECASE breaks unicode literal range matching

2014-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, issue12728 is more complicate case. Here is a patch which fixes this issue and issue3511. -- assignee: -> serhiy.storchaka keywords: +patch stage: -> patch review versions: +Python 3.4, Python 3.5 -Python 3.3 Added file: http://bugs.python.org/f

[issue17401] io.FileIO closefd parameter is not documented nor shown in repr

2014-09-08 Thread Robert Collins
Robert Collins added the comment: Oh - the the 'open' function docs are fine - they are just a pointer. I was specifically referring to the class docs around line 513 of Doc/library/io.rst. Attached is a patch that changes repr to show this attribute and extends the docs to document this as pa

[issue22240] argparse support for "python -m module" in help

2014-09-08 Thread paul j3
paul j3 added the comment: When I apply `prog3.diff` to my 3.5.0dev, and run python3 -m unittest Lib/test/test_argparse.py I get 2 failures, both over 'usage: python3 -m [unit]test'. It also fails with python3 test_argparse.py I suspect it would also fail if I ran the tests with `nos

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Andres Riancho added the comment: FYI, I'm using Python 2.7.6 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Michael Foord
Michael Foord added the comment: I agree, load_tests should be honoured even when not invoked through discovery. If that wasn't the case it was an unfortunate oversight on my part! -- ___ Python tracker __

[issue17401] io.FileIO closefd parameter is not documented nor shown in repr

2014-09-08 Thread Robert Collins
Robert Collins added the comment: Its more than just a docs issue - "AFAICT it isn't possible to tell if closefd is set after the object is created." The presence of the parameter in the signature is there, but it isn't documented *where the bulk of the FileIO parameters are* - there are docs

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Alexandre or Antoine, do either of you want to either reopen or verify that this dict subclass pickle issue was properly closed as won't fix? -- nosy: +alexandre.vassalotti, pitrou ___ Python tracker

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Robert Collins
Robert Collins added the comment: OH! One more thing I just spotted, which is that this change causes non-'discover' unittest test loading to invoke load_tests. IMO this is the Right Thing - its what I intended when I described the protocol a few years back, but we should document it, no? ---

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Robert Collins
Robert Collins added the comment: Thanks for landing this barry, there's a couple quirks with your improvements - loadTestsFromModule(mod, foo, bar) will raise a TypeError but not warn about foo the way loadTestsFromModule(mod, foo) will. Secondly, the TypeError has an off-by-one error in its

[issue22364] Unify error messages of re and regex

2014-09-08 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm dubious about this issue. It suggests that the wording of the exceptions is part of the API of the two modules. If the idea is just to copy the best error messages from one module to the other, then I guess there is no harm. But if the idea is to guarante

[issue20597] PATH_MAX already defined on some Windows compilers

2014-09-08 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: Was this ever accepted? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21931] Nonsense errors reported by msilib.FCICreate for bad argument

2014-09-08 Thread Jeffrey Armstrong
Jeffrey Armstrong added the comment: Is this patch going to be accepted? It fixes actual incorrect code in msilib, and it seems to have stagnated -- ___ Python tracker ___

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0ff527c53da by Barry Warsaw in branch 'default': - Issue #16662: load_tests() is now unconditionally run when it is present in http://hg.python.org/cpython/rev/d0ff527c53da -- nosy: +python-dev ___ Pytho

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
Alex Gaynor added the comment: Attached patch against the default branch adds support for this. -- keywords: +needs review, patch Added file: http://bugs.python.org/file36573/urlopen-context.diff ___ Python tracker

[issue22366] urllib.request.urlopen shoudl take a "context" (SSLContext) argument

2014-09-08 Thread Alex Gaynor
New submission from Alex Gaynor: Instead of the ca* arguments it currently takes, these can all be encapsulated into an SSLContext argument, which the underlying http.client already supports. -- components: Library (Lib) messages: 226594 nosy: alex, christian.heimes, dstufft, giampaolo.

[issue22253] ConfigParser does not handle files without sections

2014-09-08 Thread Paul Moore
Paul Moore added the comment: It's not unreasonable as a new feature, but the default behaviour shouldn't change. It matches ini files (like it or not, ConfigParser parses ini-style files - the docs even say so), and sectionless values are not standard ini format. I'd suggest a new __init__ o

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Changes by Andres Riancho : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Changes by Andres Riancho : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2014-09-08 Thread Guido van Rossum
Guido van Rossum added the comment: Then let's close this issue. -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ __

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Andres Riancho added the comment: Django's issue [0] shows the ugly code people write to work around this python bug. [0] https://code.djangoproject.com/ticket/15863 -- ___ Python tracker ___

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: So, I think what I'm going to do is change the sig of the method to: def loadTestsFromModule(self, module, *args, pattern=None, **kws): I.e. the new `pattern` arg will be keyword-only. *args and **kws will be parsed for use_load_tests usage and a deprecat

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: pattern will have to be documented and accepted as official API -- ___ Python tracker ___ ___ Pytho

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Andres Riancho added the comment: Well, closing this as wont-fix is far from ideal. +4 years have past from the last activity in this issue but people are still being hit by this issue. In my case I'm not creating any special sub-class, I just use one of Python's built-in libs: ```python impo

[issue22253] ConfigParser does not handle files without sections

2014-09-08 Thread Guido van Rossum
Guido van Rossum added the comment: It looks like this feature request tries to change an existing (ancient) module into something it isn't. At the very least can you point to a spec for the syntax of "POSIX" config files? I always thought they were essentially shell scripts, which suggests

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

2014-09-08 Thread Steve Dower
Steve Dower added the comment: Right, what the prefix actually means is "treat this path as a blob and don't do any processing". Some of the things that 'processing' includes are: * CWD * invalid names ('foo.' -> 'foo') * adjacent backslashes ('a\\b' -> 'a\b') * forward slashes ('a/b' -> 'a\b')

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: One thing I really do not like about Rob's last patch is that it exacerbates the documentation discrepancy for loadTestsFromModule(). As previously mentioned, use_load_tests arg was already not documented, and now the patch adds another undocumented pattern

[issue22339] Incorrect behavior when subclassing enum.Enum

2014-09-08 Thread Kiss György
Kiss György added the comment: Thanks for the tip! That looks much better. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21929] Rounding properly

2014-09-08 Thread Geoffrey Spear
Geoffrey Spear added the comment: Robert: That is not related. Python 3's round() function, as documented, rounds halves to the even choice; what you describe is the expected behavior. -- nosy: +geoffreyspear ___ Python tracker

[issue22365] SSLContext.load_verify_locations(cadata) does not accept CRLs

2014-09-08 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou ___ Python tracker ___ ___ Pytho

[issue22365] SSLContext.load_verify_locations(cadata) does not accept CRLs

2014-09-08 Thread Ralph Broenink
New submission from Ralph Broenink: Issue #18138 added support for the cadata argument in SSLContext.load_verify_locations. However, this argument does not support certificate revocation lists (CRLs) to be added (at least not in PEM format): ssl.SSLError: [PEM: NO_START_LINE] no start line

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: michael.foord -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11471] If without else generates redundant jump

2014-09-08 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

[issue22359] Remove incorrect uses of recursive make

2014-09-08 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue16662] load_tests not invoked in package/__init__.py

2014-09-08 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue21929] Rounding properly

2014-09-08 Thread Robert
Robert added the comment: I'm not sure if this is related or not, but on 3.4.1 I get the following: >>> print(round(float(3/2))) 2 (as expected) >>> print(round(float(5/2))) 2 (expected 3, as float should round .5 up) -- nosy: +fenofonts ___ Python

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread Christoph Wruck
Christoph Wruck added the comment: Serhiy, you will be right if you've to split a complex string such spliting strings with more than one separator. In this case I would prefer a regex bases solution too. Otherwise we could actually use the re-lib for every of those jobs without using the fast

[issue22240] argparse support for "python -m module" in help

2014-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread R. David Murray
R. David Murray added the comment: If you want to do complex splitting, the supported way to do so is re.split. Feel free to take this to python-ideas if you think there is sufficient reason for baking a particular additional splitting functionality into str.split. -- nosy: +r.david.m

[issue22240] argparse support for "python -m module" in help

2014-09-08 Thread Miki Tebeka
Miki Tebeka added the comment: Anything else I need to solve to get this patch accepted? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue14076] sqlite3 module ignores placeholders in CREATE TRIGGER code

2014-09-08 Thread Philippe Devalkeneer
Changes by Philippe Devalkeneer : -- nosy: +flupke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread Christoph Wruck
Christoph Wruck added the comment: Hi Steven exactly - you're right with this. 'spam--eggs--cheesetoast'.split('-', offset=1) --> ['spam', '-eggs', '-cheese', '-', '-toast'] 'spam--eggs--cheese--toast'.split('-', offset=8) --> ['spam', '-eggs--cheese', '-toast'] Okay - the name "offset" m

[issue22327] test_gdb failures on Ubuntu 14.10

2014-09-08 Thread Philippe Devalkeneer
Changes by Philippe Devalkeneer : -- nosy: +flupke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22364] Unify error messages of re and regex

2014-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 18. re.compile(r'.???') re:multiple repeat regex: nothing to repeat at position 3 -- ___ Python tracker ___ _

[issue22364] Unify error messages of re and regex

2014-09-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In some cases standard re module and third-party regex modules raise exceptions with different error messages. 1. re.match(re.compile('.'), 'A', re.I) re:Cannot process flags argument with a compiled pattern regex: can't process flags argument with

[issue22359] Remove incorrect uses of recursive make

2014-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue20071] What should happen if someone runs ./python -m ensurepip in the build environment?

2014-09-08 Thread Nick Coghlan
Nick Coghlan added the comment: Note that if I find time to implement the startup sequence redesign for PEP 432/issue #22257 (which is finally starting to look like it may actually happen some time in the next few months), a proper fix may end up being possible for 3.5. We shouldn't bet on th

[issue20071] What should happen if someone runs ./python -m ensurepip in the build environment?

2014-09-08 Thread Nick Coghlan
Nick Coghlan added the comment: The whole sys.path initialisation scheme is pretty broken when running from a source checkout, so the short answer is "it won't work, and it isn't really fixable in a maintenance release". System Python 3: sys.path = [ '/home/ncoghlan/devel/py3k', '/usr

[issue22363] argparse AssertionError with add_mutually_exclusive_group and help=SUPPRESS

2014-09-08 Thread Zacrath
New submission from Zacrath: Executing the attached script causes an AssertionError. Traceback (most recent call last): File "bug.py", line 18, in parser.format_usage() File "/usr/lib/python3.4/argparse.py", line 2318, in format_usage return formatter.format_help() File "/usr/lib/

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

2014-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Such problems are solved by using regular expressions. >>> re.findall('(?:^|(?<=;)).?[^;]*', 'abc;;def;hij') ['abc', ';def', 'hij'] -- nosy: +serhiy.storchaka ___ Python tracker

[issue22362] Warn about octal escapes > 0o377 in re

2014-09-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently the re module accepts octal escapes from \400 to \777, but ignore highest bit. >>> re.search(r'\542', 'abc') <_sre.SRE_Match object; span=(1, 2), match='b'> This behavior looks surprising and is inconsistent with the regex module which preserve

[issue22361] Ability to join() threads in concurrent.futures.ThreadPoolExecutor

2014-09-08 Thread Luca Falavigna
New submission from Luca Falavigna: I have a program which waits for external events (mostly pyinotify events), and when events occur a new worker is created using concurrent.futures.ThreadPoolExecutor. The following snippet represents shortly what my program does: from time import sleep from

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm afraid I don't understand the purpose of this feature request, or what the behaviour is. You show a simple example: >>> s = 'abc;;def;hij' >>> s.split(';', offset=1) ['abc', ';def', 'hij'] but I don't understand why you want to keep the second semi-colon

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

2014-09-08 Thread Mateusz Dobrowolny
Mateusz Dobrowolny added the comment: The official help https://docs.python.org/3/library/re.html?highlight=findall#re.findall in fact contains more information, especially the one mentioned in http://bugs.python.org/issue3384. Regarding my issue - I am afraid it was my misunderstanding, becaus

[issue20417] ensurepip should not be installed with --without-ensurepip

2014-09-08 Thread Nick Coghlan
Nick Coghlan added the comment: As Donald notes, this was explicitly covered in the PEP: the onus is on the distros to make ensurepip and pyvenv work in a way that complies with their debundling requirements (e.g. by using rewheel, or redirecting to the system installer). The "--without-ensur

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

2014-09-08 Thread Nick Coghlan
Nick Coghlan added the comment: No change for 3.x (unless something changed on the pip side that I'm not aware of). For 2.7, the Makefile changes, at least for the install and altinstall targets, were deliberately excluded from the backport PEP. -- _

[issue22360] Adding manually offset parameter to str/bytes split function

2014-09-08 Thread Christoph Wruck
New submission from Christoph Wruck: Currently we have a "split" function which splits a str/bytestr into chunks of their underlying data. This works great for the most tivial jobs. But there is no possibility to pass an offset parameter into the split function which indicates the next "user-defi

[issue22359] Remove incorrect uses of recursive make

2014-09-08 Thread Jonas Wagner
New submission from Jonas Wagner: The attached patch fixes issues with Python's Makefile, which manifest when doing parallel builds. The Makefile invoked "make" recursively for some targets. This caused some files (which were depended upon by multiple targets) to be built by both the original

[issue20417] ensurepip should not be installed with --without-ensurepip

2014-09-08 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue20071] What should happen if someone runs ./python -m ensurepip in the build environment?

2014-09-08 Thread Ned Deily
Changes by Ned Deily : -- nosy: +dstufft, ncoghlan, ned.deily versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___

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

2014-09-08 Thread Michael Foord
Michael Foord added the comment: The patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11471] If without else generates redundant jump

2014-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Attila Fazekas just has provided almost the same patch in issue22358. -- stage: patch review -> commit review versions: +Python 3.5 -Python 3.4 ___ Python tracker

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

2014-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue11471. Explicit check for NULL is not needed because the asdl_seq_LEN() macro checks its argument for NULL. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> If without else generates

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

2014-09-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is about name completion and not path completion. I have re-reviewed the patch, current code, current behavior, and the fetch_completions doctstring that more or less explains why name completion cannot reliably work given how Idle now works. I wou