[issue21435] Segfault in gc with cyclic trash

2014-05-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks a lot! The patch fixes crush dump issue with __del__ in aiohttp library tests also. -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21435

[issue21456] skip 2 tests in test_urllib2net.py if _ssl module not present

2014-05-09 Thread Remi Pointel
New submission from Remi Pointel: Hi, I tested the regress tests on a machine which does not have the ssl module, and I have 2 errors in Lib/test/test_urllib2net.py. I think it should skip the test instead. Attached is a diff I wrote, it's based on Lib/test/test_poplib.py. Don't hesitate if

[issue21457] NetBSD curses support improvements

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: NetBSD's curses headers have different include guards than ncurses. Also, the NetBSD curses library has been improved and some workaround are no longer necessary. Diff against hg attached. -- components: Extension Modules files: curses.diff

[issue21458] MirBSD support

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: configure needs to know about MirBSD -- it's quite similar to OpenBSD, so that's all that's needed. -- components: Build files: configure.diff keywords: patch messages: 218141 nosy: wiz priority: normal severity: normal status: open title: MirBSD

[issue21458] MirBSD support

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +skrah stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21458 ___

[issue21459] DragonFlyBSD support

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: DragonFlyBSD support needs some slight changes. -- components: Build files: dragonfly.diff keywords: patch messages: 218142 nosy: wiz priority: normal severity: normal status: open title: DragonFlyBSD support versions: Python 3.5 Added file:

[issue21460] distutils: use LDFLAGS

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: There are two possible sources for extra linker arguments: - 'extra_link_args' in Extension object - LDFLAGS environment variable The environment variable should take precedence, and any sensible compiler will give precedence to later command line args.

[issue21460] distutils: use LDFLAGS

2014-05-09 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21460 ___

[issue21461] Recognize -pthread

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: makesetup should know about the -pthread compiler flag. -- components: Extension Modules files: pthread.diff keywords: patch messages: 218144 nosy: wiz priority: normal severity: normal status: open title: Recognize -pthread type: enhancement

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2014-05-09 Thread Tim Golden
Tim Golden added the comment: Here's a patch against build_ssl which uses subprocess.check_output and very slightly simplifies the output. It successfully finds ActivePerl and builds from source; and uses the svn export files when it's not. I've targetted the development branch; don't know if

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2014-05-09 Thread Tim Golden
Tim Golden added the comment: I've just looked at issue21141 which is a substantial rework of this area. This change should be incorporated over there as well / instead. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10752

[issue21141] Don't mention Perl in Windows build output

2014-05-09 Thread Tim Golden
Tim Golden added the comment: I'm at least +0 on this, not because I've ever been that bothered by the Perl messages, but because it tidies things up a little smooths the way very slightly for people trying to build Python on Windows and I'm always ready to support that. --

[issue21459] DragonFlyBSD support

2014-05-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: What happens to Python 2.7?. Compilation fixes are OK to apply. Would be wonderful to have a DragonFlyBSD buildbot in our farm... -- nosy: +jcea ___ Python tracker rep...@bugs.python.org

[issue21458] MirBSD support

2014-05-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: What happens to Python 2.7?. Compilation fixes are OK to apply. Would be wonderful to have a MirBSD buildbot in our farm... -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21458

[issue21457] NetBSD curses support improvements

2014-05-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Thomas, What happens if Python is compiled in an old version of NetBSD? -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21457 ___

[issue20745] test_statistics fails in refleak mode

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20745 ___

[issue21141] Don't mention Perl in Windows build output

2014-05-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 for this. The current messages are confusing, and I think I've already installed Perl because of them. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21141

[issue21456] skip 2 tests in test_urllib2net.py if _ssl module not present

2014-05-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: There isn't much point in introducing a variable named SUPPORTS_SSL, just use ssl is not None. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21456

[issue21141] Don't mention Perl in Windows build output

2014-05-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch looks fine to me, including the renaming. Please apply. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21141 ___

[issue21462] PEP 466: upgrade OpenSSL

2014-05-09 Thread Nick Coghlan
New submission from Nick Coghlan: PEP 466 includes updating to a newer version of OpenSSL. This may be needed for the ssl module feature backports in issue 21308. -- components: Windows messages: 218154 nosy: loewis, ncoghlan, steve.dower priority: normal severity: normal status: open

[issue21462] PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds

