On Thu Mar 6 16:52:56 CET 2014, Antoine Pitrou wrote: > IMO it is absolutely out of question to allow creation of arbitrary > frames from Python code, because the structure and initialization of > frames embody too many low-level implementation details. So? Does any of that matter until the frame is used to actually evaluate something? So what is the harm in creating a (likely partially invalid) frame for inspection purposes? For that matter, what is the point in tracebacks requiring frames, as opposed to any object, with the caveat that not having the expected attributes may cause grief -- as happens with any duck typing? -jJ -- If there are still threading problems with my replies, please email me with details, so that I can try to resolve them. -jJ _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
- Re: [Python-Dev] Reference cycles in Excepti... Nick Coghlan
- Re: [Python-Dev] Reference cycles in Exc... Antoine Pitrou
- Re: [Python-Dev] Reference cycles i... Yury Selivanov
- Re: [Python-Dev] Reference cycl... Antoine Pitrou
- Re: [Python-Dev] Reference cycl... Xavier Morel
- Re: [Python-Dev] Reference cycl... Guido van Rossum
- Re: [Python-Dev] Reference cycl... Yury Selivanov
- Re: [Python-Dev] Reference cycl... Xavier Morel
- Re: [Python-Dev] Reference cycl... Guido van Rossum
- Re: [Python-Dev] Reference cycl... Greg Ewing
- [Python-Dev] Why not make frame... Jim J. Jewett
- Re: [Python-Dev] Reference cycles i... Victor Stinner
- Re: [Python-Dev] Reference cycl... Victor Stinner
- Re: [Python-Dev] Reference cycles i... Nick Coghlan
- Re: [Python-Dev] Reference cycl... Victor Stinner
- Re: [Python-Dev] Reference cycles in Exception.__tracebac... Yury Selivanov
- [Python-Dev] What is the precise problem? [was: Reference... Jim J. Jewett
- Re: [Python-Dev] What is the precise problem? [was: ... Ethan Furman
- Re: [Python-Dev] What is the precise problem? [w... Glenn Linderman
- Re: [Python-Dev] What is the precise problem? [was: ... Victor Stinner
- Re: [Python-Dev] What is the precise problem? [w... Victor Stinner