[issue32696] Fix pickling exceptions with multiple arguments

2022-01-14 Thread Ziga Seilnacht
Change by Ziga Seilnacht : -- nosy: -zseil ___ Python tracker <https://bugs.python.org/issue32696> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Here is another patch, for Python 2.4, which contains only the security fix. Benjamin, will you also commit these backports? Added file: http://bugs.python.org/file12036/getattr_hooks_24.diff ___

[issue1982] Feature: extend strftime to accept milliseconds

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Do you require millisecond support or would microsecond support be enough? r61402, which is included in Python 2.6, added support for %f format to datetime.strftime() and datetime.strptime(). See also #1158. -- nosy:

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Ziga Seilnacht
Changes by Ziga Seilnacht <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12034/getattr_hooks_trunk.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4230] "__getattr__" can't be a descriptor

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Here is a patch for trunk and 2.5 version. It also contains a fix for another crasher (see the tests). I only tested the 2.5 patch, because I don't have the tools for the trunk installed. -- keywords: +patch nosy: +zseil

[issue1694663] Overloading int.__pow__ does not work

2008-11-17 Thread Ziga Seilnacht
Changes by Ziga Seilnacht <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12029/time_slot_inheritance.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1694663] Overloading int.__pow__ does not work

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Hi Raymond, The signature matters because the current code in update_one_slot() forgets to set the use_generic flag when slots have different wrappers. This causes that the slot from the base class is left in the new type. Slot

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2008-11-17 Thread Ziga Seilnacht
Ziga Seilnacht <[EMAIL PROTECTED]> added the comment: Sorry for the long silence. I think that this patch is not relevant anymore. The code that uses exception pickling already had to be adapted to changes in Python 2.5, so there is no need to change the pickling again and risk breakin