Python Pickle Problems (Ellipsis + Other Objects)

2011-06-14 Thread Sunjay Varma
See more details in my forum post: http://www.python-forum.org/pythonforum/viewtopic.php?f=18&t=26724 I'm trying to pickle a bunch of functions (mostly built-in) and pickle keeps giving me errors. I have no Ellipsis in my data at all, and for some reason, pickle seems to think I do. Here is a

I found some very odd behaviour in Python's very basic types

2011-03-09 Thread Sunjay Varma
For some reason, sub-classing and overwriting a built-in type does not change the behavior of the literal. Logically speaking, overwriting a name, such as str, should delete the basic str type, and replace it with the new class or object put in its place. For some reason though, even though the int