[issue10318] "make altinstall" installs many files with incorrect shebangs

2014-04-14 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: -orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-28 Thread Éric Araujo
Éric Araujo added the comment: Can I removed the shebangs in the 3.3 stdlib or do I need to go through with the PEP 8 patch on python-dev first? -- versions: -Python 2.7, Python 3.2 ___ Python tracker __

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-24 Thread Nick Coghlan
Nick Coghlan added the comment: I created #13475 to discuss the idea of a command line option to override sys.path[0] initialisation. -- ___ Python tracker ___

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Hmm, interesting mailing list post - I hadn't thought about how the auto-initialisation of sys.path[0] aligns with the Windows vs Unix difference in PATH handling (i.e. whether or not the current directory is considered to be on PATH), with Python coming down i

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-23 Thread Éric Araujo
Éric Araujo added the comment: > Hmm, my initial reaction is that that specific wording is stronger than I had > in mind - > there's nothing really wrong with having a shebang line and execute bit set > on a top level > module and symlinking it from /usr/bin. Okay. (On that topic, http://lis

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-22 Thread Nick Coghlan
Nick Coghlan added the comment: Hmm, my initial reaction is that that specific wording is stronger than I had in mind - there's nothing really wrong with having a shebang line and execute bit set on a top level module and symlinking it from /usr/bin. The problem is that we're doing those thin

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-22 Thread Éric Araujo
Éric Araujo added the comment: Patch to PEP 8 attached. -- Added file: http://bugs.python.org/file23755/pep8-shebangs.diff ___ Python tracker ___ ___

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-20 Thread Nick Coghlan
Nick Coghlan added the comment: +1 to 'c', but it should come with an update to PEP 8 to say "don't do that". -- ___ Python tracker ___ _

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-20 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: +1 to "c". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-20 Thread Éric Araujo
Éric Araujo added the comment: The patches I’ve discussed and committed were actually peripheral. The original bug reported here is that shebangs shouldn’t use “/usr/bin/env python” with an altinstall installation, as in that case you’re not creating a python (or python3) binary but a python

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-19 Thread Ezio Melotti
Ezio Melotti added the comment: Éric, what's the status of this? -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list m

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7fb0abf928e0 by Éric Araujo in branch '2.7': Fix missing or shebangs and executable bits for scripts (#10318) http://hg.python.org/cpython/rev/7fb0abf928e0 -- ___ Python tracker

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65d5ecefd50d by Éric Araujo in branch '3.2': Fix missing or wrong shebangs and missing executable bits for scripts (#10318) http://hg.python.org/cpython/rev/65d5ecefd50d New changeset 5467abaaf5eb by Éric Araujo in branch 'default': Merge from 3.2

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-07-05 Thread Éric Araujo
Éric Araujo added the comment: This 3.2 patch updates UNIX rights and shebangs in Tools/scripts. I also edited mailerdaemon, which used a string exception. -- versions: -Python 3.1 Added file: http://bugs.python.org/file22584/tools-scripts.diff ___

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: > There are a lot of examples that use a bare “python”; changing all of > those would cause merging pains. I’ve changed my mind. Given the python/python2/python3 drama with distributions, I now think that we should use “python3” in the 3.x docs. Merging is not

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-27 Thread Éric Araujo
Éric Araujo added the comment: Good call. +1 on removing them. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: UTF-8 -*- Not strictly related to this issue, but do we want to recommend redundant encoding cookie in the docs? -- ___ Python tracker

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-27 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +patch Added file: http://bugs.python.org/file19850/env-python3.diff ___ Python tracker ___ ___

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-27 Thread Éric Araujo
Éric Araujo added the comment: Attached patch fixes shebangs to use python3 in py3k. There are a lot of examples that use a bare “python”; changing all of those would cause merging pains. -- ___ Python tracker _

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would like to add my +1 to Eric's msg120485 above. What I really find puzzling is why some scripts in Tools/ have hashbangs, but don't have execute permission. Tools/scripts/cleanfuture.py Tools/scripts/combinerefs.py Tools/scripts/db2pickle.py Tools

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Ned Deily
Ned Deily added the comment: I agree with Eric's comment about why have shebang lines at all for files in the standard library. There isn't any use case or recommendation for ever putting /path/to/lib/pythonx.x or its subdirectories directly on a shell search path is there? WRT the three fi

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Georg Brandl
Georg Brandl added the comment: You can ignore those under Doc/tools; they are neither part of the distribution and nor installed. -- ___ Python tracker ___ ___

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: d...@python -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: A few more deeper in the py3k source tree: Doc/tools/docutils/_string_template_compat.py Doc/tools/docutils/readers/python/pynodes.py Doc/tools/sphinx/pycode/pgen2/token.py Lib/lib2to3/tests/data/different_encoding.py Adding Georg, since this affects the docs as

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: For the record, my list is from an svn checkout of r86191 -- ___ Python tracker ___ ___ Python-bugs-l

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: Removing shebang lines from svn completely and only *adding* them during installation steps as appropriate may be an interesting approach. (I noted that my grep of my local build found only correct references to python3.2 in the built scripts directory) I'll a

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread R. David Murray
R. David Murray added the comment: Benjamin did some cleanup in this area in at least py3k, so he might have some thoughts, making him nosy. -- nosy: +benjamin.peterson, r.david.murray ___ Python tracker

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-05 Thread Eric Smith
Eric Smith added the comment: Is there any reason for the test files to have a shebang line at all? I think those should be removed, which would cut the problem in half. Also, given "-m", I'm not sure any of the files in the stdlib should have a shebang line. Is there really an expectation th

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-04 Thread Allan McRae
New submission from Allan McRae : The following files are incorrectly installed with a "#!/usr/bin/env python" shebang when using "make altinstall": usr/lib/python2.7/base64.py usr/lib/python2.7/bsddb/dbshelve.py usr/lib/python2.7/bsddb/test/test_dbtables.py usr/lib/python2.7/cgi.py usr/lib/pyt