[issue971965] urllib2 raises exception with non-200 success codes.

2007-09-19 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: - duplicate status: open - closed superseder: - urllib* 20x responses not OK? Tracker [EMAIL PROTECTED] http://bugs.python.org/issue971965

[issue1135] xview/yview of Tix.Grid is broken

2007-09-19 Thread Georg Brandl
Georg Brandl added the comment: IMO the patch is not complete, the xview method should rather be implemented like these in Tkinter.py. Assigning to Martin. -- assignee: - loewis nosy: +georg.brandl, loewis __ Tracker [EMAIL PROTECTED]

[issue1169] Option -OO doesn't remove docstrings from functions

2007-09-19 Thread Georg Brandl
Georg Brandl added the comment: Fixed in rev. 58204, 58205 (2.5). -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1169 __

[issue1177] urllib* 20x responses not OK?

2007-09-19 Thread Sean Reifschneider
Sean Reifschneider added the comment: Ported code change to urllib, passes tests, committed as revision 58206 -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1177

[issue1177] urllib* 20x responses not OK?

2007-09-19 Thread Georg Brandl
Georg Brandl added the comment: This might need at least a NEWS entry, if not a documentation clarification. -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1177 __

[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-19 Thread Sean Reifschneider
Sean Reifschneider added the comment: Georg: This has been assigned to you, do you have any thoughts on this? If you don't, please assign back to me. -- keywords: +py3k nosy: +jafo _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1541463

[issue1177] urllib* 20x responses not OK?

2007-09-19 Thread Sean Reifschneider
Sean Reifschneider added the comment: Facundo, can you do a NEWS update on this? -- assignee: - facundobatista keywords: +patch status: closed - open __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1177 __

[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-19 Thread Georg Brandl
Georg Brandl added the comment: Thanks for notifying me. The tracker currently doesn't send notifications if you only set the assignee, but don't include a message. I hope this will be fixed soon. The __nonzero__() is unproblematic. The keys() produced in this way will have an unpredictable

[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-19 Thread Sean Reifschneider
Sean Reifschneider added the comment: Thanks for correcting my mis-click on the patch item, gbot. As far as the order goes, is this something that needs to be discussed on c.l.p, or should we assign it to someone else who might have an opinion on it? _

[issue1135] xview/yview of Tix.Grid is broken

2007-09-19 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: OK, how about this patch? I extracted [xy]view{,_moveto,_scroll} as mixin class [XY]View, and included them. It seems working. __ Tracker [EMAIL

[issue1177] urllib* 20x responses not OK?

2007-09-19 Thread Facundo Batista
Facundo Batista added the comment: Done, rev 58207. -- resolution: accepted - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1177 __ ___

[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-19 Thread Bob Kline
Bob Kline added the comment: Please note that the documentation of the keys() method of the FieldStorage class (both in the method's docstring as well as in the separate library manual) describes the method as a dictionary style keys() method. Section 3.8 of the documentation has this to say

[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-19 Thread Georg Brandl
Georg Brandl added the comment: While this is true, there may be code relying on the current behavior, and to break that for a tiny performance gain is gratuitous breakage and should be avoided. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1541463

[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-19 Thread Bob Kline
Bob Kline added the comment: I'm not sure I would characterize a speedup of several orders of magnitude a tiny performance gain. We had scripts with very large numbers of fields which were actually timing out. While I understand and agree with the principle of breaking as little existing code

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Guido van Rossum
Guido van Rossum added the comment: Cartman, please refrain from using vulgarities in your sample code. It's hard to take a bug report seriously with such variable names. -- nosy: +gvanrossum __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179

[issue1175] .readline() has bug WRT nonblocking files

2007-09-19 Thread Guido van Rossum
Guido van Rossum added the comment: readline() goes through C stdio which makes it impossible to get non-blocking I/O right. You should be using raw os.read() calls (until python 3000 which will remove Python's reliance on C stdio). -- nosy: +gvanrossum resolution: - wont fix status:

[issue1772851] Decimal and long hash, compatibly and efficiently

2007-09-19 Thread Facundo Batista
Facundo Batista added the comment: Applied the patchs long_hash.patch (rev 58208) and decimal_hash_v2.patch (rev 58211) -- resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1772851

[issue1180] Option to ignore ~/.pydistutils.cfg

2007-09-19 Thread Michael Hoffman
Changes by Michael Hoffman: -- components: Distutils severity: normal status: open title: Option to ignore ~/.pydistutils.cfg type: rfe versions: Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1180 __

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2007-09-19 Thread Michael Hoffman
Changes by Michael Hoffman: -- title: Option to ignore ~/.pydistutils.cfg - Option to ignore or substitute ~/.pydistutils.cfg __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1180 __

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2007-09-19 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1180 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Sean Reifschneider
Sean Reifschneider added the comment: Guido: That code came from the full-disclosure list posting, I think cartman was just passing it on. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 __

[issue1643369] function breakpoints in pdb

2007-09-19 Thread Michael Hoffman
Michael Hoffman added the comment: Agree with isandler. This is not a bug. -- nosy: +hoffman _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1643369 _ ___

[issue1180] Option to ignore ~/.pydistutils.cfg

2007-09-19 Thread Michael Hoffman
New submission from Michael Hoffman: It would be useful if setup.py instances had an option to ignore ~/.pydistutils.cfg or substitute it with another file. For example, this would be highly useful to people who maintain a system site-packages directory along with one in their own home

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread James Antill
James Antill added the comment: So I think this is all the places integer overflow checking is needed in imageop.c and rbgimgmodule.c. There might be checks here which can't be exploited anyway, and I haven't checked any other files yet. Feel free to comment. Ps. This is against the 2.5 in

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread James Antill
Changes by James Antill: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1181] Redefine clear() for os.environ to use unsetenv() if possible

2007-09-19 Thread Martin Horcicka
New submission from Martin Horcicka: This patch makes os.environ.clear() to have the same effect as: for name in os.environ.keys(): del os.environ[name] I believe that most people expect the effects to be the same anyway. The practical benefit is a simpler redefinition of the whole

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Ismail Donmez
Ismail Donmez added the comment: Guido, The poc is taken as is, sorry. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1181] Redefine clear() for os.environ to use unsetenv() if possible

2007-09-19 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- keywords: +patch priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1181 __ ___ Python-bugs-list mailing list

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Ismail Donmez
Ismail Donmez added the comment: nevyn: Your patch cleanly applies to python 2.4.4 and fixes the interpreter crash with poc.py Thanks. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1179 __

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread Guido van Rossum
Guido van Rossum added the comment: Hm. First of all, it seems the imageop module has completely missed the Py_ssize_t changes. Second, I don't think that if ( x != len / y ) is a valid replacement for if ( x*y != len ) -- consider x==5, y==2, len==11. -- priority: high -

[issue1179] [CVE-2007-4965] Integer overflow in imageop module

2007-09-19 Thread James Antill
James Antill added the comment: Guido: It's true that that len can be slightly bigger than x*y, the big thing is that it can't be smaller so we can malloc(len) and use upto x*y (which was my main focus). I first looked at any of this code today, but I didn't see any reason that having len be

[issue1053365] nntplib: add support for NNTP over SSL

2007-09-19 Thread Reinhard Speyerer
Changes by Reinhard Speyerer : _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1053365 _ ___

[issue1023290] proposed struct module format code addition

2007-09-19 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +patch _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1023290 _ ___ Python-bugs-list mailing list Unsubscribe: