[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file18356/issue2651.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2651 ___

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Corrected patch attached. You're right, I left in ReST doc changes for configparser. Sorry for that. -- Added file: http://bugs.python.org/file18371/issue2651.diff ___ Python tracker

[issue1759845] subprocess.call fails with unicode strings in command line

2010-08-04 Thread Kuang-che Wu
Kuang-che Wu k...@csie.org added the comment: I fail to see why subprocess.call(cmd.encode('whatever')) is not a general solution. Because 'whatever' encoding doesn't exist. Assume cmd contains Japanese characters and my system is Chinese windows. subprocess.call expect the argument is

[issue6040] bdist_msi does not deal with pre-release version

2010-08-04 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6040 ___ ___ Python-bugs-list

[issue9503] print statement hangs Windows service

2010-08-04 Thread rgpitts
New submission from rgpitts richard.pi...@cdl.co.uk: OS: Windows 2003 Server R2 x64 Standard Edition Python: 2.6.5 MSVC: 9.0 Application Description: Windows service calling Python C API to run algorithm written in Python. I've been encountering a random application hang when calling the

[issue8757] Race condition when checking for set in set

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8757 ___ ___ Python-bugs-list

[issue7186] Document specialness of __doc__, and possibly other special attributes

2010-08-04 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: This is similar with #9438, about __debug__ being read-only. -- nosy: +flox stage: - needs patch versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue7186] Document specialness of __doc__, and possibly other special attributes

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7186 ___ ___

[issue4493] urllib2 doesn't always supply / where URI path component is empty

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4493 ___ ___ Python-bugs-list

[issue4453] MSI installer shows error message if Compile .py files to bytecode option is selected

2010-08-04 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4453 ___ ___ Python-bugs-list

[issue7110] Output test failures on stderr in regrtest.py

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7110 ___ ___ Python-bugs-list

[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Extension Modules, XML -Library (Lib) nosy: +effbot, flox type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9403

[issue9402] pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Extension Modules, XML -Library (Lib) nosy: +effbot, flox stage: - patch review type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9402

[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9403 ___ ___

[issue4453] MSI installer shows error message if Compile .py files to bytecode option is selected

2010-08-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This bug comes and goes. It means that compileall failed, and it will fail when there are files that it can't compile. People keep adding such files to the tree, and I keep excluding them from compileall then at some release. The original

[issue9504] signal.signal/signal.alarm not working as expected

2010-08-04 Thread Alan Wilter
New submission from Alan Wilter alanwil...@gmail.com: I have this example code to illustrate a problem I am having with python3. It works fine with python 2.6 and 2.7 but does not with python 3.1. from __future__ import print_function import os, subprocess, signal def signal_handler( signum,

[issue9503] print statement hangs Windows service

2010-08-04 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9503 ___ ___ Python-bugs-list

[issue2178] Problems with Belarusian Latin locale

2010-08-04 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: Not sure, never got around to dig into it. But we did have some locale fixes, including better picking up default encodings and whatnot. -- ___ Python tracker

[issue1100562] deepcopying listlike and dictlike objects

2010-08-04 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100562 ___ ___ Python-bugs-list mailing

[issue9348] Calling argparse's add_argument with the wrong number of metavars causes delayed error message

2010-08-04 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: You can specify either 1 or N. So for n=3, you can specify metavar=X or metavar=(X, Y, Z) but not metavar=(X, Y). The special nargs value ? always takes only one, while * and + always take two. (This makes sense if you think about how

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Fixed in r83703 (2.7), r83704 (2.6), r83705 (3.2) and r83706 (3.1). Thanks for the patch. -- resolution: - fixed status: open - closed versions: +Python 2.6, Python 3.1, Python 3.2 ___ Python

[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks reasonable. Are there any tests that could be easily added to the test suite? -- nosy: +pitrou versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9403

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9396 ___ ___ Python-bugs-list

[issue8687] sched.py module doesn't have a test suite

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Committed as r83707 without including the mock time tests for now. I'll see whether I can manage to write them at a later time. -- resolution: - fixed status: open - closed versions: -Python 2.7

[issue9273] 2to3 to simultaneously do code AND doctests

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +benjamin.peterson title: 2to to simultaneously do code AND doctests - 2to3 to simultaneously do code AND doctests type: - feature request ___ Python tracker rep...@bugs.python.org

[issue8684] improvements to sched.py

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: sched.py tests have been checked in. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8684 ___

[issue1294032] Distutils writes keywords comma-separated

2010-08-04 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 2.5, Python 2.6, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294032 ___

[issue9364] some problems with the documentation of pydoc

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- keywords: +easy nosy: +flox stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9364 ___

[issue9503] print statement hangs Windows service

2010-08-04 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9503 ___ ___ Python-bugs-list mailing

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: In KeyError_str, I think the following code shouldn't be deleted: -if (PyTuple_GET_SIZE(self-args) == 1) { -return PyObject_Repr(PyTuple_GET_ITEM(self-args, 0)); -- ___ Python tracker

[issue8834] Define order of Misc/ACKS entries

2010-08-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8834 ___ ___

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9396 ___ ___ Python-bugs-list mailing

[issue4690] asyncore calls handle_write() on closed sockets when use_poll=True

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: This problem must have been solved at some point because this is what I get now on Linux by using python 2.7: writable() - asyncore asked if we have data to write handle_read() - asyncore asked us to read handle_close() - asyncore said

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file18371/issue2651.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2651 ___

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Patch updated to include a roundtrip test in test_exceptions. -- Added file: http://bugs.python.org/file18372/issue2651.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2651

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: FTR regarding for Antoine's comment above: that code should in fact be removed :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2651 ___

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Displaying the full list may be unwieldy if it's very large. Instead, we could by default display the following kind of message: Python warning: 5 uncollectable objects remaining at interpreter shutdown. Use gc.DEBUG_UNCOLLECTABLE to list them.

[issue9503] print statement hangs Windows service

2010-08-04 Thread rgpitts
rgpitts richard.pi...@cdl.co.uk added the comment: I've created a test service that demostrates the problem. The example service calls PyRun_SimpleString in loop that evaluates the Python statement print 'String'. The number of iteration in the loop depends on the length of the string used in

[issue9505] User code should not be able to rebind gc.garbage

2010-08-04 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: User code is currently allowed to rebind the gc.garbage attribute, while the real garbage list in the GC module actually remains the same. This is counter-intuitive and allows to write apparently correct code such as: gc.garbage = []

[issue9505] User code should not be able to rebind gc.garbage

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9505 ___ ___ Python-bugs-list mailing

[issue6822] Error calling .storlines from ftplib

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: To me this isn't a bug, and the patch introduces incorrect behaviour. If you want to store data on an FTP server, you have to provide binary data, not text data. The FTP class is not supposed to guess in which charset your data should be

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2010-08-04 Thread David Stanek
Changes by David Stanek dsta...@dstanek.com: -- nosy: +dstanek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1573931 ___ ___ Python-bugs-list

[issue6860] Inconsistent naming of custom command in setup.py help output

2010-08-04 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- stage: - needs patch versions: +Python 2.5, Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6860 ___

[issue1635217] Add example of distutils setup() with requires argument

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This report is made obsolete by PEP 345. Be certain that distutils2 docs and tests will contain examples of Requires-Dist and Provides-Dist. -- nosy: +merwok resolution: - out of date stage: - committed/rejected status: open - closed

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. Perhaps I should add tests too. -- keywords: +patch Added file: http://bugs.python.org/file18374/gc_fini.patch ___ Python tracker rep...@bugs.python.org

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file18374/gc_fini.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863 ___

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: needs patch - patch review Added file: http://bugs.python.org/file18375/gc_fini.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863

[issue5587] vars() no longer has a useful __repr__

2010-08-04 Thread David Stanek
David Stanek dsta...@dstanek.com added the comment: A possible fix is to add a __repr__ implementation to proxydict. I've attached a patch and also posted it to: http://codereview.appspot.com/1908043. -- keywords: +patch nosy: +dstanek Added file:

[issue9506] sqlite3 mogrify - return query string

2010-08-04 Thread Kurt Schwehr
New submission from Kurt Schwehr schw...@ccom.unh.edu: Psycopg2 has a mogrify method on the cursor that returns the string that would be sent to the database for an execute. Any chance that could be added to pysqlite? It's definitely helpful for debugging and is a fantastic tool when

[issue6412] Titlecase as defined in Unicode Case Mappings not followed

2010-08-04 Thread Christoph Burgmer
Christoph Burgmer cburg...@ira.uka.de added the comment: @Terry How is the behavior changed? To me it seems the same to as initially reported. The results are consistent but nonetheless wrong. It's not about whether your agree with the result, but rather about following the Unicode standard.

[issue9507] namedtuple should not hardcode the class name in __repr__

2010-08-04 Thread Paul Giannaros
New submission from Paul Giannaros p...@giannaros.org: collections.namedtuple hardcodes the class name which is reported in the new type's __repr__. This is irritating when subclassing a namedtuple: A = collections.namedtuple('A', '') class B(A): pass print B() # shows 'A()' It might not

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: New patch with tests. -- Added file: http://bugs.python.org/file18378/gc_fini.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863 ___

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file18375/gc_fini.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863 ___

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Latest patch looks good. Note that you could use PyUnicode_FromFormat() instead of building the format string manually. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2651

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: More thorough tests. -- Added file: http://bugs.python.org/file18379/gc_fini2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863 ___

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gvanrossum, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863 ___ ___

[issue9500] urllib2: Content-Encoding

2010-08-04 Thread guest
guest a4596...@bofthew.com added the comment: Nah sorry, I've just been bothered to report it. As I don't run py3 can't write a patch anyway. And it wouldn't help for my current python 2.x setups also. I guess it's sufficient if this is googleable, and per-application workarounds are very much

[issue9508] python3.2 reversal of distutils reintrocud macos9 support

2010-08-04 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: Distutils in the py3k trunk was reverted to the version in the 31-maint branch a couple of weeks back. This reintroduced some macos9 support code that was removed in the trunk but not the maint branches. All code reverting to

[issue9509] argparse FileType raises ugly exception for missing file

2010-08-04 Thread Doug Hellmann
New submission from Doug Hellmann doug.hellm...@gmail.com: Most of the argparse type converters handle exceptions with a single line error message explaining the problem. For example, if an argument -i is declared as an int, but the value given ('a') cannot be converted to an int, the message

[issue9452] configparser support for reading from strings and dictionaries

2010-08-04 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file18341/issue9452.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9452 ___

[issue9509] argparse FileType raises ugly exception for missing file

2010-08-04 Thread Doug Hellmann
Changes by Doug Hellmann doug.hellm...@gmail.com: Added file: http://bugs.python.org/file18381/argparse_int_error.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509 ___

[issue9452] configparser support for reading from strings and dictionaries

2010-08-04 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Patch updated after review by Ezio Melotti and Éric Araujo. Thanks guys. -- Added file: http://bugs.python.org/file18382/issue9452.diff ___ Python tracker rep...@bugs.python.org

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Nick Craig-Wood
New submission from Nick Craig-Wood n...@craig-wood.com: sqlite3.Warning isnt a subclass of exceptions.Warning This causes this problem when trying to filter warnings import sqlite3 as DB from warnings import filterwarnings filterwarnings(always, category=DB.Warning) Traceback (most recent

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Nick Craig-Wood
Nick Craig-Wood n...@craig-wood.com added the comment: I've attached a patch to fix the issue along with a revised test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9510 ___

[issue6786] readline and zero based indexing

2010-08-04 Thread James
James purplei...@gmail.com added the comment: It's an incompatible change; it would definitely break my code, however I think it should be wishlisted for an API-break release like 3.5 or 4.0 or something like that. IMHO, the bindings should be pythonic, even if the underlying library isn't.

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I agree this is a bug, and the patch looks good. This breaks compatibility though, so I’m not sure it can make it before 3.2 or 3.3. -- nosy: +merwok stage: - commit review versions: +Python 3.2 -Python 2.7

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't really think it breaks compatibility. The patch is bad, though. The exceptions module doesn't exist anymore in 3.x, the Warning class should be referenced directly instead. -- nosy: +ghaering, pitrou stage: commit review - patch

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I mean that sqlite3.Warning used to be a subclass of StandardError, and there may be code relying on that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9510

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ah, I see. Well I don't think we can change inheritance in bugfix branches anyway. In 3.x, though, StandardError has disappeared and sqlite3.Warning inherits directly from Exception: import sqlite3 sqlite3.Warning.__bases__ (class

[issue6720] multiprocessing logging

2010-08-04 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: The backport of multiprocessing is currently stale; and there are a few bugs in the tracker assigned to christian or myself in regards to it. If it's not too much trouble, I'd leave this one alone until the exact future of the backport can be

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Warning is a subclass of Exception, so perfect. Please add 2.7 and 3.1 if you agree this bugfix should go there too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9510

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Josiah's fix in r73182 applies cleanly to the release26-maint branch, and fixes (for me, at least) the current OS X failures in test_asynchat and test_smtplib. I've attached a patch with the backport of this fix, and a Misc/NEWS entry.

[issue9511] CharacterEncoderError when reading from sys.stdin from piped input in cmd.exe

2010-08-04 Thread Peter Boström
New submission from Peter Boström peterbost...@gmail.com: When reading from piped stdin, python has trouble decoding some special characters. To reproduce, run the following command from cmd.exe: echo ü | C:\Python31\python.exe pycat.py UnicodeDecodeError: 'charmap' codec can't decode byte

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Thanks Mark, go ahead and apply this, then close this issue. -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5798

[issue2333] Backport set and dict comprehensions

2010-08-04 Thread METAL XXX
METAL XXX metal...@gmail.com added the comment: How about fixing set.__repr__ ? -- nosy: +metal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2333 ___

[issue3665] Support \u and \U escapes in regexes

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3665 ___ ___ Python-bugs-list

[issue2333] Backport set and dict comprehensions

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2333 ___ ___ Python-bugs-list

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Applied in r83718. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5798 ___

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: accepted - fixed stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5798 ___

[issue5713] smtplib gets out of sync if server returns a 421 status

2010-08-04 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: The latest relevant RFC is 5321: http://www.faqs.org/rfcs/rfc5321.html smtplib should be reviewed for compliance with this updated spec. -- ___ Python tracker rep...@bugs.python.org

[issue9506] sqlite3 mogrify - return query string

2010-08-04 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Can you propose a patch? -- nosy: +r.david.murray stage: - unit test needed versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue9507] namedtuple should not hardcode the class name in __repr__

2010-08-04 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9507 ___ ___ Python-bugs-list

[issue9507] namedtuple should not hardcode the class name in __repr__

2010-08-04 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- stage: - patch review versions: +Python 3.1, Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9507 ___

[issue9055] test_issue_8959_b fails when run from a service

2010-08-04 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: I'm not sure what needs to be done to move this forward, but as it's a problem with the test rather than with any actual code, could something be done to avoid masking real issues? I agree with Thomas that in the absence of any other solution,

[issue9055] test_issue_8959_b fails when run from a service

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: +Windows nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9055 ___

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Nick Craig-Wood
Nick Craig-Wood n...@craig-wood.com added the comment: I re-worked the patch for python 3.x (py3k branch) - the other was for 2.x (trunk) Basically the same patch and fixes the issue according to my testing -- Added file: http://bugs.python.org/file18386/sqlite3-warning-fix-py3k.patch

[issue9507] namedtuple should not hardcode the class name in __repr__

2010-08-04 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9507 ___

[issue9505] User code should not be able to rebind gc.garbage

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm, I was under the impression that C extensions could set properties (or special members) on modules, but they can't. This makes this issue too hard to solve compared to the expected benefit. -- resolution: - rejected status: open -

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nitpick: s/built in/built-in/ (don’t update your patch for that, the person who will commit can do it) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9510

[issue9510] sqlite3.Warning isnt a subclass of exceptions.Warning

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: On the other hand, the sqlite3 source code uses PyErr_Set*() rather than PyErr_Warn*(), so there's any point in trying to filter the warnings out (it won't work). Looking at the kind of problems that it is meant to reflect, Warning is actually

[issue9512] logging.handlers.RotatingFileHandler - mode argument not respected

2010-08-04 Thread Friðrik Már Jónsson
New submission from Friðrik Már Jónsson frid...@pyth.net: It seems to me that the ``mode`` keyword argument of ``logging.handlers.RotatingFileHandler`` is not respected. Here is an example of opening a nonexistent file:: Python 2.7 (r27:82500, Aug 4 2010, 15:10:49) [GCC 4.3.2] on

[issue9513] test_multiprocessing skipped on Windows

2010-08-04 Thread Brian Curtin
New submission from Brian Curtin cur...@acm.org: I just realized test_multiprocessing is being skipped on Windows because a few relative imports of _multiprocessing are failing in win32 specific code blocks. Attached is a trivial patch to remove the relative import, enabling the tests to run

[issue9513] test_multiprocessing skipped on Windows

2010-08-04 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: The relative imports have been more of a pain then they've helped. I'm fine with nuking them so long as the test suite passes. -- ___ Python tracker rep...@bugs.python.org

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-08-04 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I have now fixed this with r83721, by excluding the file from compileall. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8241

[issue1759845] subprocess.call fails with unicode strings in command line

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Thanks for the simple explanation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1759845 ___

[issue9496] Unittests for Lib/rlcompleter.py

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thank you! I've committed your patch in py3k (r83719) and backported it to 3.1 (r83723) and 2.7 (r83725) since it's always nice to have better tests. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue2178] Problems with Belarusian Latin locale

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Then I will close this as possibly fixed until the OP reports this as not fixed on a current Python version (2.7, 3.1). -- resolution: - out of date status: open - closed ___ Python tracker

[issue4453] MSI installer shows error message if Compile .py files to bytecode option is selected

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I marked this for the version Aaron verified. It seems to me that the following switch is backwards: if quiet: print('*** Error compiling', fullname, '...') else:

[issue818201] distutils: clean does not use build_base option from build

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is actually already fixed. Thanks for the report nonetheless! -- components: +Distutils resolution: accepted - fixed stage: unit test needed - committed/rejected status: open - closed ___ Python

[issue818201] distutils: clean does not use build_base option from build

2010-08-04 Thread Nicholas Riley
Nicholas Riley com-python-b...@sabi.net added the comment: Good to know - thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue818201 ___ ___

<    1   2   3   4   >