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
___
Ł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
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
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
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8757
___
___
Python-bugs-list
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7186
___
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4493
___
___
Python-bugs-list
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7110
___
___
Python-bugs-list
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
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9403
___
___
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
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,
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
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
Michele Orrù maker...@gmail.com added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100562
___
___
Python-bugs-list mailing
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
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
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
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9396
___
___
Python-bugs-list
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
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
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
___
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
___
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
___
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
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
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8834
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9396
___
___
Python-bugs-list mailing
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
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
___
Ł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
Ł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
___
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.
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
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 = []
Changes by Antoine Pitrou pit...@free.fr:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9505
___
___
Python-bugs-list mailing
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
Changes by David Stanek dsta...@dstanek.com:
--
nosy: +dstanek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1573931
___
___
Python-bugs-list
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
___
É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
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
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
___
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
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:
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
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.
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
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
___
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
___
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
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
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gvanrossum, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue477863
___
___
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
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
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
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
___
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
___
Ł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
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
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
___
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.
É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
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
É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
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
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
É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
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.
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
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
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
___
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
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
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
___
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
___
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
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9507
___
___
Python-bugs-list
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
___
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,
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
___
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
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9507
___
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 -
É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
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
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
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
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
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
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
___
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
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
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:
É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
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
___
___
101 - 200 of 365 matches
Mail list logo