Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
24711c4f
Kaydet (Commit)
24711c4f
authored
Tem 14, 2012
tarafından
Nick Coghlan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge #15230 doc updates from 3.2
üst
2f54b98c
a3d1cac4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
runpy.rst
Doc/library/runpy.rst
+11
-0
NEWS
Misc/NEWS
+4
-1
No files found.
Doc/library/runpy.rst
Dosyayı görüntüle @
24711c4f
...
@@ -14,6 +14,15 @@ importing them first. Its main use is to implement the :option:`-m` command
...
@@ -14,6 +14,15 @@ importing them first. Its main use is to implement the :option:`-m` command
line
switch
that
allows
scripts
to
be
located
using
the
Python
module
line
switch
that
allows
scripts
to
be
located
using
the
Python
module
namespace
rather
than
the
filesystem
.
namespace
rather
than
the
filesystem
.
Note
that
this
is
*
not
*
a
sandbox
module
-
all
code
is
executed
in
the
current
process
,
and
any
side
effects
(
such
as
cached
imports
of
other
modules
)
will
remain
in
place
after
the
functions
have
returned
.
Furthermore
,
any
functions
and
classes
defined
by
the
executed
code
are
not
guaranteed
to
work
correctly
after
a
:
mod
:`
runpy
`
function
has
returned
.
If
that
limitation
is
not
acceptable
for
a
given
use
case
,
:
mod
:`
importlib
`
is
likely
to
be
a
more
suitable
choice
than
this
module
.
The
:
mod
:`
runpy
`
module
provides
two
functions
:
The
:
mod
:`
runpy
`
module
provides
two
functions
:
...
@@ -141,3 +150,5 @@ The :mod:`runpy` module provides two functions:
...
@@ -141,3 +150,5 @@ The :mod:`runpy` module provides two functions:
PEP written and implemented by Nick Coghlan.
PEP written and implemented by Nick Coghlan.
:ref:`using-on-general` - CPython command line details
:ref:`using-on-general` - CPython command line details
The :func:`importlib.import_module` function
Misc/NEWS
Dosyayı görüntüle @
24711c4f
...
@@ -122,6 +122,9 @@ Tools/Demos
...
@@ -122,6 +122,9 @@ Tools/Demos
Documentation
Documentation
-------------
-------------
- Issue #15230: Clearly document some of the limitations of the runpy
module and nudge readers towards importlib when appropriate.
- Issue #15053: Copy Python 3.3 import lock change notice to all relevant
- Issue #15053: Copy Python 3.3 import lock change notice to all relevant
functions in imp instead of just at the top of the relevant section.
functions in imp instead of just at the top of the relevant section.
...
@@ -1184,12 +1187,12 @@ Build
...
@@ -1184,12 +1187,12 @@ Build
Based on patch from Hervé Coatanhay.
Based on patch from Hervé Coatanhay.
- Issue #14321: Do not run pgen during the build if files are up to date.
- Issue #14321: Do not run pgen during the build if files are up to date.
Documentation
Documentation
-------------
-------------
- Issue #14034: added the argparse tutorial.
- Issue #14034: added the argparse tutorial.
- Issue #14324: Fix configure tests for cross builds.
- Issue #14324: Fix configure tests for cross builds.
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
...
...
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