[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-11-30 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-11-29 Thread INADA Naoki
INADA Naoki added the comment: New changeset 82daa60defbd6497efdaa6c1132ecc8563122ed5 by INADA Naoki in branch 'master': bpo-30167: Remove __cached__ from __main__ when removing __file__ (GH-7415) https://github.com/python/cpython/commit/82daa60defbd6497efdaa6c1132ecc8563122ed5 --

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-10-01 Thread INADA Naoki
INADA Naoki added the comment: New changeset d4c76d960b8b286b75c933780416ace9cda682fd by INADA Naoki in branch 'master': bpo-30167: Add test for module.__cached__ is None (GH-7617) https://github.com/python/cpython/commit/d4c76d960b8b286b75c933780416ace9cda682fd --

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +7238 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: As I noted in the discussion on PR 6731, I think there should be a test for this so we don't break it again. But, since it seems that the problem has affected a number of users and projects and since the fix is easy and easily testable manually, I decided to

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 3e121581d008a780b8a9f1bcda5966cf0c06f6d5 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) (GH-7607)

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset ec4343c3b4c0e0a7500122fac616e6488c0ab842 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) (GH-7606)

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7230 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +7229 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset 2487f30d5529948ace26559e274d7cac6abcd1a8 by Ned Deily (Steve Weber) in branch 'master': bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) https://github.com/python/cpython/commit/2487f30d5529948ace26559e274d7cac6abcd1a8

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-05 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +7039 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-05 Thread INADA Naoki
INADA Naoki added the comment: https://github.com/python/cpython/blob/f822549653d8d09b5b7dcddfdf12679a787c/Python/pythonrun.c#L391-L399 __file__ and __cached__ are added here. And,

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-05-09 Thread steverweber
Change by steverweber : -- keywords: +patch pull_requests: +6432 stage: -> patch review ___ Python tracker ___

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-05-08 Thread steverweber
steverweber added the comment: ref to other projects that hit this issue. https://gitlab.idiap.ch/bob/bob.buildout/issues/15 https://github.com/saltstack/salt/issues/45080 https://groups.google.com/forum/#!msg/comp.lang.python/tpfiHAJhl9Y/hZj1f50vBQAJ -- nosy:

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2017-04-26 Thread André Anjos
Changes by André Anjos : -- title: site.main() does not work on Python 3.6 and superior with PYTHONSTARTUP is set -> site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set ___ Python tracker

[issue30167] site.main() does not work on Python 3.6 and superior with PYTHONSTARTUP is set

2017-04-26 Thread André Anjos
Changes by André Anjos : -- title: site.main() does not work on Python 3.6 and superior -> site.main() does not work on Python 3.6 and superior with PYTHONSTARTUP is set ___ Python tracker