2014-05-09 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- components: +Build title: PEP 466: upgrade OpenSSL - PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21462

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-05-09 Thread Francisco Gracia
Francisco Gracia added the comment: The neat program *redemo.py* toggles between *Highlight first match* and *Highlight all matches*. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13630

[issue20745] test_statistics fails in refleak mode

2014-05-09 Thread Ezio Melotti
Ezio Melotti added the comment: #20746 seems to have a patch for this. -- nosy: +xdegaye ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20745 ___

[issue20780] Shadowed (duplicate name but different body) test in test_statistics

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20780 ___

[issue21459] DragonFlyBSD support

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: We've actually moved away from maintaining OS support in Python itself except for major platforms. We prefer that people maintain a patch set on bitbucket, github, etc. and get the community to help support that platform. -- nosy: +brett.cannon

[issue21458] MirBSD support

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: We've actually been moving away from maintaining OS support in Python itself except for major platforms. We prefer that people maintain a patch set on bitbucket, github, etc. and get the community to help support that platform. -- nosy: +brett.cannon

[issue14019] Unify tests for str.format and string.Formatter

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: Francisco, can you sign the contributor agreement? https://www.python.org/psf/contrib/contrib-form/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14019

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-05-09 Thread Tal Einat
Tal Einat added the comment: Indeed, redemo.py does include this feature. But it is a completely different application with a very specific goal - testing regular expressions. On the other hand, IDLE's search is meant to be used to find pieces of code in the editor, which is a significantly

[issue21226] PyImport_ExecCodeModuleObject not setting module attributes

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: LGTM although you forgot to use a loader instance instead of the class. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21226 ___

[issue20815] ipaddress unit tests PEP8

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - commit review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20815 ___

[issue20826] Faster implementation to collapse consecutive ip-networks

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20826 ___

[issue20837] Ambiguity words in base64 documentation

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20837 ___

[issue20840] AttributeError: 'module' object has no attribute 'ArgumentParser'

2014-05-09 Thread Ezio Melotti
Ezio Melotti added the comment: Closing for lack of feedback. Feel free to re-open if/when more info are available. -- nosy: +ezio.melotti status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20840

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

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Documentation stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20847 ___

[issue20851] Update devguide to cover testing from a tarball

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20851 ___

[issue20853] pdb args crashes when an arg is not printable

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20853 ___ ___

[issue20859] Context of documentation for conditional expressions

2014-05-09 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20859 ___ ___

[issue21459] DragonFlyBSD support

2014-05-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___

[issue21458] MirBSD support

2014-05-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21458 ___

[issue14019] Unify tests for str.format and string.Formatter

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: I added some review comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14019 ___ ___ Python-bugs-list

[issue21141] Don't mention Perl in Windows build output

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ef99fafaadd by Zachary Ware in branch 'default': Issue #21141: The Windows build process no longer attempts to find Perl, http://hg.python.org/cpython/rev/9ef99fafaadd -- nosy: +python-dev ___ Python

[issue21141] Don't mention Perl in Windows build output

2014-05-09 Thread Zachary Ware
Zachary Ware added the comment: Committed. Thanks for the review, Martin, and for the votes of confidence Tim and Antoine! -- assignee: - zach.ware resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker

[issue21037] add an AddressSanitizer build option

2014-05-09 Thread Stefan Krah
Stefan Krah added the comment: The VM is set up. It's on an external unreliable host though. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21037 ___

[issue21157] Update imp docs for a PEP 451 world

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9809a791436d by Brett Cannon in branch '3.4': Issue #21157: Touch up imp docs to be more explicit about importlib http://hg.python.org/cpython/rev/9809a791436d New changeset 418780d59502 by Brett Cannon in branch 'default': Merge for issue #21157

[issue21157] Update imp docs for a PEP 451 world

2014-05-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21157 ___

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2014-05-09 Thread Zachary Ware
Zachary Ware added the comment: The patch looks good to me (only tested on a Perl-less machine, though). It applies cleanly on 3.4, which I think is worth committing. It still merges forward cleanly to default, post-#21141. I suspect it would even apply fairly cleanly to 2.7, but I'm not

[issue19186] expat symbols should be namespaced in pyexpat again

2014-05-09 Thread Lukas Vacek
Lukas Vacek added the comment: Hi Peter, Thanks for taking the time to report your issue. I just tried on fresh up-to-date CentOS 6 and I could not reproduce the issue. However, I think I figured out what went wrong. I can see you are supplying custom -I and -L paths

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-05-09 Thread Erik Bray
New submission from Erik Bray: This is probably a pretty rare corner case, but a coworker reported this to me while testing code that does open several ftp connections to different files. -- components: Library (Lib) files: urllib-request-ftpcache-error.patch keywords: patch messages:

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-05-09 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21463 ___ ___ Python-bugs-list

