Changes by Georg Brandl [EMAIL PROTECTED]:
--
assignee: - georg.brandl
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2788
__
___
Python-bugs-list
Jean Brouwers [EMAIL PROTECTED] added the comment:
The one example given may not be convincing, other ones may be.
What is it in the submitted version which is not designed carefully or
which may not produce the same results?
__
Tracker [EMAIL PROTECTED]
Raymond Hettinger [EMAIL PROTECTED] added the comment:
The approach of using separate accumulations is intrinsically flawed if
you want the same result as a regular sum(). Here's a small dataset
that shows why you can't accumulate separate sums by type:
d = [1000, -
New submission from Ralf Schmitt [EMAIL PROTECTED]:
sys.flags is missing bytes_warning:
Python 2.6a2+ (trunk, May 8 2008, 12:09:50)
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type help, copyright, credits or license for more information.
sys.flags
sys.flags(debug=0, py3k_warning=0,
Ralf Schmitt [EMAIL PROTECTED] added the comment:
brett, I added you to the nosy list, as you seem to have committed this
in r62303 (http://hgpy.de/py/trunk/rev/ac1ae32a476c)
--
nosy: +brett.cannon
__
Tracker [EMAIL PROTECTED]
Ronald Oussoren [EMAIL PROTECTED] added the comment:
I've tested the patch on 10.4.10 as wel as 10.5.2 and it returns the right
version on both platforms.
Commited as revision 62854 (trunk) and 62855 (python2.5 branch)
--
assignee: jackjansen - ronaldoussoren
resolution: - fixed
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
I've updated the release script to at least touch RELNOTES, but I'm
unsure as to what the policy is for updating the content of this file.
I'm closing this issue but will bring it up on the mailing list.
__
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2547
__
___
Python-bugs-list
New submission from Joel Rosdahl [EMAIL PROTECTED]:
The optimization in SVN rev 38556 seems to have changed
Popen.communicate's behavior when stdout is subprocess.PIPE (and maybe
for other cases as well).
See the attached file. In Python 2.4.5, all three counts are the same.
In Python 2.5.2,
Changes by Jeremy Hylton [EMAIL PROTECTED]:
--
nosy: +jhylton
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1346238
_
___
Python-bugs-list mailing list
Alexander Belopolsky [EMAIL PROTECTED] added the comment:
Lorenz's patch uses a set, not a list for special characters. Set
lookup is as fast as dict lookup, but a set takes less memory because it
does not have to store dummy values. More importantly, use of frozenset
instead of dict makes
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Some code relies on -1 being usable as the default value for read()
(instead of None), this new patch conforms to this expectation. It fixes
some failures in test_mailbox.
Added file: http://bugs.python.org/file10222/binaryio2.patch
Russ Cox [EMAIL PROTECTED] added the comment:
Lorenz's patch uses a set, not a list for special characters. Set
lookup is as fast as dict lookup, but a set takes less memory because it
does not have to store dummy values. More importantly, use of frozenset
instead of dict makes the code
Alexander Belopolsky [EMAIL PROTECTED] added the comment:
On Thu, May 8, 2008 at 10:36 AM, Russ Cox [EMAIL PROTECTED] wrote:
..
The title of this issue (#2650) is re.escape should not escape underscore,
not re.escape is too slow and too easy to read.
Neither does the title say re.escape
Russ Cox [EMAIL PROTECTED] added the comment:
You don't need to get so defensive. I did not raise a performance
problem, I was simply responding to Rafael's AFAIK the lookup on
dictionaries is faster than on lists comment. I did not say that you
*should* rewrite your patch the way I
Russ Cox [EMAIL PROTECTED] added the comment:
On Thu, May 8, 2008 at 12:12 PM, Alexander Belopolsky
[EMAIL PROTECTED] wrote:
Alexander Belopolsky [EMAIL PROTECTED] added the comment:
On Thu, May 8, 2008 at 11:45 AM, Russ Cox [EMAIL PROTECTED] wrote:
..
My argument is only that Python
A.M. Kuchling [EMAIL PROTECTED] added the comment:
I haven't assessed the patch, but wouldn't mind to see it applied to
an alpha release or to 3.0; +0 from me. Given that the next 2.6 release
is planned to be a beta, though, the release manager would have to rule.
Note that I don't think this
Changes by Christian Heimes [EMAIL PROTECTED]:
--
assignee: - christian.heimes
nosy: +christian.heimes
priority: - high
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2790
__
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
On 2008-05-06 19:10, Guido van Rossum wrote:
Guido van Rossum [EMAIL PROTECTED] added the comment:
On Tue, May 6, 2008 at 1:26 AM, Marc-Andre Lemburg wrote:
So you've limited the codec design to just doing Unicode-bytes
conversions
Guido van Rossum [EMAIL PROTECTED] added the comment:
I'd be happy to have a separate more relaxed API for stackable codecs,
however, the API should not be overloaded on the .encode() and .decode()
methods on str and bytes objects.
__
Tracker [EMAIL PROTECTED]
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Added documentation in r62873. Leaving the code as-is.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2778
__
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
assignee: rhettinger - marketdickinson
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2748
__
___
Python-bugs-list
Adam Olsen [EMAIL PROTECTED] added the comment:
Nevermind that the current implementation *is* broken, even if you
consider fixing it to be a low priority. Closing the report with a doc
tweak isn't right.
__
Tracker [EMAIL PROTECTED]
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Sorry, you don't like the search with autopromotion feature. It has
been around since sets were first coded in C. It is a natural
extension/consequence of the idea that frozenset('abc')==set('abc').
__
Adam Olsen [EMAIL PROTECTED] added the comment:
So why doesn't set() in {} work? Why was PEP 351 rejected when it would
do this properly?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2778
__
Brett Cannon [EMAIL PROTECTED] added the comment:
Ralf, can you do a ``make clean`` and then try again? I had this happen to
me with an old checkout until I did that and then everything worked fine.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2790
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Wouldn't it be nice to also store the offending key as a key attribute?
Writing key_error.key is a lot intuitive than key_error.args[0] (or is
it key_error.args[1] ? I've already forgotten :-)).
--
nosy: +pitrou
Alexander Belopolsky [EMAIL PROTECTED] added the comment:
This is similar to issue2516.
--
nosy: +belopolsky
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2786
__
___
New submission from Jean Brouwers [EMAIL PROTECTED]:
Here is one more, final attempt to improve fast summation, somewhat.
This version inspects the type of both the sum and the first item and
adds all ints and floats without any PyNumber_Add() call and in order.
Also, the results for this
Ralf Schmitt [EMAIL PROTECTED] added the comment:
sure, I even removed the whole source tree:
~/pydev/trunk/ ./python
[EMAIL PROTECTED] ok
Python 2.6a3+ (trunk, May 8 2008, 21:52:39)
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type help, copyright, credits
New submission from James Nadir [EMAIL PROTECTED]:
Python fails to correctly add 'lists' into a 'dictionary' in nested
loop. The attached py file has two examples; the first is the failing
example, the seond is the passing example.
This might be a known issue. If so, please accept my
New submission from Ali Afshar [EMAIL PROTECTED]:
.. figure:: directive is not handled when writing to latex, and this
directive seems the only way to have a captioned image in rst.
I have added a patch that simply handles the figure, and captions.
Note that figures have an additional
Brett Cannon [EMAIL PROTECTED] added the comment:
Fixed in r62896.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2790
__
Tim Pietzcker [EMAIL PROTECTED] added the comment:
I should perhaps add that this happened on a German Windows XP Pro SP2
installation.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2780
__
Ralf Schmitt [EMAIL PROTECTED] added the comment:
why not use sizeof? you'll probably run into this again..
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2790
__
___
Christian Heimes [EMAIL PROTECTED] added the comment:
I'm increasing the severity of the bug. It's a still a major show
stopper for non-English Windows users. For example see #2780
--
priority: normal - release blocker
__
Tracker [EMAIL PROTECTED]
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
No, there is no problem with Python here.
In your failing example, you insert the same object (new_record)
into the dictionary. Right, you modify its content, but it is still the
same list object; All values in the dictionary are the
Ralf Schmitt [EMAIL PROTECTED] added the comment:
btw, I guess that sentinel entry in that array could also be removed?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2790
__
Christian Heimes [EMAIL PROTECTED] added the comment:
Das Problem ist bekannt. Trotzdem danke!
--
nosy: +christian.heimes
resolution: - duplicate
status: open - closed
superseder: - Crash on Windows if Python runs from a directory with umlauts
__
Brett Cannon [EMAIL PROTECTED] added the comment:
I didn't use sizeof because I didn't think of it; the solution to just
change the numbers was right in front of me and I am swamped with other
work so I went with what I knew would work.
As for removing the array, perhaps, but I don't have
Christian Heimes [EMAIL PROTECTED] added the comment:
The tests are passing again.
--
resolution: - out of date
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2448
__
Ralf Schmitt [EMAIL PROTECTED] added the comment:
ok brett, I see in IRC you're doing lot's of commits currently. sorry
for bothering you. I'll maybe try myself, it's a minor issue anyway...
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2790
Christian Heimes [EMAIL PROTECTED] added the comment:
The PEP370 has been accepted and the patch has been applied.
--
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1799
Jean Brouwers [EMAIL PROTECTED] added the comment:
Attached is a slightly better version, making the float loop cleaner. Use
this one and disregard the earlier one, bltinmodule3.c.diff.
/Jean Brouwers
Added file: http://bugs.python.org/file10226/bltinmodule4.c.diff
New submission from Benjamin Peterson [EMAIL PROTECTED]:
The reST directive warning gives a orange box with Caveat in bold
letters. I think this makes assumptions about the contents of the box
(Warning is broader than caveat). Could it be changed to just Warning?
--
assignee:
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
assignee: - rhettinger
nosy: +rhettinger
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2792
__
___
Python-bugs-list
Raymond Hettinger [EMAIL PROTECTED] added the comment:
+1
--
nosy: +rhettinger
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2795
__
___
Python-bugs-list mailing list
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
priority: - high
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2784
__
___
Python-bugs-list mailing list
48 matches
Mail list logo