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

2010-08-04 Thread Kuang-che Wu
Kuang-che Wu 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 encoded in mbcs,

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

2010-08-04 Thread Tim Golden
Changes by Tim Golden : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9503] print statement hangs Windows service

2010-08-04 Thread rgpitts
New submission from rgpitts : 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 Python C API function PyObje

[issue8757] Race condition when checking for set in set

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2010-08-04 Thread Florent Xicluna
Florent Xicluna 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 : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[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 : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[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 : -- components: +Extension Modules, XML -Library (Lib) nosy: +effbot, flox type: -> crash ___ Python tracker ___ _

[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 : -- components: +Extension Modules, XML -Library (Lib) nosy: +effbot, flox stage: -> patch review type: -> crash ___ Python tracker ___ _

[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 : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[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 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 report may be a dup

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

2010-08-04 Thread Alan Wilter
New submission from Alan Wilter : 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, frame ): print(

[issue9503] print statement hangs Windows service

2010-08-04 Thread Tim Golden
Changes by Tim Golden : -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue2178] Problems with Belarusian Latin locale

2010-08-04 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven 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ù added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2010-08-04 Thread Steven Bethard
Steven Bethard 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 they'r

[issue2944] asyncore doesn't handle connection refused correctly

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 tracker

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 _

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

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 ___ Python tra

[issue9273] 2to3 to simultaneously do code AND doctests

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +benjamin.peterson title: 2to to simultaneously do code AND doctests -> 2to3 to simultaneously do code AND doctests type: -> feature request ___ Python tracker ___

[issue8684] improvements to sched.py

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: sched.py tests have been checked in. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1294032] Distutils writes keywords comma-separated

2010-08-04 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 2.5, Python 2.6, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list ma

[issue9364] some problems with the documentation of pydoc

2010-08-04 Thread Florent Xicluna
Changes by Florent Xicluna : -- keywords: +easy nosy: +flox stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9503] print statement hangs Windows service

2010-08-04 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-08-04 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 the remote host close

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18371/issue2651.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2651] Strings passed to KeyError do not round trip

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

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Łukasz Langa
Łukasz Langa added the comment: FTR regarding for Antoine's comment above: that code should in fact be removed :) -- ___ Python tracker ___ _

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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. And list gc.g

[issue9503] print statement hangs Windows service

2010-08-04 Thread rgpitts
rgpitts 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 the print statement.

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

2010-08-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 = [] while it should

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6822] Error calling .storlines from ftplib

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 encoded. (the "encod

[issue1573931] WSGI, cgi.FieldStorage incompatibility

2010-08-04 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2010-08-04 Thread Éric Araujo
Changes by Éric Araujo : -- stage: -> needs patch versions: +Python 2.5, Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs

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

2010-08-04 Thread Éric Araujo
Éric Araujo 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 versions: -Pyth

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 ___

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18374/gc_fini.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review Added file: http://bugs.python.org/file18375/gc_fini.patch ___ Python tracker ___ _

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

2010-08-04 Thread David Stanek
David Stanek 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: http://bugs.python.org/file18376/5587.patch _

[issue9506] sqlite3 mogrify - return query string

2010-08-04 Thread Kurt Schwehr
New submission from Kurt Schwehr : 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 teaching people databases.

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

2010-08-04 Thread Christoph Burgmer
Christoph Burgmer 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 : 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 be often that they

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

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

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file18375/gc_fini.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue2651] Strings passed to KeyError do not round trip

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Latest patch looks good. Note that you could use PyUnicode_FromFormat() instead of building the format string manually. -- ___ Python tracker _

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

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

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gvanrossum, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9500] urllib2: Content-Encoding

2010-08-04 Thread guest
guest 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 ok, as Python2 isn't

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

2010-08-04 Thread Ronald Oussoren
New submission from Ronald Oussoren : 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 sys.platform == 'mac' should

[issue9509] argparse FileType raises ugly exception for missing file

