[Python-3000] help(pickle) fails: unorderable types: type() < type() (original) (raw)
Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Tue Sep 11 17:38:58 CEST 2007
- Previous message: [Python-3000] ordered dict for p3k collections?
- Next message: [Python-3000] help(pickle) fails: unorderable types: type() < type()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Python 3.0a1 (py3k, Sep 8 2007, 15:57:56) [GCC 4.2.1 20070719 (release) (PLD-Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import pickle help(pickle) Traceback (most recent call last): [...] File "/usr/local/lib/python3.0/pydoc.py", line 954, in repr1 return getattr(self, methodname)(x, level) File "/usr/local/lib/python3.0/repr.py", line 78, in repr_dict for key in islice(sorted(x), self.maxdict): TypeError: unorderable types: type() < type()
BTW, is cPickle officially gone and should pickle be used instead?
-- _("< Marcin Kowalczyk _/ qrczak at knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/
- Previous message: [Python-3000] ordered dict for p3k collections?
- Next message: [Python-3000] help(pickle) fails: unorderable types: type() < type()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]