[issue19702] Update pickle to PEP 451

2013-12-17 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 19700 means that runpy now ensures that __main__.__spec__ is set appropriately when __main__ is executed via the import system. Issue 19946 means that multiprocessing now ensures that __main__ is configured correctly in child processes to reference a prope

[issue19702] Update pickle to PEP 451

2013-11-29 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Update runpy for PEP 451 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue19702] Update pickle to PEP 451

2013-11-28 Thread Nick Coghlan
Nick Coghlan added the comment: The specific proposal was to use __spec__.name when __name__ == "__main__" to avoid the pickle compatibility issues described in PEP 395 when using the -m switch. runpy has to be updated first, though. -- ___ Python tr

[issue19702] Update pickle to PEP 451

2013-11-27 Thread Eric Snow
New submission from Eric Snow: I don't recall the specifics of how we'd talked about making use of module specs in pickle. I vaguely remember (or misremember ) something related to saving __main__.__spec__.name in the pickle rather than __main__.__name__. Anyone have anything more concrete t

[issue19702] Update pickle to PEP 451

2013-11-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19702] Update pickle to PEP 451

2013-11-22 Thread Brett Cannon
Changes by Brett Cannon : -- components: Library (Lib) nosy: brett.cannon, eric.snow, ncoghlan priority: normal severity: normal stage: test needed status: open title: Update pickle to PEP 451 versions: Python 3.4 ___ Python tracker