[issue17408] second python execution fails when embedding

2016-06-27 Thread Denny Weinberg
Denny Weinberg added the comment: Ok, thank you very much for your comments. See Issue27400 -- ___ Python tracker ___ ___ Python-bug

[issue17408] second python execution fails when embedding

2016-06-27 Thread R. David Murray
R. David Murray added the comment: The interpreter is not crashing in your case, so this is a mostly-unrelated problem. (The part that is related is that it is triggered by module finalization.) As Berker said, please open a new issue, but be warned that it may get closed as a being addresse

[issue17408] second python execution fails when embedding

2016-06-27 Thread Berker Peksag
Berker Peksag added the comment: We don't re-open old issues (this was closed more than 3 years ago). Please open a new issue and provide a minimal reproducer. Thanks! -- nosy: +berker.peksag ___ Python tracker __

[issue17408] second python execution fails when embedding

2016-06-27 Thread Denny Weinberg
Denny Weinberg added the comment: Can we please reopen this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17408] second python execution fails when embedding

2016-05-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue17408] second python execution fails when embedding

2016-05-19 Thread Denny Weinberg
Denny Weinberg added the comment: Hi, I think that the problem exists also in python 3.5.1 After calling Py_Finalize and Py_Initialize I get the message "attribute of type 'NoneType' is not callable" on the datetime.strptime method. Example: from datetime import datetime s = '20160505 16'

[issue17408] second python execution fails when embedding

2016-05-19 Thread Palm Kevin
Changes by Palm Kevin : -- nosy: +palm.kevin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue17408] second python execution fails when embedding

2013-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed in 7de9852cdc0e, sorry. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue17408] second python execution fails when embedding

2013-05-04 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Commit 8c1385205a35 causes segmentation fault (in non-debug build) or abort (in debug build) during interpreter shutdown after copying of e.g. bytes or object(). $ python -c 'import copy; copy.copy(b""); print("text")' text Segmentation fa

[issue17408] second python execution fails when embedding

2013-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for reporting! This should be fixed now. -- components: +Interpreter Core -None nosy: +pitrou resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: +Python 3.4 ___ P

[issue17408] second python execution fails when embedding

2013-05-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8c1385205a35 by Antoine Pitrou in branch '3.3': Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again. http://hg.python.org/cpython/rev/8c1385205a35 New changeset 0b34fd75b937 b

[issue17408] second python execution fails when embedding

2013-04-20 Thread Martin Morrison
Changes by Martin Morrison : -- nosy: +isoschiz, pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue17408] second python execution fails when embedding

2013-03-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue17408] second python execution fails when embedding

2013-03-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: In 3.2, typeobject.c did not cache the copyreg module in import_copyreg(); PyImport_Import was always called. -- ___ Python tracker ___ _

[issue17408] second python execution fails when embedding

2013-03-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you tell if the relevant 3.2 to 3.3 change is in Py_Initialize, Py_Finalize(), or typeobject.c? -- nosy: +ncoghlan, terry.reedy ___ Python tracker

[issue17408] second python execution fails when embedding

2013-03-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Reproduced on Linux. The reason is in Objects/typeobject.c: import_copyreg() has a static cache of the copyreg module. When the interpreter stops, the module is filled with None... but gets reused in the next instance. Resetting this "mod_copyreg" variab

[issue17408] second python execution fails when embedding

2013-03-13 Thread Vlad
Vlad added the comment: I'm trying to embed the python 3.3 engine for an app that need to run custom scripts in python. Since the scripts might be completely different, and sometimes user provided, I am trying to make each execution isolated and there is not need to preserve any data between e

[issue17408] second python execution fails when embedding

2013-03-13 Thread Ned Deily
Ned Deily added the comment: Please add the detailed description of the problem and any test files to the issue here. Information stored off-site is not searchable within the issue tracker and may not be permanently available. -- nosy: +ned.deily _

[issue17408] second python execution fails when embedding

2013-03-13 Thread Vlad
New submission from Vlad: This issue is for Python3.3 and doesn't exist in Python3.2 Detailed description with source code can be found here: http://stackoverflow.com/questions/15387035/second-python-execution-fails -- components: None messages: 184081 nosy: theDarkBrainer priority: nor