2010-08-04 Thread Doug Hellmann
New submission from Doug Hellmann : 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 is something like "arg

[issue9452] configparser support for reading from strings and dictionaries

2010-08-04 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18341/issue9452.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9509] argparse FileType raises ugly exception for missing file

2010-08-04 Thread Doug Hellmann
Changes by Doug Hellmann : Added file: http://bugs.python.org/file18381/argparse_int_error.py ___ Python tracker ___ ___ Python-bugs-list maili

[issue9452] configparser support for reading from strings and dictionaries

2010-08-04 Thread Łukasz Langa
Łukasz Langa 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 ___

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

2010-08-04 Thread Nick Craig-Wood
New submission from Nick Craig-Wood : 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 call last

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

2010-08-04 Thread Nick Craig-Wood
Nick Craig-Wood added the comment: I've attached a patch to fix the issue along with a revised test. -- ___ Python tracker ___ ___ Pyt

[issue6786] readline and zero based indexing

2010-08-04 Thread James
James 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. In addition, maybe

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

2010-08-04 Thread Éric Araujo
Éric Araujo 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 ___ Pytho

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 review

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

2010-08-04 Thread Éric Araujo
Éric Araujo 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 ___ _

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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__ (,) -- __

[issue6720] multiprocessing logging

2010-08-04 Thread Jesse Noller
Jesse Noller 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 resolved. ---

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

2010-08-04 Thread Éric Araujo
Éric Araujo 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 ___ ___

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Mark Dickinson
Mark Dickinson 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. Barry, can this go in

[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 : 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 0x81 in position 0: c

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks Mark, go ahead and apply this, then close this issue. -- resolution: -> accepted ___ Python tracker ___ ___

[issue2333] Backport set and dict comprehensions

2010-08-04 Thread METAL XXX
METAL XXX added the comment: How about fixing set.__repr__ ? -- nosy: +metal ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue2333] Backport set and dict comprehensions

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Mark Dickinson
Mark Dickinson added the comment: Applied in r83718. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5798] test_asynchat fails on Mac OSX

2010-08-04 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: accepted -> fixed stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python

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

2010-08-04 Thread Barry A. Warsaw
Barry A. Warsaw 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 __

[issue9506] sqlite3 mogrify - return query string

2010-08-04 Thread R. David Murray
R. David Murray 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

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

2010-08-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

2010-08-04 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review versions: +Python 3.1, Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Python

[issue9055] test_issue_8959_b fails when run from a service

2010-08-04 Thread Paul Moore
Paul Moore 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, the assertFalse cal

[issue9055] test_issue_8959_b fails when run from a service

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Windows nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-08-04 Thread Nick Craig-Wood
Nick Craig-Wood 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 : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 -> closed _

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

2010-08-04 Thread Éric Araujo
Éric Araujo 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 ___ _

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 a misnomer,

[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 : 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 linux2 Type "help

[issue9513] test_multiprocessing skipped on Windows

2010-08-04 Thread Brian Curtin
New submission from Brian Curtin : 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 and succeed on

[issue9513] test_multiprocessing skipped on Windows

2010-08-04 Thread Jesse Noller
Jesse Noller 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

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-08-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I have now fixed this with r83721, by excluding the file from compileall. -- resolution: -> fixed status: open -> closed ___ Python tracker __

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the simple explanation. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9496] Unittests for Lib/rlcompleter.py

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 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 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: print('**

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

2010-08-04 Thread Éric Araujo
Éric Araujo 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 tracker

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

2010-08-04 Thread Nicholas Riley
Nicholas Riley added the comment: Good to know - thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue9513] test_multiprocessing skipped on Windows

2010-08-04 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r83722 (py3k) and r837274 (release31-maint). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 2.7 ___ Python tracker

[issue8123] TypeError in urllib when trying to use HTTP authentication

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: r83416 broke the 3.1 buildbots. == ERROR: test_userpass_inurl (test.test_urllib.urlopen_HttpTests) -- Traceback (most recent

  1   2   3   >