Tom Clarke t.cla...@ic.ac.uk added the comment:
NB - (discussion of significance of this bug)
Defaultdict called with no argument is anomalous this problem can be
avoided in such cases by using dict. However this is not possible if
default value can change and the documentation specifically
David Roberts d...@vidr.cc added the comment:
I think I've narrowed it down to the ImageQt class provided by PIL -
commenting out the reference to this (in the constructor of the Tile
class referenced by TileProvider.run) stops the errors.
So how do I go about determining where the problem with
Antoine Pitrou pit...@free.fr added the comment:
I don't know, but you should probably contact the author, Fredrik Lundh,
and/or post on the PIL list. Since it is probably not a bug in Python
itself, I'm closing the issue.
(please reopen if you discover a problem in Python itself)
--
Fredrik Lundh fred...@effbot.org added the comment:
PIL is completely thread-agnostic, so I not sure there's anything PIL can
do to fix this.
(and ImageQt is of course an interface to PyQt, which is an interface to
Qt, which consists of a *lot* more than 50 lines...)
--
New submission from Esteban Feldman esteban.feld...@gmail.com:
When trying to use datetime.strptime %z directive got an unexpected error.
from datetime import datetime
fecha = u'Sun Aug 02 19:01:25 + 2009'
datetime.strptime(fecha, '%a %b %d %H:%M:%S %z %Y')
Traceback (most recent call
Guilherme Polo ggp...@gmail.com added the comment:
Richard, IDLE doesn't support browsing the history of the commands
entered (see issue2704), so I believe this is not related to IDLE and I
believe you meant to talk about the standard python shell.
Since you have compiled python yourself it is
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Thanks for the clear report.
I'll get this fixed-up.
--
assignee: - rhettinger
components: +Extension Modules -Library (Lib)
nosy: +rhettinger
priority: - high
versions: +Python 2.7, Python 3.1, Python 3.2
Ned Deily n...@acm.org added the comment:
I can't reproduce a hang with the python.org 3.1 IDLE on either 10.4 or
10.5 and with the system Tcl/Tk or with a newer Active Tcl/Tk 8.4
installed. Do you have another version of Tcl/Tk installed in
/Library/Frameworks? Can you give a step-by-step
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
With this new patch, is it possible to create a file without extension
on Windows?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4832
Guilherme Polo ggp...@gmail.com added the comment:
Interesting, this is reproducible in any version under any OS but it is
more noticeable under Windows. In the step 6 you mentioned, IDLE is busy
printing warnings that you will never see if you don't run IDLE from a
terminal. Also, when you
Changes by Guilherme Polo ggp...@gmail.com:
--
versions: +Python 2.6, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4765
___
___
Guilherme Polo ggp...@gmail.com added the comment:
With this new patch, is it possible to create a file without extension
on Windows?
It is tricky but, answering your question, you could enter a name
ending with a period to save without an extension.
It seems this isn't going anywhere then.
New submission from Reid Kleckner r...@mit.edu:
I attached a test case to reproduce.
Here is what it does:
- The main thread in the parent process starts a new thread and waits
for it.
- The child thread forks.
- The child process creates a daemon thread, and returns.
- The parent process (in
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Yes, the -n switch was removed from the Windows installer with r72335
(issue5847)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4691
New submission from Reid Kleckner r...@mit.edu:
This bug is similar to the importlock deadlock, and it's really part of
a larger problem that you should release all locks before you fork.
However, we can fix this in the threading module directly by freeing and
resetting the locks on the main
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This error is certainly due to a C function that sets an exception but
does not return an error value.
When running with a debug build of python, you will see XXX undetected
error printed to stderr.
--
New submission from Sridhar Ratnakumar sridh...@activestate.com:
Please the remove extra comma in Modules/cmathmodule.c
64 :eimes enum special_types {
65 :eimes ST_NINF,/* 0, negative infinity
*/
66 :eimes ST_NEG,
Mark Dickinson dicki...@gmail.com added the comment:
Thanks! Fixed in r74303, r74304, r74305, r74306.
--
nosy: +marketdickinson
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Fixed. See r74299, r74300, r74301, and r74302.
Thanks for the bug report.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Sridhar Ratnakumar sridh...@activestate.com:
./Modules/ld_so_aix cc_r -qlanglvl=ansi -bI:Modules/python.exp build/
temp.aix-5.1-2.6/home/apy/rrun/build/activ
epython-DEV/build/py2_6_2-aix-powerpc-apyee26-rrun/python/Modules/
_multiprocessing/multiprocessing.o build/temp
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
assignee: - vsajip
nosy: +vsajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6633
___
Changes by Reid Kleckner r...@mit.edu:
--
versions: +Python 2.6 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6642
___
___
Changes by Ned Deily n...@acm.org:
--
assignee: - ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6463
___
Lenard Lindstrom le...@telus.net added the comment:
Here is the build with Python 2.6.2. It works now.
C:\pygame\bug2698python setup.py build --compiler=mingw32 --verbose
running build
running build_ext
building 'simple' extension
creating build
creating build\temp.win32-2.6
creating
Tarek Ziadé ziade.ta...@gmail.com added the comment:
ok then, I am closing it
thanks for the feedback !
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
Reid Kleckner r...@mit.edu added the comment:
Here's a patch for 3.2 which adds the fix and a test case. I also
verified that the problem exists in 3.1, 2.7, and 2.6 and backported the
patch to those versions, but someone should review this one before I
upload those.
--
keywords:
Vincent Legoll vincent.leg...@gmail.com added the comment:
Yes it does
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6620
___
___
Vincent Legoll vincent.leg...@gmail.com added the comment:
Could someone ensure the attached unittest does the job, I blindly
copied from above...
I don't know how to launch an unittest with the svn 'Lib', it takes the
system one and just messing with PYTHONPATH won't work either.
--
brian omniscient.br...@gmail.com added the comment:
I have Tcl/tk 8.4.7 installed.
To reproduce the hang on my machine:
open IDLE
new window
enter the following code:
for i in range(10)
print(i)
run module (saved as test.py)
interpreter complains (shell is still responsive at this
Mark Dickinson dicki...@gmail.com added the comment:
Thanks. Committed in r74312 (trunk), r74313 (py3k).
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Vincent Legoll vincent.leg...@gmail.com added the comment:
If the macro_lines is not emptied upon end of parsing a macro
definition, if there's another macro definiton it will 'inherit' the
lines from the previous one, which could very well be uncool.
The use before definition should also be
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Here is a patch for backporting set literals to the trunk.
--
keywords: +patch
nosy: +alexandre.vassalotti
stage: - patch review
Added file: http://bugs.python.org/file14650/backport_set_literal.diff
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Guido, I thought you had decided for this to just be a 3.x feature.
Alex, if this goes forward, were you also going to change the repr() for
sets and the corresponding pprint code? Are set comprehensions on the
radar screen
Ned Deily n...@acm.org added the comment:
Thanks, I'm now able to reproduce on both 10.4 and 10.5 with the Apple-
supplied Tcl/Tk 8.4.7 but apparently not with a newer Tcl/Tk nor with
2.6.2. Investigating further.
--
___
Python tracker
David House dmho...@gmail.com added the comment:
From the documentation from time.strptime() (which acts the same as
datetime.strptime()):
Only the directives specified in the documentation [of time.strftime()]
are supported. Because strftime() is implemented per platform it can
sometimes offer
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Committed in r74316.
Thanks!
--
nosy: +alexandre.vassalotti
resolution: - accepted
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Alexandre Vassalotti alexan...@peadrop.com added the comment:
I think we should keep the repr() of sets as is to avoid breaking any
code. And yes, I plan to port set comprehensions along with dict
comprehension.
--
___
Python tracker
Alexandre Vassalotti alexan...@peadrop.com added the comment:
I have refreshed Thomas's patch to reflect recent updates to dictviews.
I also added the documentation for dictviews.
--
nosy: +alexandre.vassalotti
stage: - patch review
Added file:
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Here is a patch for 2to3 to support the translation of code using dictviews.
--
Added file: http://bugs.python.org/file14652/2to3_fixer_dictviews.diff
___
Python tracker
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Looks like an optimization for the common case when directories aren't
created on the fly. Your proposal would slow down all imports (a
typical sys.path actually contains a few nonexisting directories).
Quoting PEP302:
The
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
I agree with you; the docs should be improved, and I see no reason for
sys.exit(msg) NOT to write to stderr inside a child thread.
--
nosy: +gagenellina
___
Python tracker
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6632
___
___
Guido van Rossum gu...@python.org added the comment:
Raymond, I know you see this differently, but personally I don't see a
problem with 2.7 getting additional backports of 3.x features, as long
as they are backwards compatible. While personally I wouldn't spend
effort on this particular
Reid Kleckner r...@mit.edu added the comment:
Here's a patch against 2.6 for one way to fix it. I imagine it has
problems, but I wanted to throw it out there as a straw man.
This patch builds on the patch for http://bugs.python.org/issue6643
since some of the test cases will occasionally
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
With 2.6.2 on Windows, I get filenames surrounded by {}, all in a
single unicode string.
The change may be related to the new Tk library used, not directly the
tkFileDialog module.
(BTW, I don't see *any* unit tests for tkinter :( )
New submission from Sridhar Ratnakumar sridh...@activestate.com:
test test_pickle failed -- errors occurred; run in verbose mode for
details
test_pickletools
test test_pickletools failed -- Traceback (most recent call last):
File /home/apy/rrun/tmp/autotest/apy/lib/python2.6/test/
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
AFAIK, WSAEWOULDBLOCK means that the socket is in nonblocking mode and
the attempted operation could wait indefinitely to complete. But I
don't understand how that could happen since a previous select()
confirmed the socket is
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
These all seem fine to me. Was just checking in because I thought you
had previously pronounced otherwise.
--
___
Python tracker rep...@bugs.python.org
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
After applying your patch, are string (not unicode) docstrings still
being handled properly?
Adding a test case (in Lib/test/test_pydoc.py) would be nice too.
--
nosy: +gagenellina
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
This is a duplicate of #1633941
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5505
___
Changes by Fan Decheng fandech...@gmail.com:
--
nosy: +r_mosaic
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1633941
___
___
Python-bugs-list
Guilherme Polo ggp...@gmail.com added the comment:
With 2.6.2 on Windows, I get filenames surrounded by {}, all in a
single unicode string.
This string surrounded by { } indicates it is supposed to be a tcl
list, which didn't get converted but should be done by tkFileDialog.
The change may
David Roberts d...@vidr.cc added the comment:
Ok, so if it's a bug in (Py)Qt then I'm not going to worry about it.
I've managed to fix the issue in my case anyway, by (essentially) replacing:
image = Image.open(fname)
image.load()
tile = ImageQt(image)
with (the much more obvious
Guilherme Polo ggp...@gmail.com added the comment:
AFAIK, WSAEWOULDBLOCK means that the socket is in nonblocking mode and
the attempted operation could wait indefinitely to complete.
Rather pessimistic way to see it :) I've always read it as operation
cannot be completed without blocking.
Brett Cannon br...@python.org added the comment:
OK, I need a double-check here, David. At this point I have narrowed it
down to this code triggering it::
finder = importlib._bootstrap._PyPycFileFinder('.')
sys.path_importer_cache['.'] = finder
And I am not kidding, that assignment is
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar:
warnings.catch_warnings is a context manager supposed to save and
restore warnings filters, and optionally record all warnings issued.
But it does so in a completely thread-unsafe way, by replacing the
module's showwarning and
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
The patch looks fine to me.
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6635
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
So this patch should fix it. But I cannot fire the bug using the posted
example, and there are no test cases for this module yet, so I could
not test it.
--
keywords: +patch
Added file:
58 matches
Mail list logo