[issue21462] PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds

2014-05-09 Thread Zachary Ware
Zachary Ware added the comment: Here's all the patch that should be necessary to do the upgrade. Running test_ssl on 2.7 with 1.0.1g I do have a failure: == ERROR: test_socketserver (test.test_ssl.ThreadedTests) Using a

[issue19186] expat symbols should be namespaced in pyexpat again

2014-05-09 Thread Lukas Vacek
Lukas Vacek added the comment: Actually CFLAGS do indeed come before any include directories. I can reproduce your problem: mkdir /tmp/extra_include cp /usr/include/expat.h /usr/include/expat_external.h /tmp/extra_include/ make CFLAGS=-I/tmp/extra_include You should use CPPFLAGS for extra

[issue21438] Document which importlib.machinery loaders don't require an argument for load_module()

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 86042348b38a by Brett Cannon in branch '3.4': Issue #21438: Document what loaders don't require a module name for http://hg.python.org/cpython/rev/86042348b38a New changeset e9453f6fa787 by Brett Cannon in branch 'default': Merge for issue #21438

[issue21438] Document which importlib.machinery loaders don't require an argument for load_module()

2014-05-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21438 ___

[issue21156] Consider moving importlib.abc.InspectLoader.source_to_code() to importlib.abc.Loader

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9bd844792b32 by Brett Cannon in branch 'default': Issue #21156: importlib.abc.InspectLoader.source_to_code() is now a http://hg.python.org/cpython/rev/9bd844792b32 -- nosy: +python-dev ___ Python tracker

[issue21156] Consider moving importlib.abc.InspectLoader.source_to_code() to importlib.abc.Loader

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: I decided to make it a static method instead of relocating it. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21156

[issue21462] PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds

2014-05-09 Thread Steve Dower
Steve Dower added the comment: I just tried it and had no trouble building and running the ssl tests on Windows. python Lib\test\regrtest.py -u network -v test_ssl ... Ran 38 tests in 7.700s OK (skipped=2) -- ___ Python tracker

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 160f32753b0c by Tim Golden in branch '3.4': Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL. Initial patch by Gabi Davar http://hg.python.org/cpython/rev/160f32753b0c New changeset e492d0ac9abb by Tim Golden in branch

[issue21452] make_buildinfo.exe with VS2013 fails due ill-formed IntDir path

2014-05-09 Thread Zachary Ware
Zachary Ware added the comment: Your patch looks fine to me, Tim. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21452 ___ ___ Python-bugs-list

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2014-05-09 Thread Tim Golden
Tim Golden added the comment: Thanks for the check. Committed to 3.4 default -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10752 ___

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2014-05-09 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10752 ___

[issue21462] PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds

2014-05-09 Thread Zachary Ware
Zachary Ware added the comment: Thanks, Steve. Nick, I assume 1.0.1g is the target version? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21462 ___

[issue21452] make_buildinfo.exe with VS2013 fails due ill-formed IntDir path

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 469837abe5ca by Tim Golden in branch '3.4': Issue21452 Add missing backslash to build path for make_buildinfo http://hg.python.org/cpython/rev/469837abe5ca New changeset a14420d8b556 by Tim Golden in branch 'default': Issue21452 Add missing

[issue21458] MirBSD support

2014-05-09 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Brett, where is the list of major platforms, and how to get in/out of that list? :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21458 ___

[issue21452] make_buildinfo.exe with VS2013 fails due ill-formed IntDir path

2014-05-09 Thread Tim Golden
Tim Golden added the comment: Fixed. Thanks for the report -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21452 ___

[issue21434] python -3 documentation is outdated

2014-05-09 Thread Éric Araujo
Éric Araujo added the comment: Aside: callable was added back in 3.2; warnings for that are now obsolete, and people often replaced it with bogus alternatives (like using hasattr on the object instead of its type). -- nosy: +eric.araujo ___ Python

[issue20934] test_multiprocessing is broken by design

2014-05-09 Thread ddve...@ucar.edu
Changes by ddve...@ucar.edu ddve...@ucar.edu: -- nosy: +ddve...@ucar.edu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20934 ___ ___

[issue21439] Numerous minor issues in Language Reference

