Winfried Plappert winfried.plapp...@gmx.de added the comment:
I have the problem described in issue6512 and here is some information
Python version - hand compiled on Ubuntu 9.04:
Python 3.1 (r31:73572, Jul 18 2009, 11:13:40)
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for
Antoine Pitrou pit...@free.fr added the comment:
Yes, we conditionally import the locale module in order to guess the
encoding when it is not specified by the caller. We can't import it at
module initialization time because it would cause bootstrapping issues.
The Python equivalent of the logic
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - effbot
nosy: +effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6492
___
___
Antoine Pitrou pit...@free.fr added the comment:
Kristján, zlib is only built when the required development headers (.h
files for the zlib library) are available.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Graham Dumpleton graham.dumple...@gmail.com added the comment:
I know this issue is closed, but for this patch, the code:
+modstate = get_atexitmodule_state(module);
+
+if (modstate-ncallbacks == 0)
+return;
was added.
Is there any condition under which modstate could be NULL.
New submission from Antoine Pitrou pit...@free.fr:
It is not obvious whether encoding of an unicode argument will happen or
not:
« [...] No guessing or encoding is performed on the text data.
Changed in version 2.4: The previously deprecated _encoding argument has
been removed. Encoding
Antoine Pitrou pit...@free.fr added the comment:
Apparently it doesn't:
message = MIMEText(uhéhé, _charset=utf-8)
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib64/python2.6/email/mime/text.py, line 30, in __init__
self.set_payload(_text, _charset)
File
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl - barry
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6521
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6509
___
___
Benjamin Peterson benja...@python.org added the comment:
2009/7/19 Graham Dumpleton rep...@bugs.python.org:
Graham Dumpleton graham.dumple...@gmail.com added the comment:
I know this issue is closed, but for this patch, the code:
+ modstate = get_atexitmodule_state(module);
+
+ if
Changes by Alex Z. mrzmanw...@gmail.com:
--
nosy: +alexz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3244
___
___
Python-bugs-list mailing list
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
submitted revision 74098 and revision 74099 which should fix your issue.
Oh, and revision 74100 and revision 74101 as well (insufficient testing
on my part, tsk. tsk.)
--
___
Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
Thanks, now all the tests pass.
However I had intermittent failures (with a really useful error message)
on test_docxmlrpc:
$ ./python Lib/test/regrtest.py -v test_docxmlrpc
test_docxmlrpc
test_autolink_dotted_methods
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a new patch.
I added a could of @skipUnless in test_sqlite because two tests were
failing.
I couldn't notice this before because I didn't have _sqlite3 and these
tests were skipped. Thanks to R. David Murray for reporting the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6026
___
___
Python-bugs-list
Kevin Walzer wordt...@users.sourceforge.net added the comment:
I disagree that this is a bad idea--it's helpful to be able to double-
click a GUI script and launch it automatically. I realize one can just
fire up Terminal and go python myscript.py, but I missed this
functionality when it was
New submission from Brett Cannon br...@python.org:
If you look at the docs for the unittest.expectedFailure decorator you
will notice it shows a set of empty parentheses since it is set with a
function directive. But since it's a decorator those empty parentheses
are not accurate.
If you
Skip Montanaro s...@pobox.com added the comment:
I suspect that was a conscious decision. Back when it was first written
urllib2 was supposed to eventually replace urllib I think. Dunno if
that's still true, but if so I could see why this feature wasn't added
to urllib.urlopen.
--
Jubaraj Borgohain jubarajborgoh...@gmail.com added the comment:
I have completed the following two new features for the datetime module
(the changes are attached as a patch):
a. Added a method yday()
b. Added date.fromyday(year,yday), which returns a date object.
The other features requested are
Tarek Ziadé ziade.ta...@gmail.com added the comment:
what would be the use case for that ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6516
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Michael, I am not sure how you patch applies, is elif meant to be if ?
e.g. a gcc compiler under hp-us case ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6163
21 matches
Mail list logo