Showing content from http://mail.python.org/pipermail/python-dev/attachments/20160910/10e6bd76/attachment.html below:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">The underscore is an appropriate rename here, but calling the file sys.path was too juicy :)<br><br>It's intended only for embedding on Windows and does not exist on Linux/Mac yet (more precisely, implementation is only in PC/getpathp.c). I chatted with some people about spreading it and there wasn't really enough interest yet - theoretical uses but not actual ones, whereas on Windows there are actual uses. If you have actual uses we can look more seriously at it, but right now it's more of a secret registry key that disables the registry.<br><br>As it is totally outside the language and very specific to a particular installation, support can easily be added at any time. Find my various write-ups on the embeddable distro for details on the use cases, but none of them affect regular Python developers.<br><br>Cheers,<br>Steve<br><br>Top-posted from my Windows Phone</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:ncoghlan@gmail.com">Nick Coghlan</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">â9/â10/â2016 2:43</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:tds333@mailbox.org">Wolfgang</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Cc: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:python-dev@python.org">Python Dev</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [Python-Dev] sys.path file feature</span><br><br></div>On 10 September 2016 at 18:37, Wolfgang <tds333@mailbox.org> wrote:<br>> Hi,<br>><br>> tracking the commit log I have noticed for Windows there was added a new<br>> feature which is very interesting and can also be useful for other<br>> platforms.<br>><br>> If I read it right it supports adding a sys.path text file near the<br>> executable to specify the Python sys.path variable and overwriting the<br>> default behavior.<br>><br>> https://hg.python.org/cpython/rev/03517dd54977<br><br>While I'm all for adding ways to simplify CPython sys.path<br>configuration, they shouldn't be added as implicit side effects of<br>other changes without at least some discussion of the chosen approach.<br><br>If there isn't time for that, and it's needed to solve a particular<br>problem, then the underscore-prefix naming convention indicating "this<br>is not a standardised and supported interface" works just as well for<br>config files as it does for module and attribute names.<br><br>Cheers,<br>Nick.<br><br>-- <br>Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia<br>_______________________________________________<br>Python-Dev mailing list<br>Python-Dev@python.org<br>https://mail.python.org/mailman/listinfo/python-dev<br>Unsubscribe: https://mail.python.org/mailman/options/python-dev/steve.dower%40python.org<br></body></html>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4