[issue1541463] Optimizations for cgi.FieldStorage methods

2007-09-20 Thread Georg Brandl
Georg Brandl added the comment: Okay, you've convinced me. Committed rev. 58218. -- resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ _

[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

[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]>

[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 a

[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? _ Trac

[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 orde

[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]> _