Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6b2bd05b
Commit
6b2bd05b
authored
Feb 22, 2010
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#7794: describe 2.6 support for executing directories and zip archives
parent
ee5546c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Doc/whatsnew/2.6.rst
Doc/whatsnew/2.6.rst
+7
-0
No files found.
Doc/whatsnew/2.6.rst
View file @
6b2bd05b
...
...
@@ -1481,6 +1481,13 @@ Other Language Changes
Some
smaller
changes
made
to
the
core
Python
language
are
:
*
Directories
and
zip
archives
containing
a
:
file
:`
__main__
.
py
`
file
can
now
be
executed
directly
by
passing
their
name
to
the
interpreter
.
The
directory
or
zip
archive
is
automatically
inserted
as
the
first
entry
in
sys
.
path
.
(
Suggestion
and
initial
patch
by
Andy
Chu
,
subsequently
revised
by
Phillip
J
.
Eby
and
Nick
Coghlan
;
:
issue
:`
1739468
`.)
*
The
:
func
:`
hasattr
`
function
was
catching
and
ignoring
all
errors
,
under
the
assumption
that
they
meant
a
:
meth
:`
__getattr__
`
method
was
failing
somehow
and
the
return
value
of
:
func
:`
hasattr
`
would
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment