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
611afc1b
Kaydet (Commit)
611afc1b
authored
Şub 01, 2013
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #17098: all modules should have __loader__
üst
d7be03aa
0ecd30b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
_bootstrap.py
Lib/importlib/_bootstrap.py
+5
-3
NEWS
Misc/NEWS
+3
-0
signalmodule.c
Modules/signalmodule.c
+1
-2
No files found.
Lib/importlib/_bootstrap.py
Dosyayı görüntüle @
611afc1b
...
...
@@ -1723,9 +1723,11 @@ def _setup(sys_module, _imp_module):
else
:
BYTECODE_SUFFIXES
=
DEBUG_BYTECODE_SUFFIXES
for
module
in
(
_imp
,
sys
):
if
not
hasattr
(
module
,
'__loader__'
):
module
.
__loader__
=
BuiltinImporter
module_type
=
type
(
sys
)
for
module
in
sys
.
modules
.
values
():
if
isinstance
(
module
,
module_type
):
if
not
hasattr
(
module
,
'__loader__'
):
module
.
__loader__
=
BuiltinImporter
self_module
=
sys
.
modules
[
__name__
]
for
builtin_name
in
(
'_io'
,
'_warnings'
,
'builtins'
,
'marshal'
):
...
...
Misc/NEWS
Dosyayı görüntüle @
611afc1b
...
...
@@ -10,6 +10,9 @@ What's New in Python 3.4.0 Alpha 1?
Core and Builtins
-----------------
- Issue #17098: All modules now have __loader__ set even if they pre-exist the
bootstrapping of importlib.
- Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
- Issue #13886: Fix input() to not strip out input bytes that cannot be decoded
...
...
Modules/signalmodule.c
Dosyayı görüntüle @
611afc1b
...
...
@@ -1362,9 +1362,8 @@ PyErr_SetInterrupt(void)
void
PyOS_InitInterrupts
(
void
)
{
PyObject
*
m
=
PyI
nit_signal
(
);
PyObject
*
m
=
PyI
mport_ImportModule
(
"signal"
);
if
(
m
)
{
_PyImport_FixupBuiltin
(
m
,
"signal"
);
Py_DECREF
(
m
);
}
}
...
...
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