2014-05-09 Thread Éric Araujo
Éric Araujo added the comment: Attaching plain text version. -- nosy: +eric.araujo Added file: http://bugs.python.org/file35201/PythonRefmanual_3_4_0_Errata.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21439

[issue21439] Numerous minor issues in Language Reference

2014-05-09 Thread Éric Araujo
Éric Araujo added the comment: BTW my opinion of the proposed changes is that many of them are good (obvious typos, reports of things unclear to a beginner, etc) but I don’t agree with some typographic changes, I find that some grammar changes are pedantic, and there are even a few

[issue20776] Add tests for importlib.machinery.PathFinder

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa439bb9d705 by Brett Cannon in branch 'default': Issue #20776: Flesh out tests for importlib.machinery.PathFinder. http://hg.python.org/cpython/rev/fa439bb9d705 -- nosy: +python-dev ___ Python tracker

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-05-09 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report and patch. Would you mind adding a unit test? (Note that the “crash” type is for segfaults, not Python exceptions.) -- nosy: +eric.araujo stage: - test needed type: crash - behavior versions: +Python 2.7, Python 3.4, Python 3.5

[issue20776] Add tests for importlib.machinery.PathFinder

2014-05-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20776 ___

[issue21463] RuntimeError when URLopener.ftpcache is full

2014-05-09 Thread Erik Bray
Erik Bray added the comment: Ah, didn't know that about crash. I wanted to add a test but hesitated only because that code is not well tested to begin with (perhaps, hence, this going unnoticed for so long). But I guess it could be done by mocking the ftpwrapper class. --

[issue19721] Move all test_importlib utility code into test_importlib.util

2014-05-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19721 ___

[issue19721] Move all test_importlib utility code into test_importlib.util

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e243b399307 by Brett Cannon in branch 'default': Issue #19721: Consolidate test_importlib utility code into a single http://hg.python.org/cpython/rev/4e243b399307 -- nosy: +python-dev ___ Python tracker

[issue21237] Update Python 2/3 porting HOWTO's suggestion for dealing with map()

2014-05-09 Thread Brett Cannon
Brett Cannon added the comment: I never bothered to mention the iter* methods in the HOWTO, and since it becomes very obvious very fast to tweak them I'm not going to worry about it and add more complexity to the doc. -- resolution: - wont fix status: open - closed

[issue21037] add an AddressSanitizer build option

2014-05-09 Thread Charles-François Natali
Charles-François Natali added the comment: OK, great, let's see what happens! -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21037

[issue21462] PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds

2014-05-09 Thread Tim Golden
Tim Golden added the comment: Builds tests ok here on a fresh checkout (of cpython openssl-1.0.1g) -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21462 ___

[issue21435] Segfault in gc with cyclic trash

2014-05-09 Thread Tim Peters
Tim Peters added the comment: @asvetlov, glad this fixes crashes in aiohttp library tests too, but I hadn't heard about that before. Is there an open bug report about it on this tracker (so we can close it)? -- ___ Python tracker

[issue21278] Running the test suite with -v makes the test_ctypes and the test_zipimport erroneously reported as failed

2014-05-09 Thread ddve...@ucar.edu
ddve...@ucar.edu added the comment: This bug is extremely hard to reproduce in a controlled manner. I mean, if I run EXTRATESTOPTS='-x test_gdb -uall -v' make testall it appears 100% of the times (whereas the same command without the -v works just fine, as I initially mentioned). But I do

[issue21389] The repr of BoundMethod objects sometimes incorrectly identifies the bound function

2014-05-09 Thread Steven Barker
Steven Barker added the comment: Here's a patch that changes the behavior of method_repr in Objects/classobject.c . It first tries to use __func__.__qualname__, then tries __func__.__name__ as a fallback and finally uses ? if neither of those attributes are available. I'm not sure if the

[issue21448] Email Parser use 100% CPU

2014-05-09 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21448 ___ ___

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-09 Thread Cybjit
Cybjit added the comment: I get errors when using pip with a proxy in 3.4.1rc1 on Windows, that does not happen on 3.4.0. I tracked it down to this change to client.py. OK with client.py from fd2c69cedb25, but not with client.py from 39ee3286d187. C:\Python34\Scriptsset

[issue21464] fnmatch module uses undefined regular expression to perform matching

2014-05-09 Thread Paul Sokolovsky
New submission from Paul Sokolovsky: fnmatch.translate() ends with: return res + '\Z(?ms)' However, https://docs.python.org/3.4/library/re.html#regular-expression-syntax states: Note that the (?x) flag changes how the expression is parsed. It should be used first in the expression string,

