[issue8943] Bug in InteractiveConsole /pickle

2020-10-28 Thread Steve Holden
Change by Steve Holden : -- nosy: -holdenweb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue8943] Bug in InteractiveConsole /pickle

2020-10-27 Thread Irit Katriel
Change by Irit Katriel : -- title: Bug in InteractiveConsole -> Bug in InteractiveConsole /pickle versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.1, Python 3.2 ___ Python tracker _

[issue8943] Bug in InteractiveConsole

2012-08-20 Thread Michael Dorman
Changes by Michael Dorman : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8943] Bug in InteractiveConsole

2012-08-20 Thread Michael Dorman
Michael Dorman added the comment: I'd suggest this is an issue in the doc for the InteractiveInterpreter class. Try locals=global() and your problem goes away. (namespace == __main__)... -- keywords: +patch nosy: +mjdorma Added file: http://bugs.python.org/file26917/issue8943.diff __

[issue8943] Bug in InteractiveConsole

2010-11-21 Thread Iuri Diniz
Iuri Diniz added the comment: Well, this is a pickle problem or a Interactive console problem? on python 2.7 does not save a type "type" (like Example class is) 2: type->tp_name = 0x58a87c "instance" 2: type->tp_name = 0x590391 "dict" 2: type->tp_name = 0x5943b6 "str" 2: type->tp_name = 0x5943b

[issue8943] Bug in InteractiveConsole

2010-11-21 Thread Iuri Diniz
Iuri Diniz added the comment: preliminary gdb backtrace -- Added file: http://bugs.python.org/file19735/backtrace-py3k-8943.txt ___ Python tracker ___ ___

[issue8943] Bug in InteractiveConsole

2010-11-21 Thread Iuri Diniz
Iuri Diniz added the comment: Bug stills on branch http://svn.python.org/projects/python/branches/py3k branch http://svn.python.org/projects/python/branches/release27-maint is OK doing some gdb on 3.2, I have discovered that the problem occurs when trying to dump global Example from module _

[issue8943] Bug in InteractiveConsole

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: One easy fix for this would be to make InteractiveConsole use the string "__main__" instead of "__console__". But other than that, I don't think we can fix this within pickle. -- ___ Python tracker

[issue8943] Bug in InteractiveConsole

2010-06-26 Thread Steve Holden
Changes by Steve Holden : -- nosy: +holdenweb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8943] Bug in InteractiveConsole

2010-06-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, the problem is observed in py3k. Pickle module when used via Interactive console is trying to import the class as __console__.ClassName and it is failing to see the __console__ module. _pickle.PicklingError: Can't pickle : import of module '__console__

[issue8943] Bug in InteractiveConsole

2010-06-08 Thread Fabio Zadrozny
New submission from Fabio Zadrozny : Unable to pickle classes used in the InteractiveConsole. The code attached works in python 2.5 and fails on python 3.1.2. -- components: Library (Lib) files: fast_test.py messages: 107328 nosy: fabioz priority: normal severity: normal status: open ti