Georg Brandl [EMAIL PROTECTED] added the comment:
Thanks, applied in r67227.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4316
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Fixed in r67232.
Don't think this should be backported to the 2.x series as it may break
working code relying on the old behavior.
--
resolution: - fixed
status: open - closed
versions: +Python 3.0 -Python 2.5
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Improved solution attached.
Added file: http://bugs.python.org/file12019/set.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1721812
___
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Georg, do you want to take a look at this patch. I've neglected it
because I don't see why the argument signature matters (__neg__ and
__pow__ take a different number of arguments than the other magic
numeric methods that work just fine).
Raymond Hettinger [EMAIL PROTECTED] added the comment:
This looks fine to me. Go ahead and uncomment the memcpy() line (I
presume you commented it out in order to demonstrate the basic
transformation without the dead code elimination). Be sure to add a
testcase.
Antoine, the issue with
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Antoine, the issue with JUMP_IF variants is that they interfere with
other existing byte code optimizations, resulting in a net loss.
Which other byte code optimizations does it interfere with?
___
Python
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Am taking this one back. May have a simpler approach.
--
assignee: - rhettinger
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2260
___
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Adding a simpler approach. It's a bit limited because some common cases
have the POP_TOP JUMP_FORWARD 1 pair split across two basic blocks.
Those cases should not be optimized away on a first pass.
Added file:
Phillip J. Eby [EMAIL PROTECTED] added the comment:
Then obviously it makes no sense to update wsgiref before the
spec. ISTM the correct way to deal with this is update the cgi
module to include a WSGI-compatible API.
___
Python tracker [EMAIL PROTECTED]
Raymond Hettinger [EMAIL PROTECTED] added the comment:
You may get better timings if you more the types-are-equal test inside
the types-i-know test. Instead of:
+ if (Py_TYPE(v) == Py_TYPE(w)) {
+ if (PyLong_CheckExact(v)) {
+ if
Ian Bicking [EMAIL PROTECTED] added the comment:
cgi started using this argument due to the potential of a DoS attack
without the length limit. So undoing this in cgi (even as an option)
would be a regression.
___
Python tracker [EMAIL PROTECTED]
scott sadler [EMAIL PROTECTED] added the comment:
A short update, I believe that the reason that it was working in one
instance was because of some abstractions by a base class (Django model,
get_absolute_url).
___
Python tracker [EMAIL PROTECTED]
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Hello,
You may get better timings if you more the types-are-equal test inside
the types-i-know test.
I get no discernable difference.
In general, I'm not too keen on adding this kind of dispatch code to
ceval.c. It saves the time spent
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Georg, would you please give this a second review. It passes the whole
test suite for me and triggers often.
--
assignee: rhettinger - georg.brandl
nosy: +georg.brandl
___
Python tracker [EMAIL
Calvin Spealman [EMAIL PROTECTED] added the comment:
I don't think this is any kind of bug, it is simply a product of only
function objects being decorated automatically as methods. Your python
version works because it is, in fact, a function. _functools.partial
objects are not functions, but
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Reclassifying as a feature request.
A descriptor could be added to partial()
so that it too would have automatic
method binding just like pure python functions.
--
nosy: +rhettinger
type: behavior - feature request
versions: +Python
New submission from Christian Becke [EMAIL PROTECTED]:
asyncore.file_dispatcher stores the file descriptor passed to
asyncore.file_dispatcher.__init__ into the map, not the dup()'ed one
created by asyncore.file_wrapper. Because of this, a select.error (9,
'Bad file descriptor') is raised in
New submission from Guilherme Polo [EMAIL PROTECTED]:
Hi,
I have changed the lib-tk/Dialog.py so it handles the cases where one
might receive a tuple as a result containing a Tcl_Obj. I've also
modified all the rest of it to make it cleaner.
It is b/w compatible although I dislike the usage of
New submission from Noah Gift [EMAIL PROTECTED]:
Just an FYI, the Mac Build script in:
Python-2.6 2/Mac/BuildScript/build-installer.py
contains broken download URLs for SQLite, and cause the build to fail.
I fixed this myself, but noticed this appears to be fixed in the trunk,
already.
Benjamin Peterson [EMAIL PROTECTED] added the comment:
This has been backported and will be fixed in 2.6.1.
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker [EMAIL PROTECTED]
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - josiahcarlson
nosy: +josiahcarlson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4332
___
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4332
___
___
Python-bugs-list
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
This describes second bug.
When multiple target was bound to same keyword, only first target could
be browsed.
In index_on_firefox.png, we can see operator, [1], [2]. This [?] means
multiple targets are linked to same keyword and we can
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file12025/resolved.png
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4252
___
Rafe Sacks [EMAIL PROTECTED] added the comment:
This seems related to http://bugs.python.org/issue1218234 as well.
This is my first bug report. I hope I do this right.
I posted this to comp.lang.python and was directed here. Here is a
chopped paste of that post:
I am getting an error on line
25 matches
Mail list logo