[issue42248] Raised exception in Enum keeping user objects alive unnecessarily

2020-12-04 Thread Gerald Dalley
Gerald Dalley added the comment: I and a few others have run into issues with the Enum constructors producing spurious reference cycles. This can cause memory explosions if large objects like numpy arrays are held in any of the relevant stack frames. Based on https://bugs.python.org

[issue13337] IGNORE_CASE doctest option flag

2011-11-03 Thread Gerald Dalley
Gerald Dalley added the comment: ITSM? The motivating use case here comes from "nan" strings produced by libc in extension modules (even though python itself and some major libraries like numpy are consistent). At least some versions Solaris and Linux differ in this parti

[issue13337] IGNORE_CASE doctest option flag

2011-11-03 Thread Gerald Dalley
Changes by Gerald Dalley : -- type: -> feature request ___ Python tracker <http://bugs.python.org/issue13337> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13337] IGNORE_CASE doctest option flag

2011-11-03 Thread Gerald Dalley
New submission from Gerald Dalley : It would be helpful to have a doctest flag that makes the test case insensitive. Use case: nan values are printed as "nan" with typical Linux implementations, but as "NaN" on other operating systems like Solaris. In a naive implementat

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-06-16 Thread Gerald Dalley
Gerald Dalley added the comment: Another use case: for distributed processing, it's handy to be able to pickle interactive functions and functions that are part of a script. The user can then remotely execute a broader set of functions than can be pickled by default. This is espec