[issue12707] Deprecate addinfourl getters

2011-08-08 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12707 ___ ___

[issue12437] _ctypes.dlopen does not include errno in OSError

2011-08-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, it looks more like a bug in the POSIX standard unfortunately. I'm suggesting to close as won't fix. -- nosy: +pitrou resolution: - wont fix status: open - pending ___ Python tracker

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +easy nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12700 ___ ___

[issue12646] zlib.Decompress.decompress/flush do not raise any exceptions when given truncated input streams

2011-08-08 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12646 ___ ___

[issue12437] _ctypes.dlopen does not include errno in OSError

2011-08-08 Thread Matt Joiner
Matt Joiner anacro...@gmail.com added the comment: I didn't notice there was no use of errno. It's quite possible that dlopen might be used without the C library present, so perhaps this is why it wasn't included. The error strings however are very C-like, which made me think of this in the

[issue12437] _ctypes.dlopen does not include errno in OSError

2011-08-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12437 ___ ___ Python-bugs-list

[issue12708] multiprocessing.Pool is missing a starmap[_async]() method.

2011-08-08 Thread Hynek Schlawack
New submission from Hynek Schlawack h...@ox.cx: After I've seen a co-worker to unpack tuples while using multiprocessing.Pool.map(), I realized that the module is missing a starmap() method like itertools has. I took it as a opportunity to contribute some code and implemented both starmap()

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: test_enable_file, test_enable_single_thread, test_gil_released and test_read_null read an int (4 bytes) from the address 0 (NULL). test_sigsegv pass: this test raises explicitly a SIGSEGV and the signal handler writes the right

[issue12600] Support parameterized TestCases in unittest

2011-08-08 Thread Pere Martir
Changes by Pere Martir pere.mart...@gmail.com: -- nosy: +pere.martir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12600 ___ ___ Python-bugs-list

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Hynek Schlawack
New submission from Hynek Schlawack h...@ox.cx: While working on #12708 , I noticed that the error_callback argument of multiprocessing.Pool.map_async() isn't documented (callback is). -- assignee: docs@python components: Documentation messages: 141763 nosy: docs@python, hynek

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Would you like to provide a doc patch about it? Thanks in advance -- nosy: +sandro.tosi stage: - needs patch versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker

[issue10087] HTML calendar is broken

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I agree with Chris's point that people using html format in console are probably redirecting to a file and encoding parameter should be helpful. What do we settle upon? Leave the encoding argument as such? Antoine - I was specifically

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: I don't think so. We are just making our regex bit lenient. I am not sure how we can raise a warning with more lenient regex. As with any parsing changes, I would like to be careful and that we don't introduce any regression. --

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: R. David Murray wrote: If someone wants to re-engineer the interface, that would be fine with me :) Does that mean, that if vote for removing the 'accepted' keyword it becomes an issue for the meta-tracker? --

[issue12708] multiprocessing.Pool is missing a starmap[_async]() method.

2011-08-08 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: In all my excitement, I somehow presumed that the docstring automagically lands in the docs. Added doc entries to patch (I hope they aren't too crude, I'm not a native speaker). Same as first patch otherwise. -- Added file:

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Yeah, if my 3G hadn't failed on me, it would have been already here. :) As a matter of fact, the argument is discussed in the body of the doc, it just has been omitted in the method definition, so the patch is trivial. -- keywords: +patch

[issue12708] multiprocessing.Pool is missing a starmap[_async]() method.

2011-08-08 Thread Hynek Schlawack
Changes by Hynek Schlawack h...@ox.cx: Removed file: http://bugs.python.org/file22859/mp-starmap.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12708 ___

[issue10087] HTML calendar is broken

2011-08-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: -haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10087 ___ ___

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #12567. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10570 ___ ___

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #10570. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12567 ___ ___

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2011-08-08 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10570 ___ ___

[issue12669] test_curses skipped on buildbots

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Correction: the offending options are -j and *-W* I changed regrtest -W recently to only run the tests once using StringIO as stdout. So it's a regression in Python 3.3. Can't we create a dummy/temporary TTY for the curses tests

[issue9561] distutils: set encoding to utf-8 for input and output files

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ping. What's the progress on this? Will this ever be fixed? Some functions has been fixed in the new packaging module, but not in the distutils yet. -- ___ Python tracker

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think we've moved from discussing a documentation issue to discussing a procedural issue in the development process. I'm not sure what forum that belongs in, though I believe in the past we have used tracker-discuss for that. That

