Mark Dickinson dicki...@gmail.com added the comment:
There's a second issue to consider here, which is that Python uses
equality as specified by the == operator as the basic equivalence relation
for set and dict membership tests. So as a general rule, an equality test
between two objects of
New submission from Baptiste Lepilleur b...@users.sourceforge.net:
The import hook demo in the source directory
Python-3.1.1\Demo\imputil\knee.py fails to run correctly:
Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or
Stefan Krah stefan-use...@bytereef.org added the comment:
I hope this won't be getting too complex. :)
Firstly, I agree that this is perhaps not a bug at all. I reported it
because I seemed possible that Python2.x had a deliberate workaround for
this issue which somehow got lost in 3.x.
STINNER Victor victor.stin...@haypocalc.com added the comment:
rlock4.patch looks correct and pass test_threading.py tests.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3001
___
Martin v. Löwis mar...@v.loewis.de added the comment:
For 2.5, this will not be fixed, as it is not security-critical.
--
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5
___
Python tracker rep...@bugs.python.org
Fredrik Lundh fred...@effbot.org added the comment:
Note that fail silently is a bit of a misnomer - if the embedded import
doesn't work, portions of the library will fail pretty loudly. Feel free
to use some variation of the suggested patch, or just wait until the next
upstream release gets
Antoine Pitrou pit...@free.fr added the comment:
The patch looks ok to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6233
___
___
Brett Cannon br...@python.org added the comment:
in r76154 for trunk and r76155 for py3k. Thanks for the help, guys!
--
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Brett Cannon br...@python.org:
With the proper detection for C files using either tabs or spaces now in
there should also be proper highlighting when the wrong leading whitespace
is used, e.g. if the file uses tabs then any lines with ^ + should be
flagged as wrong.
Antoine Pitrou pit...@free.fr added the comment:
As a non-Vim user, I don't really care, but lines beginning with spaces
are valid if you want to indent by something smaller than a tab (this is
common in comments).
--
nosy: +pitrou
___
Python tracker
New submission from Alan Gauld alan.ga...@btinternet.com:
The Tkinter import in redemo.py in Tools/Scripts folder of the 3.1
distribution uses the old spelling of Tkinter. Changing it to lower case
fixes it. I've just noticed there is a 3.2 listed, I haven't checked
whether it's been fixed
Benjamin Peterson benja...@python.org added the comment:
Fixed in r76156.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7289
Ilya Sandler ilya.sand...@gmail.com added the comment:
Is not this patch backward incompatible?
E.g any cmd-based application which expects Ctrl-C to propagate to the
top level will be broken by this patch.
As for pdb, I don't think pdb will benefit from this patch: as I believe
that pdb needs
STINNER Victor victor.stin...@haypocalc.com added the comment:
New version of my patch:
* don't create file in Lib/json/tests/: add new tests in
Lib/json/tests/test_speedups.py as asked by pitrou
* use json.scanner.c_make_scanner and json.encoder.c_make_encoder in
the test, instead of using
Brett Cannon br...@python.org added the comment:
Ah nuts, you're right. I guess it will only work for starting with tabs
when spaces are being used for the indentation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7288
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file15291/json-crash-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6986
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops, you forget json-crash-2.patch, the patch was completly wrong.
Check the json-crash-3.patch.
--
Added file: http://bugs.python.org/file15292/json-crash-3.patch
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
My idea was rejected on python-dev mailing list. But I'm unable to
write a patch to dump a backtrace on segfault. Anyway it would be a
complelty different patch (and so a different issue). So I prefer to
close this (old) issue.
Douglas Shawhan doug.shaw...@gmail.com added the comment:
Fair enough. Thanks.
On Fri, Nov 6, 2009 at 5:45 PM, Bob Ippolito rep...@bugs.python.org wrote:
Bob Ippolito b...@redivi.com added the comment:
The json module departs slightly from the spec in that it will allow you
to consume and
New submission from R. David Murray rdmur...@bitdance.com:
Someone else closed issue 7276, but I was thinking of doing so but
wanted to include a pointer to the relevant documentation. I'm not sure
where that documentation is, but I figured there ought to be a FAQ entry
for it. And there is,
Changes by R. David Murray rdmur...@bitdance.com:
Added file: http://bugs.python.org/file15295/UnboundLocalError-faq.rst
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7290
___
New submission from Tatsuhiro Tsujikawa tsujik...@gp.hitachi.co.jp:
urllib2 cannot handle https with proxy requiring authorization.
After https_proxy is set correctly,
Python 2.6.4 (r264:75706, Oct 29 2009, 15:38:25)
[GCC 4.4.1] on linux2
Type help, copyright, credits or license for more
New submission from Jonathan jonat...@kc8onw.net:
In multiprocessing.JoinableQueue when task_done is called
self._unfinished_tasks.acquire(False) is called non-blocking. My
program reliably crashes with the task_done() called too many times
message. If I change the .acquire() call to True
Tatsuhiro Tsujikawa tsujik...@gp.hitachi.co.jp added the comment:
I created a patch.
I added additional argument 'headers' to HTTPConnection::set_tunnel()
method,
which is a mapping of HTTP headers to sent with CONNECT method. Since
authorization
credential is already set to Request object, in
New submission from David Bolen db3l@gmail.com:
This is a pretty tiny bug..
The test_reg_class test in test_msvc9compiler.py assumes that there is a
Notepad registry key on Windows systems. That appears to be false until
Notepad is run the very first time. I ran into this setting up a
25 matches
Mail list logo