Georg Brandl added the comment:
The space removal was there before my change; assigning to Martin.
--
assignee: - loewis
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1222
__
Jeffrey Yasskin added the comment:
I coulda sworn I looked for is_nan and is_infinite. Oh well, switched to
using .is_finite, which is even better and checked in as r60068. Thanks
for the pointer.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1682
Facundo Batista added the comment:
No news after two years and a half. Considering the arguments of Raymond
after S. Kochen brought the issue back up, I'd close the patch as rejected.
Feel free to bring this issue to python-dev, and if there's real need,
we can always open the patch back.
Jonathan Share added the comment:
Martin,
I can almost agree with you _if_ I was setting the Content-Transfer-
Encoding myself, however I am not. I am setting the charset and the
library chooses an appropriate Content-Transfer-Encoding to represent
the mime part with. Currently I can't see
Jeroen Ruigrok van der Werven added the comment:
Current output on XP with 2.5.1:
D:\test.py
Traceback (most recent call last):
File D:\test.py, line 12, in module
r.close()
IOError: [Errno 0] Error
Traceback (most recent call last):
File D:\test.py, line 20, in module
r.close()
Facundo Batista added the comment:
If those two are obsolete, we may add a DeprecationWarning in 2.6 and
hide/remove them in 2.7.
What do you think?
--
nosy: +facundobatista
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue616247
New submission from ThurnerRupert:
filling out creator gives the following traceback:
Traceback (most recent call last):
File /home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/client.py, line 770, in renderContext
result = pt.render(self, None, None, **args)
Georg Brandl added the comment:
Note that this only happens when the user does not exist.
It's a bug nevertheless.
--
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1870
__
Changes by Georg Brandl:
--
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1870
__
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
(for reference: http://psf.upfronthosting.co.za/roundup/meta/issue179)
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1870
__
___
New submission from ThurnerRupert:
how could one find a memory problem in python. edgewall trac 0.11
seems blocked for such a problem, where nobody had a really helpful
idea for nearly three weeks.
see http://groups.google.com/group/trac-
dev/browse_thread/thread/116e519da54f16b.
--
Facundo Batista added the comment:
os.popen* are deprecated, we should use subprocess now... could you
please try what happens with this alternate example I'm attaching?
Thank you!
--
nosy: +facundobatista
Tracker [EMAIL PROTECTED]
Facundo Batista added the comment:
Boo, I forgot the attach, :p
Added file: http://bugs.python.org/file9213/using_subprocess.py
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602245
Jeroen Ruigrok van der Werven added the comment:
Using Facundo's attachment:
D:\using_subprocess.py
D:\
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602245
___
Christian Heimes added the comment:
You should take the problem to the general Python mailing list. Sorry,
but the bug tracker is the wrong place.
Some hints:
Do you have classes with a __del__ method which may create reference
cycles? The GC can't break cycles when a __del__ method is
Facundo Batista added the comment:
Great! So it's fixed, :)
--
resolution: - out of date
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602245
Christian Heimes added the comment:
Crashes ain't good ;)
I suggest that you chance only a small portion of files at a time, then
make ./python Lib/test/regrtest.py. Start with the Parser, then move
over to AST and the rest of Python/.
You may have to remove all pyc and pyo files if you
Jonathan Share added the comment:
Attaching a patch for the quick fix I proposed below.
I would still like to see some feedback regarding making the design of
the mime module more object oriented. email.Message really shouldn't be
making assumtions about how subclasses represent their state.
Changes by Jonathan Share:
--
nosy: +facundobatista
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1822
__
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
Please provide an unit test which verifies the bug and a fix for the bug.
--
nosy: +tiran
priority: - low
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1823
__
Changes by Christian Heimes:
--
priority: - high
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1621
__
___
Python-bugs-list mailing list
Unsubscribe:
Facundo Batista added the comment:
Fixed in r60073.
Regarding the flag, you're right: maybe these classes should deal it in
other way... but maybe there're reasons to do this.
If you want to push a better structure for this flag, feel free to raise
the issue in python-dev.
Anyway, the real
Facundo Batista added the comment:
Martin:
I'll close this as it's marked as invalid, and nobody answered since two
years ago.
If you think that your first patch is a good solution (Fredrik agreed,
good enough for me).
If you want, reopen the bug and assign it to me, and I'll apply it and
A.M. Kuchling added the comment:
The C program does crash, but newwin() is returning NULL
and the code should really be checking for this case. When I try
the Python script with 2.5-maint and 2.6-trunk, I get the error:
[EMAIL PROTECTED]:~/source/p/25$ ./python.exe ../python/curses-01.py
Christian Heimes added the comment:
The problem was fixed and the OP suggested to close the bug.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1332
__
Christian Heimes added the comment:
Follow up:
Can somebody please document the possible issue with threads and imports
in large, friendly letters?
--
components: +Documentation -None
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1720705
Christian Heimes added the comment:
For 2.6 I've fixed several places where C code was importing a Python
module in a non-threadsafe way. In general a thread start must never be
caused by an import and only the main thread should import modules.
Imports within or caused-by a thread other than
Facundo Batista added the comment:
The last patch (exception_pickling_26.diff) applies cleanly, and all the
tests run ok.
System:
Python 2.6a0 (trunk:60073M, Jan 19 2008, 11:41:33)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
--
nosy: +facundobatista
Christian Heimes added the comment:
I've added a test in r60075.
It shows that threading.local cleans up thread local data except for the
last stopped thread.
--
nosy: +tiran
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1868
A.M. Kuchling added the comment:
I guess this bug report is out of date: mailbox.py doesn't seem to contain
a _Subfile class, the ProxyFile.readline() function is one line, and
there's no self.pos variable either. Probably 2.5's rewrite of the module
removed this code.
--
resolution:
Zooko O'Whielacronx added the comment:
This bug was fixed in cygwin 1.5.25-7, released 2007-12-17.
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1759997
_
___
Christian Heimes added the comment:
Making the mutex module thread safe is a low hanging fruit for the bug
day. *wink*
--
keywords: +easy
nosy: +tiran
versions: +Python 2.6 -Python 2.5
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1746071
Changes by Christian Heimes:
--
assignee: - theller
nosy: +theller
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1779233
_
___
Python-bugs-list mailing list
Christian Heimes added the comment:
*ping* Can this issue be closed?
--
nosy: +tiran
resolution: - fixed
status: open - pending
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1035
__
Changes by Christian Heimes:
--
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1432694
_
___
Python-bugs-list mailing list
Unsubscribe:
Facundo Batista added the comment:
A lot of water passed around this bridge, but I don't know if this is fixed:
In the trunk right, now:
v = 7.0 + .1 + .1 + .1 + .1 + .1 + .1 + .1 + .1 + .1 + .1
v
7.9964
p = struct.pack( f, v )
p
'A\x00\x00\x00'
struct.unpack(f, p)
(8.0,)
A.M. Kuchling added the comment:
I searched for references to 'zip file concatenate|append' and
found no reference to extra data being ignored, so I'll agree with Alan
and close this patch. Thanks for your contribution, anyway!
--
resolution: - rejected
status: open - closed
Lorenzo Stoakes added the comment:
Surely it's not a good idea to attempt to generate an exception within
an exception handler, couldn't this lead to an infinite loop scenario?
The checks prior to fputs() handle any errors by calling err_closed()
and returning -1. I suggest we do the same for
Quentin Gallet-Gilles added the comment:
As i revisited this one for the Bug Day, I found I could optimize the
patch a little bit. Here's the updated diff.
Also... I think it's a good candidate for 2.5 maintenance release. Any
thoughts ?
Added file:
Christian Heimes added the comment:
Right, the Python bug tracker is not the place to report Stackless bugs.
But my tests have revealed a bug in Python 3.0. As today multiple
reinitialization still fails.
I suspect a reference bug but I can't proof it.
--
assignee: gvanrossum -
Christian Heimes added the comment:
Another bug day task.
--
keywords: +easy
nosy: +tiran
type: - rfe
versions: +Python 2.6 -Python 2.4
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1175933
_
Christian Heimes added the comment:
Don't spawn new threads at module level. An import must never trigger
the creation of a new thread. It's a design issue on your side.
But you can blame us for not documenting the issues with imports and
threads. ;)
--
components: +Documentation
nosy:
Christian Heimes added the comment:
I turned it into a feature request for 2.6 with low priority. Somebody
should either fix/implement the UTF-16 support or update the docs.
--
components: +Documentation
nosy: +tiran
priority: normal - low
type: - rfe
versions: +Python 2.6 -Python 2.4
Christian Heimes added the comment:
Can somebody else review the patch? therve from the Twisted team has
reviewed it but I like to get an opinion of another core developer.
Guido seems to be too busy.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1657
John Lenton added the comment:
This was fixed in r57389 by georg.brandl by changing the replacement
string '' to ' ' (turning the option into a non-option).
Steps to reproduce this on Ubuntu Feisty, before that revision, were:
$ mkdir banana
$ sudo mv /usr/include/sqlite3.h banana/
$ make clean
Christian Heimes added the comment:
An easy C task for the bug day.
--
components: +Interpreter Core
keywords: +easy
type: - crash
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue886488
Christian Heimes added the comment:
Yet another easy C task for the bug day.
--
keywords: +easy
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1792
__
___
Facundo Batista added the comment:
Only left the version 3.0, as the OP said it's not so important as to
break possible previous working code.
--
nosy: +facundobatista
versions: -Python 2.4, Python 2.5, Python 2.6
__
Tracker [EMAIL PROTECTED]
Jaroslav Pachola added the comment:
The patch works fine for me.
--
nosy: +jarpa
severity: - normal
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1693149
_
___
Amaury Forgeot d'Arc added the comment:
On the opposite, simply evaluating
local.__dict__
just before deadlist = ..., frees the last value.
Weird? I found that in threadmodule.c, the local object has a
self-dict attribute, which contains the last used dictionary. The
dictionaries switch
Facundo Batista added the comment:
Yes, not it works ok!
Thanks John for the testing example, and Carson for the report.
--
nosy: +facundobatista
resolution: - out of date
status: open - closed
_
Tracker [EMAIL PROTECTED]
Facundo Batista added the comment:
Bloody fingers. I meant that *now it works ok.
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1675533
_
___
Python-bugs-list mailing
Quentin Gallet-Gilles added the comment:
Attached patch contain the added behavior, some unit tests to validate
it and updated documentation.
--
nosy: +quentin.gallet-gilles
Added file: http://bugs.python.org/file9217/cfgparser_doublequotes.patch
__
New submission from Thomas Heller:
Currently the struct module uses the format code 't' for the bool
datatype (this was added in python 2.6, in revision 53508). This
conflicts with the specification in PEP 3118, which proposes the '?'
format character for the bool type, 't' is proposed in the
Changes by Thomas Heller:
--
components: +Documentation
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1872
__
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
You're right that this should probably be fixed in the subclass, but you
also have to remember that the parser generally doesn't create subclass
instances. It only creates instances of Message. As long as you can
make it work properly with the parser and
New submission from Roy Smith:
At http://docs.python.org/lib/thread-objects.html, under join(), it says:
As join() always returns None, you must call isAlive() to decide whether a
timeout
happened.
This would be better if it were more explicit, i.e.
As join() always returns None, you must
A.M. Kuchling added the comment:
Committed to Python 2.6 in rev. 60080. Thanks for your contribution!
Whenever you find time, it would be nice if you could sign and submit a
Python contributor agreement; please see
http://www.python.org/psf/contrib/ for the forms.
--
resolution: -
Changes by Christian Heimes:
--
assignee: - georg.brandl
keywords: +easy
nosy: +georg.brandl
priority: - low
versions: +Python 2.6 -Python 2.5
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1873
__
Jean-Paul Calderone added the comment:
The attached patch doesn't fix the issue I described:
* err_closed() will raise an exception indicated the file is closed.
However, the file is not necessarily closed, so this exception is wrong.
* Most or all PyFile_WriteString callers are still not
Changes by Christian Heimes:
--
components: +Build
priority: - normal
versions: +Python 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1204
__
___
Python-bugs-list
Jonathan Share added the comment:
I'm beginning to realise this is slightly bigger than I first thought
;-)
Trying to make a nice test case for this issue, I thought it would be a
good idea for the parser to register a defect for invalid content-
transfer-encoding so I can test against that
John Lenton added the comment:
Attached patch adds two things: an 'end' argument to find, and an
'rfind' method. This includes minimal tests for rfind, but as I actually
refactored find and rfind into a single method, tests covering find also
cover most of rfind :). I added 'end' first because
Juan José Conti added the comment:
This is my first patch.
Bug fix on revision 60076.
--
nosy: +jjconti
Added file: http://bugs.python.org/file9220/bug_fix_for_1779.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1779
Malte Helmert added the comment:
I can find three places where 0x is accepted, but probably shouldn't:
1. Python's tokenizer:
0x
0
0xL
ValueError: invalid literal for long() with base 16: '0xL'
= I think these should both be syntax errors.
2. int builtin:
int(0x, 0) == int(0x, 16) == 0
True
Malte Helmert added the comment:
Here's a patch that fixes case 1:
0x
File stdin, line 1
0x
^
SyntaxError: invalid token
0xL
File stdin, line 1
0xL
^
SyntaxError: invalid token
Added file: http://bugs.python.org/file9221/PATCH-1.diff
__
Malte Helmert added the comment:
And here's a patch that fixes case 3.
Added file: http://bugs.python.org/file9222/PATCH-3.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1679
__
John Lenton added the comment:
New patch, with small change after being reviewed by amk. Still against
revision 60082.
Added file: http://bugs.python.org/file9223/mmap.rfind.patch
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue976880
Lorenzo Stoakes added the comment:
Ok, thankyou for your feedback, I will take another look at it.
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1598083
_
___
Malte Helmert added the comment:
And here's a patch for case 2 (int) conversion. There is still a slight
inconsistency in error reporting (base 0 vs. base 16) between int and
long, but I'd see this as long's fault:
int(0x, 0)
Traceback (most recent call last):
File stdin, line 1, in module
Georg Brandl added the comment:
Committed r60083.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1873
__
___
Amaury Forgeot d'Arc added the comment:
Here is a patch that removes the member localobject-dict.
Now the dictionary is always retrieved from the thread state.
Added file: http://bugs.python.org/file9225/threading_local.patch
__
Tracker [EMAIL PROTECTED]
Malte Helmert added the comment:
This is a cleaner version of PATCH-2a.diff in the sense that the
resulting code contains less duplication. The disadvantage is that it
applies more structural changes to PyOS_strtoul, so may be harder to
merge with other changes.
Added file:
Changes by A.M. Kuchling:
--
assignee: - akuchling
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue976880
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
Committed in r60084.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1782
__
A.M. Kuchling added the comment:
Committed to the 2.6 trunk in rev. 60086. Thanks for your contribution!
Please sign and send in a contributor form whenever you have time; the
forms are at http://www.python.org/psf/contrib/ .
Tracker [EMAIL PROTECTED]
Changes by A.M. Kuchling:
--
keywords: +patch
resolution: - accepted
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue976880
___
Jonathan Share added the comment:
Run out of time to look at this today. In order to write a nice test
case for this issue I need the parser to notice this error in messages.
I've filed issue1874 for the parser not reporting the invalid cte in
the msg.defects
Changes by Gregory P. Smith:
--
status: pending - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1035
__
___
Python-bugs-list mailing list
Unsubscribe:
Juan José Conti added the comment:
The same patch as before plus tests.
Added file: http://bugs.python.org/file9228/bug_fix_for_1779-plustests.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1779
__
Facundo Batista added the comment:
Applied in r60087, with some change added in the help of the trace.py.
Thank you!
--
nosy: +facundobatista
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1693149
Malte Helmert added the comment:
Added tests to test_grammar, test_builtin and test_tokenize.
Added file: http://bugs.python.org/file9229/PATCH-TESTS.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1679
__
Ryan Freckleton added the comment:
I've included a unified diff that explicitly states the behavior of ,
, and for escape/unescape in the documentation. It's based on
msandler's patch.
--
nosy: +ryan.freckleton
Added file: http://bugs.python.org/file9230/sax_utils_rst.patch
Changes by Ryan Freckleton:
--
components: +Documentation
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1411695
_
___
Python-bugs-list
New submission from Armin Rigo:
Can you guess why importing the attached x.py does nothing, without
printing hello at all?
The real issue shown in that example is that 'return' and 'yield'
outside a function are ignored instead of giving a SyntaxError if they
are optimized away by 'if 0:'.
Changes by Maciek Fijalkowski:
--
nosy: +cfbolz, fijal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1875
__
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jonathan Share:
Although the documentation of FeedParser states that It will populate
a message object's defects attribute with a list of any problems it
found in a message. no defect is found in the test case I am about to
upload. The message in the test case is broken
Changes by Jonathan Share:
Added file: http://bugs.python.org/file9227/issue1874.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1874
__
___
Python-bugs-list mailing list
Facundo Batista added the comment:
Fixed in r60090.
Thanks Juanjo for your contribution!
Please sign and send in a contributor form whenever you have time; the
forms are at http://www.python.org/psf/contrib/ .
--
resolution: - fixed
status: open - closed
Jaroslav Pachola added the comment:
Attaching a patch that adds fetchXXX() description to the documentation
for Python 2.6.
--
nosy: +jarpa
versions: +Python 2.6
Added file: http://bugs.python.org/file9232/sqlite3_docs_26.diff
__
Tracker [EMAIL
Georg Brandl added the comment:
Committed patches 1, 2a and 3, and test suite updates, in r60092. This
won't be backported to 2.5, and no doc changes are necessary. Thanks for
your work!
--
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
Kurt B. Kaiser added the comment:
IDLE creates the .idlerc folder if needed. It seems it should
be marked as not hidden. Does anyone know how to do that?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1862
__
Jaroslav Pachola added the comment:
Attaching a patch that fixes the docstrings for Python 2.6.
Added file: http://bugs.python.org/file9233/sqlite3_docstrings_26.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1509
Georg Brandl added the comment:
Thanks for the patches, committed in r60093!
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1146
__
Guido van Rossum added the comment:
Still haven't had the time (sorry!), but one comment: please don't
specify timeouts in millisecond. We use seconds (floats if necessary)
everywhere else in Python, regardless of the underlying data structure
or resolution.
__
Changes by Georg Brandl:
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1679
__
___
Python-bugs-list mailing list
Georg Brandl added the comment:
There seems to be a related log at #1565468.
--
nosy: +georg.brandl
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1298962
_
___
A.M. Kuchling added the comment:
I think the required patch is much simpler; only get_message() needs to
be updated. I've committed this change to trunk as rev60095, and to
release25-maint as rev. 60096.
--
resolution: - fixed
status: open - closed
__
Georg Brandl added the comment:
Reviewed and committed patch as r60097. Thanks for your work!
--
assignee: gvanrossum - georg.brandl
nosy: +georg.brandl
resolution: - accepted
status: open - closed
_
Tracker [EMAIL PROTECTED]
Changes by Georg Brandl:
--
status: pending - open
type: - rfe
versions: +Python 2.6, Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1124
__
___
1 - 100 of 145 matches
Mail list logo