[issue21464] fnmatch module uses regular expression with undefined result to perform matching

2014-05-09 Thread Paul Sokolovsky
Changes by Paul Sokolovsky pfal...@users.sourceforge.net: -- title: fnmatch module uses undefined regular expression to perform matching - fnmatch module uses regular expression with undefined result to perform matching ___ Python tracker

[issue20333] argparse subparser usage message hides main parser usage

2014-05-09 Thread paul j3
paul j3 added the comment: When `add_subparsers` creates the `_prog_prefix` it uses a list of positionals. That makes sense, since a subparser argument is positional, so the user needs to know where it fits in the broader scope of positionals. But it intentionally skips the 'optionals'. The

[issue20333] argparse subparser usage message hides main parser usage

2014-05-09 Thread paul j3
Changes by paul j3 ajipa...@gmail.com: Added file: http://bugs.python.org/file35204/sample.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20333 ___ ___

[issue21465] sqlite3 Row can return duplicate keys when using adapters

2014-05-09 Thread Mark Lawrence
New submission from Mark Lawrence: Code adopted from here https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters. import sqlite3 import datetime con = sqlite3.connect(:memory:, detect_types=sqlite3.PARSE_DECLTYPES|sqlite3.PARSE_COLNAMES) con.row_factory = sqlite3.Row

[issue21457] NetBSD curses support improvements

2014-05-09 Thread Thomas Klausner
Thomas Klausner added the comment: Thanks for your reply! I've checked: keypad in NetBSD curses was fixed in 2009. All supported NetBSD release (5.x and 6.x) have the fix. nodelay and keyname were fixed even earlier, in 2003. So this is no problem for older NetBSD releases. --

[issue21458] MirBSD support

2014-05-09 Thread Thomas Klausner
Thomas Klausner added the comment: Just a final comment: MirBSD's official packaging system is pkgsrc, which is also the official packaging system for NetBSD. (This is the reason I'm sending these in bulk, to clean up local pkgsrc changes.) -- ___

[issue21459] DragonFlyBSD support

2014-05-09 Thread Thomas Klausner
Thomas Klausner added the comment: Just a final comment: pkgsrc was DragonFlyBSD's official packaging system, which is also the official packaging system for NetBSD. (This is the reason I'm sending these in bulk, to clean up local pkgsrc changes.) --

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-09 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 05/09/2014 02:02 PM, Cybjit wrote: C:\Python34\Scriptspip -v install simplejson Downloading/unpacking simplejson Could not fetch URL https://pypi.python.org/simple/simplejson/: connection err or: hostname 'openwrt.lan' doesn't match either of

[issue21435] Segfault in gc with cyclic trash

2014-05-09 Thread Peter Inglesby
Peter Inglesby added the comment: It was actually through playing with aiohttp that I first hit this issue. I think I originally hit the problem with something like: import asyncio import aiohttp @asyncio.coroutine def do_work(future): response = yield from aiohttp.request('get',

[issue21389] The repr of BoundMethod objects sometimes incorrectly identifies the bound function

2014-05-09 Thread Steven Barker
Steven Barker added the comment: Ah, I figured out why using %R may be bad. It breaks for the following silly class: class C(): def __repr__(self): return repr(self.__repr__) # or use any other bound method repr(C()) will recurse until the recursion limit is hit, both

[issue19655] Replace the ASDL parser carried with CPython

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b769352e2922 by Eli Bendersky in branch 'default': Issue #19655: Replace the ASDL parser carried with CPython http://hg.python.org/cpython/rev/b769352e2922 -- nosy: +python-dev ___ Python tracker

[issue19655] Replace the ASDL parser carried with CPython

2014-05-09 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19655 ___

[issue21425] Python 3 pipe handling breaks python mode in emacs on Windows

2014-05-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21425 ___ ___

[issue21427] installer not working

2014-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I compile 32 bit debug binaries from repository with the free VC++ express 2010. I presume the 'install' option works. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org

[issue21439] Numerous minor issues in Language Reference

2014-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suggest at least a patch per chapter (3.x.y, 4.x.y, 6.x.y, ...). -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21439 ___

[issue19655] Replace the ASDL parser carried with CPython

2014-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 604e1b1a by Eli Bendersky in branch 'default': Issue #19655: Add tests for the new asdl parser. http://hg.python.org/cpython/rev/604e1b1a -- ___ Python tracker rep...@bugs.python.org