[issue1757057] IDLE + BeautifulSoup = Error
Guilherme Polo
report at bugs.python.org
Sun Mar 29 21:49:28 CEST 2009
Guilherme Polo <ggpolo at gmail.com> added the comment:
> IMO IDLE should check for any exception
> (not just pickle.PicklingError) when trying to pickle an object for
> sending to the parent process. If pickle doesn't work, for whatever
> reason, IDLE can still try to work around it with str() and/or repr().
>
Do you have some specific suggestion on how to do so ? As I'm seeing
it rpc.SocketIO.putmessage would return a custom exception when a
PicklingError doesn't happen, which then
PyShell.ModifiedInterpreter.runcode could handle and decide to run the
code object locally. Sounds unpleasant.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1757057>
_______________________________________
More information about the Python-bugs-list
mailing list