Adam Olsen [EMAIL PROTECTED] added the comment:
* cause/context cycles should be avoided. Naive traceback printing
could become confused, and I can't think of any accidental way to
provoke it (besides the problem mentioned here.)
* I suspect PyErr_Display handled string exceptions in 2.x, and
Mark Dickinson [EMAIL PROTECTED] added the comment:
I'll take a look.
--
assignee: - marketdickinson
nosy: +marketdickinson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3167
___
Changes by Mark Dickinson [EMAIL PROTECTED]:
--
assignee: - marketdickinson
nosy: +marketdickinson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3168
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
Could you tell me what
import math
math.log(float('-inf'))
gives instead of the expected ValueError?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3167
Facundo Batista [EMAIL PROTECTED] added the comment:
Went for the malloc only patch. Just fixed a small detail (weird corner
case if malloc returned NULL first time, res will be unassigned).
The test could be better (no necessity of using a recursive function, it
could be done with a while),
A.M. Kuchling [EMAIL PROTECTED] added the comment:
This bug was fixed in 2.5 and 2.6, in rev. 60118 and 60119. Thanks for
your bug report!
--
assignee: - akuchling
nosy: +akuchling
resolution: - fixed
status: open - closed
___
Python tracker
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 07:04 +, Adam Olsen a écrit :
Adam Olsen [EMAIL PROTECTED] added the comment:
* cause/context cycles should be avoided. Naive traceback printing
could become confused, and I can't think of any accidental way
Facundo Batista [EMAIL PROTECTED] added the comment:
What is this fixing? Could you please provide a test cases that fails
without this patch?
Thank you!!
--
nosy: +facundobatista
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3165
Chris Withers [EMAIL PROTECTED] added the comment:
Andi, I'm in total agreement with you :-)
(so if this bug could get fixed, both issues could get closed)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1974
Adam Olsen [EMAIL PROTECTED] added the comment:
On Sun, Jun 22, 2008 at 8:07 AM, Antoine Pitrou [EMAIL PROTECTED] wrote:
You mean they should be detected when the exception is set? I was afraid
that it may make exception raising slower. Reporting is not performance
sensitive in comparison to
Georg Brandl [EMAIL PROTECTED] added the comment:
Fixed in r64461. Thanks!
--
resolution: - fixed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3085
___
Georg Brandl [EMAIL PROTECTED] added the comment:
I fixed the docstring in r64463 (2.5 branch, already fixed in trunk) and
expanded the connect() docstring in r64464.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
Manuel Kaufmann [EMAIL PROTECTED] added the comment:
This bug was reported on Python 2.5 version and was applied on 2.6
branch. That's correct?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3085
___
Georg Brandl [EMAIL PROTECTED] added the comment:
Thanks, should be fixed with Sphinx r64465.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3146
___
Georg Brandl [EMAIL PROTECTED] added the comment:
I don't maintain the 2.5 docs anymore, at least for such minor bugs.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3085
___
Adam Olsen [EMAIL PROTECTED] added the comment:
On Sun, Jun 22, 2008 at 1:04 PM, Antoine Pitrou [EMAIL PROTECTED] wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 17:17 +, Adam Olsen a écrit :
I meant only that trivial cycles should be detected.
Facundo Batista [EMAIL PROTECTED] added the comment:
In Linux, it seems to be the behaviour of the underlying C function 'fread'.
Do you think it's ok to add the following line in the read() documentation?
As this function depends of the underlying C function :cfunc:`fread`,
inheritates its
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 19:23 +, Adam Olsen a écrit :
For this behaviour, this is the most natural way to write it.
Conceptually, there shouldn't be a cycle
I agree your example is not far-fetched. How about avoiding cycles for
Adam Olsen [EMAIL PROTECTED] added the comment:
On Sun, Jun 22, 2008 at 1:48 PM, Antoine Pitrou [EMAIL PROTECTED] wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 19:23 +, Adam Olsen a écrit :
For this behaviour, this is the most natural way to write
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 19:57 +, Adam Olsen a écrit :
That's still O(n). I'm not so easily convinced it's cheap enough.
O(n) when n will almost never be greater than 5 (and very often equal to
1 or 2), and when the unit is the cost of
Adam Olsen [EMAIL PROTECTED] added the comment:
On Sun, Jun 22, 2008 at 2:20 PM, Antoine Pitrou [EMAIL PROTECTED] wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 19:57 +, Adam Olsen a écrit :
That's still O(n). I'm not so easily convinced it's
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le dimanche 22 juin 2008 à 20:40 +, Adam Olsen a écrit :
How do you duplicate an instance of an user-defined exception? Using
an
equivalent of copy.deepcopy()? It will probably end up much more
expensive than the above-mentioned O(n)
Facundo Batista [EMAIL PROTECTED] added the comment:
Hasan, are you still interested in this or wants to drop this request?
Passing almost two years without comments it's no good if you'll be the
package maintainer.
Thanks!
--
nosy: +facundobatista
Facundo Batista [EMAIL PROTECTED] added the comment:
Skip, don't you think it's better to raise this kind of generic question
in the python-dev list?
This should probably lay down here for ever before a discussion raises
to decide this.
--
nosy: +facundobatista
Facundo Batista [EMAIL PROTECTED] added the comment:
Walter, the import mechanisms changed by a big rework from Brett Cannon
in the last months.
Do you think still have a use case that should be fulfilled? Do you want
to update your patch?
Thank you!
--
nosy: +facundobatista
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3051
___
___
Python-bugs-list
Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3069
___
___
Python-bugs-list
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Still waiting for the patch.
--
assignee: rhettinger -
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1746088
___
Facundo Batista [EMAIL PROTECTED] added the comment:
Could you please tell me if this problem arises with this test?
--
keywords: +patch
nosy: +facundobatista
Added file: http://bugs.python.org/file10701/test_cpickle.diff
___
Python tracker [EMAIL
Daniel Darabos [EMAIL PROTECTED] added the comment:
I have just quickly pasted it into an interpreter.
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
class Node(object):
... pass
...
nodes =
Facundo Batista [EMAIL PROTECTED] added the comment:
Daniel, it'd be great, because it does not crash in linux, so I can not
test it... and I have a patch to apply (see issue 3165), so I wanted to
test it that way.
___
Python tracker [EMAIL PROTECTED]
Facundo Batista [EMAIL PROTECTED] added the comment:
Justin, Jack, how this evolved to the newer Python versions? Do you
think it's worth it to keep it open?
Thank you!
--
nosy: +facundobatista
___
Python tracker [EMAIL PROTECTED]
Daniel Darabos [EMAIL PROTECTED] added the comment:
It works for me as a test case too:
test_deep_recursive (__main__.cPickleDeepRecursive) ... ERROR
==
ERROR: test_deep_recursive (__main__.cPickleDeepRecursive)
Raymond Hettinger [EMAIL PROTECTED] added the comment:
This was fixed for Py3.0.
No interest was shown in backporting.
--
resolution: - out of date
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1003935
New submission from Jean Brouwers [EMAIL PROTECTED]:
Test test_macos is reported as an unexpected skip on linux2 by Python
2.6b1 make test.
35 tests skipped:
...
test_macos test_macostools ...
...
2 skips unexpected on linux2:
test_tcl test_macos
$ uname -a
Linux ...
Jean Brouwers [EMAIL PROTECTED] added the comment:
Here is that in from 32- and 64-bit Python 2.6b1:
./python (32-bit)
Python 2.6b1 (r26b1:64398, Jun 20 2008, 09:20:49) [C] on sunos5
Type help, copyright, credits or license for more information.
import math
math.log(float('-inf'))
-inf
Daniel Darabos [EMAIL PROTECTED] added the comment:
Added lines have to come after the static char... declarations to
comply with C.
Unfortunately I am not experienced with building Python on Windows, so I
could not really try the patch, sorry. (I can get a cPickle.pyd, but it
does not replace
Jean Brouwers [EMAIL PROTECTED] added the comment:
Attached is another patch for file Objects/stringobject.c(relative to
Python 2.6b1) which supports the double %f and long double %LF formats.
However, %Lf is included only if symbol LDBL_DIG is defined in header
file float.h on the
Changes by Jean Brouwers [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10702/stringobject_format_Lf.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2813
___
Changes by Jean Brouwers [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10703/stringobject_format_Lf.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2813
___
Facundo Batista [EMAIL PROTECTED] added the comment:
Jean, you can increase *hugely* the possibility of this being accepted
if you submit a comprehensive suite test for this.
Thanks!!
--
nosy: +facundobatista
___
Python tracker [EMAIL PROTECTED]
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3085
___
___
Python-bugs-list
Benjamin Peterson [EMAIL PROTECTED] added the comment:
This was fixed on the trunk by r64408.
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3172
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Let's save ourselves the trouble...
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1180470
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
resolution: - invalid
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1534607
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
resolution: invalid -
status: closed - open
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1534607
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I say docs.
--
assignee: - georg.brandl
components: +Documentation -Extension Modules
nosy: +benjamin.peterson, georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2683
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3161
___
___
Facundo Batista [EMAIL PROTECTED] added the comment:
Commited this patch to the test cases, and the patch from #3165 to fix
the problem, thank you all!
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
Facundo Batista [EMAIL PROTECTED] added the comment:
Applied this patch.
Daniel, don't know about that rule... I didn't get any warning with gcc...
Anyway, this fixes the issue of #2702.
Thanks cuerty!
--
resolution: - accepted
status: open - closed
New submission from Skip Montanaro [EMAIL PROTECTED]:
Back in April we had a thread on xmlrpclib's problematic handling of dates
before 1900:
http://thread.gmane.org/gmane.comp.python.devel/93273/focus=93309
I'm still of the opinion that strftime() is the culprit and xmlrpclib is
just an
Skip Montanaro [EMAIL PROTECTED] added the comment:
Ummm... I think I only modified timemodule.c. datetimemodule.c
probably needs a tweak as well. I need to get this off my desk though.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3173
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Applied in r64475 .
Thanks for the patch.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3161
Martin v. Löwis [EMAIL PROTECTED] added the comment:
So how does it work for non-English locales?
--
nosy: +loewis
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3173
___
Senthil [EMAIL PROTECTED] added the comment:
Hi Georg,
Updated all the required docs and Committed revision 64476.
Let me know if any more changes required.
Thanks,
Senthil
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3142
Senthil [EMAIL PROTECTED] added the comment:
- Docs updated.
- Still pending: 2to3 updates and Deprecation warnings.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2885
___
Jean Brouwers [EMAIL PROTECTED] added the comment:
Another rev of the patch now including updates to 2 documentation files:
Doc/c-api/exceptions.rst and Doc/c-api/string.rst. As before the patch is
relative to the source of Python 2.6b1.
Where should test cases for the new formats in the
Changes by Jean Brouwers [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10703/stringobject_format_Lf.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2813
___
58 matches
Mail list logo