[issue13562] Notes about module load path

2019-10-22 Thread STINNER Victor


STINNER Victor  added the comment:

No activity since 2012, I close the issue.

Moreover, the PEP 587 now provides a clean C API to configure sys.path.

https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.module_search_paths

--
nosy: +vstinner
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13562] Notes about module load path

2012-01-06 Thread Nam Nguyen

Nam Nguyen  added the comment:

Please do keep the warning though. It is best to warn in both Python-C 
Py_Initialize() document and the Embedding tutorial.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13562] Notes about module load path

2012-01-06 Thread Eric Snow

Changes by Eric Snow :


--
nosy: +eric.snow

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13562] Notes about module load path

2012-01-06 Thread Éric Araujo

Éric Araujo  added the comment:

I did the markup edits but then found out that the doc for Py_Initialize in 
c-api/init already mentions the module load path and the module table, so I’m 
going to make another patch with just a link to that.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13562] Notes about module load path

2011-12-10 Thread Nam Nguyen

Nam Nguyen  added the comment:

That would be great. Thank you.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13562] Notes about module load path

2011-12-10 Thread Éric Araujo

Éric Araujo  added the comment:

Thanks for the patch, I will make a few wording/markup editions if you don’t 
mind and post the edited version.

--
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.6, Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13562] Notes about module load path

2011-12-08 Thread Nam Nguyen

New submission from Nam Nguyen :

A doc patch to remind Python embedder to set sys.path prior to Py_Initialize. 
This is to ensure a controlled module load path to work around these issues:

http://bugs.python.org/issue12989
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983

--
assignee: docs@python
components: Documentation
files: module.load.path.diff
keywords: patch
messages: 149071
nosy: Nam.Nguyen, docs@python
priority: normal
severity: normal
status: open
title: Notes about module load path
type: feature request
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file23888/module.load.path.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com