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
0ecd30b4
Kaydet (Commit)
0ecd30b4
authored
Şub 01, 2013
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17098: Make sure every module has __loader__ defined.
Thanks to Thomas Heller for the bug report.
üst
89fa86b0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 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
importlib.h
Python/importlib.h
+0
-0
No files found.
Lib/importlib/_bootstrap.py
Dosyayı görüntüle @
0ecd30b4
...
...
@@ -1703,9 +1703,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 @
0ecd30b4
...
...
@@ -12,6 +12,9 @@ What's New in Python 3.3.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 @
0ecd30b4
...
...
@@ -1367,9 +1367,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
);
}
}
...
...
Python/importlib.h
Dosyayı görüntüle @
0ecd30b4
This diff is collapsed.
Click to expand it.
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