[issue12710] GTK crash

2011-08-08 Thread Toni Boni
New submission from Toni Boni tonibon...@gmail.com: Deluge Gui crash with this error (image in attachment). I've Ubuntu 10.10 updated, Python 2.6.6.2ubuntu2 The bug is reported: http://dev.deluge-torrent.org/ticket/1914 -- assignee: tarek components: Distutils files: 1rx5ec.jpg.png

[issue11357] Add support for PEP 381 Mirror Authenticity

2011-08-08 Thread david
Changes by david db.pub.m...@gmail.com: -- nosy: +db ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11357 ___ ___ Python-bugs-list mailing list

[issue12710] GTK crash

2011-08-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, this is not a but in the python interpreter (f.e., the traceback in the image is referring to twisted) so I'm closing it as invalid. The best way of action is contacting the deluge developers, as you did with the other report.

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-08-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Here's a patch to add SimpleQueue to doc and __all__ . I didn't document the 'sentinels' argument of SimpleQueue.get() because I got lost into Pipe _pool and can't understand how those sentinels are actually used/useful. Any hint is

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-08-08 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file22863/issue11836-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11836

[issue12666] map semantic change not documented in What's New

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The content of the patch is very helpful, but I question its location: I’m not sure people will find this nugget in the 3.2+ version of the What’s New in Python 3.0 document (sorry for not bringing that up sooner). Maybe you could update

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I would like to help out with this, as there seems to be a lot of work that needs to be done. Thanks! In my initial report, I was talking only about module-level names that are documented as code (``sys.path``) instead of module-level data

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: instead of* An addition: in some cases, it may be on purpose that someone used ``somename`` instead of :func:`somename`, for example to avoid a ton of link in the doc of the somename function. For the most part however, I believe it was just

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b2835b8412e5 by Sandro Tosi in branch '2.7': #12709: add error_callback argument to map_async documentation http://hg.python.org/cpython/rev/b2835b8412e5 New changeset 41b816853819 by Sandro Tosi in branch '3.2':

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hynek, thanks for your contribution to Python! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: ``...`` should also be used for common names like True, False, None (no one needs links to their doc to see what they are), or, as Éric said, to avoid creating links for each occurrence of a name (one such example is the name of a module

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: LookupError sounds good. About the latest patch: I wonder if using !a instead of !r in the format strings for exceptions would be more helpful (maybe you’ve seen a recent python-dev subthread about that). I don’t like seeing escapes for

[issue12711] Explain tracker components in devguide

2011-08-08 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: Users reporting bugs don’t always know what components to set. http://docs.python.org/devguide/triaging#components should explain them. -- components: Devguide messages: 141785 nosy: eric.araujo priority: normal severity: normal

[issue12604] VTRACE macro in _sre.c should use do {} while (0)

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: _sre is a module written in C, not Python; we call that an extension module. The Library component is used for Python modules, which are found in the Lib directory in a checkout of CPython. See #12711. -- nosy: +eric.araujo

[issue12604] VTRACE macro in _sre.c should use do {} while (0)

2011-08-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12604 ___ ___

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2011-08-08 Thread Chris Palmer
Changes by Chris Palmer ch...@isecpartners.com: -- nosy: -cpalmer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue670664 ___ ___ Python-bugs-list

[issue12711] Explain tracker components in devguide

2011-08-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This are the current components in random order and a possible description: The following components should be selected if the issue apply to: Build the build process Demos and Tools the scripts in Tools/ and Tools/demo/ 2to3 (2.x to

[issue12657] Cannot override JSON encoding of basic type subclasses

2011-08-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12657 ___ ___

[issue12672] Some problems in documentation extending/newtypes.html

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: it's unclear what [].append is. It’s crystal clear to me: [].append is a method of a list object, just created here by a literal. (Maybe you’re not aware that [].append is valid Python.) The C coding convention is unusual and non PEP-7 in

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: When we’ve talked about that a few times these last months on the ML or on IRC, the outcome was that accepted means patch is accepted, not bug report is valid. I’ve never seen accepted used to mean that a feature request is closed; I use fixed

[issue12032] Tools/Scripts/crlf.py needs updating for python 3+

2011-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This needs porting to 3.2. -- nosy: +eric.araujo resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12032

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: patch accepted can be marked with the commit review stage. That should mean the patch is ready to go in, after a last quick review by the committer that will apply it, even though I've seen it used as I made the commit but I'm leaving this

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-08-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: after a review from Ezio (thanks!) we've come out with this updated patch; main changes are in the test suite, where now it's checked that chown() succeed. about !r/!a I've left !r; and changed the 2 ValueError in LookupError (the first, in

[issue12712] weave build_tools library identification

2011-08-08 Thread Tim Holme
New submission from Tim Holme timho...@gmail.com: This may be a problem with scipy/weave, or it may be a problem with the site-library pythonequations, or it may be in python 2.7.2 itself. When running the program, it looks for an installed version of MinGW, which it finds. It is possibly

[issue12604] VTRACE macro in _sre.c should use do {} while (0)

2011-08-08 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Éric Araujo wrote: _sre is a module written in C, not Python; we call that an extension module. The Library component is used for Python modules, which are found in the Lib directory in a checkout of CPython. See #12711. Ok, I wasn't aware of

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Changing the dev guide, which I think is definitely needed, is an issue for this tracker. Changing the tracker is an issue for the meta-tracker. Discussing a change might be an issue for python-dev. I was under the impression once that the

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-08-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Changing ``x`` to :data:`x` adds 4 chars. Changing ``x()`` to :func:`x` justs adds 2. If I were to review, I would prefer that the additions not trigger cascading line rewraps. -- ___ Python tracker

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread Gareth Rees
Gareth Rees g...@garethrees.org added the comment: After changing NULL to (int *)1, all tests pass. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12700 ___

[issue12669] test_curses skipped on buildbots

2011-08-08 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Can't we create a dummy/temporary TTY for the curses tests using pty.openpty()? I would have thought so, but it seems that savetty() and endwin() both fail when running under '-j0': test test_curses crashed -- Traceback (most recent

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1777df2ce50d by Victor Stinner in branch 'default': Issue #12700: fix test_faulthandler for Mac OS X Lion http://hg.python.org/cpython/rev/1777df2ce50d -- nosy: +python-dev

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: After changing NULL to (int *)1, all tests pass. Ok, so Lion has a special case for reading from NULL. I changed the tests to try to fix your bug. Can you tell me if it's now better? --

[issue12711] Explain tracker components in devguide

2011-08-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Attached a proper patch. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file22865/issue12711.diff ___ Python tracker rep...@bugs.python.org

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread Gareth Rees
Gareth Rees g...@garethrees.org added the comment: All tests now pass. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12700 ___ ___

[issue12700] test_faulthandler fails on Mac OS X Lion

2011-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: All tests now pass. Ok, thanks for your report and your feedback. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2011-08-08 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Have you checked if -fwrapv is in the list of compiler arguments in the generated makefile? There is an open issue about adding that flag when clang is used as the compiler (the flag is already used for gcc). The flag is necessary

[issue444582] Finding programs in PATH, adding shutil.which

2011-08-08 Thread Simon Law
Changes by Simon Law sfl...@sfllaw.ca: -- nosy: +sfllaw ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list mailing list

[issue12701] Apple's clang 2.1 (xcode 4.1, OSX 10.7) optimizer miscompiles intobject.c

2011-08-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12701 ___ ___ Python-bugs-list

[issue12713] argparse: allow abbreviation of sub commands by users

2011-08-08 Thread Peter Williams
New submission from Peter Williams pwil3...@bigpond.net.au: Quite often the names of subcommands are quite long so that their meaning is clear. However, the downside to this is the increased typing the user of the command must make. A compromise between clarity and brevity can be realized if

[issue12682] Meaning of 'accepted' resolution as documented in devguide

2011-08-08 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: RDM, yes, unfortunately the direction of the discussion changed from documentation issue to a process one. Instead of diverting further into catch all discussion about process/tracker, it would be good idea to settle this one. Your points

[issue12672] Some problems in documentation extending/newtypes.html

2011-08-08 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, I know perfectly well that [].append is valid Python, but I don't think this is the clearest way to give an example of an object method. I think spelling [].append's meaning more explicitly would be better. I'm also aware that there are

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2011-08-08 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: Why do you say it hangs? It doesn't hang, it just waits for you to call serve_forever(): it's not a bug, it's actually a feature. Okay, for my case, How I should correctly terminate thread? Conditions: 1. signal may appear at any time 2.

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: +52 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: -52 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: +53 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue2771] Test issue

2011-08-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: -53 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2771 ___ ___ Python-bugs-list

[issue12702] shutil.copytree() should use os.lutimes() to copy the metadata of symlinks

2011-08-08 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- nosy: +rosslagerwall ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12702 ___ ___