Hi François! > For quite a long time, I noticed that Distutils inserts a supplementary > white line when it transforms the shebang line. There might be some reason > for this white line, and I'm curious about it. This does not interact > nicely with PEP 263. For example, the file: [...] Just to satisfy your curiosity, it was a bug in the regular expression matching the first line: # check if Python is called on the first line with this expression first_line_re = re.compile('^#!.*python[0-9.]*(\s+.*)?$') The detail here is that \s also matches a newline. Fixed in CVS. Thanks for reporting! -- Gustavo Niemeyer http://niemeyer.net
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