diff options
author | Guido van Rossum <guido@python.org> | 2003-02-19 15:25:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-19 15:25:10 (GMT) |
commit | 162e38c6a312aa3e9c353419301087a4620c513c (patch) | |
tree | 7cbea919a90b99c00446bfa35905821b8dc7ee44 /Misc | |
parent | 80be59b275dfd62545c69ca377bae02c02648839 (diff) | |
download | cpython-162e38c6a312aa3e9c353419301087a4620c513c.zip cpython-162e38c6a312aa3e9c353419301087a4620c513c.tar.gz cpython-162e38c6a312aa3e9c353419301087a4620c513c.tar.bz2 |
- sys.path[0] (the directory from which the script is loaded) is now
turned into an absolute pathname, unless it is the empty string.
(SF patch #664376, by Skip Montanaro.)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.3 alpha 2? Core and builtins ----------------- +- sys.path[0] (the directory from which the script is loaded) is now + turned into an absolute pathname, unless it is the empty string. + (SF patch #664376.) + - Finally fixed the bug in compile() and exec where a string ending with an indented code block but no newline would raise SyntaxError. This would have been a four-line change in parsetok.c... Except |