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
1a084a88
Kaydet (Commit)
1a084a88
authored
Nis 19, 2015
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
üst
db46fea8
e0ac2beb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
NEWS
Misc/NEWS
+5
-0
import.c
Python/import.c
+5
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
1a084a88
...
...
@@ -213,6 +213,11 @@ Tools/Demos
if
Argument
Clinic
processes
the
same
symbol
multiple
times
,
and
it
's emitted
at the end of all processing rather than immediately after the first use.
C API
-----
- Issue #23998: PyImport_ReInitLock() now checks for lock allocation error
What'
s
New
in
Python
3.5.0
alpha
3
?
===================================
...
...
Python/import.c
Dosyayı görüntüle @
1a084a88
...
...
@@ -209,8 +209,12 @@ _PyImport_ReleaseLock(void)
void
_PyImport_ReInitLock
(
void
)
{
if
(
import_lock
!=
NULL
)
if
(
import_lock
!=
NULL
)
{
import_lock
=
PyThread_allocate_lock
();
if
(
import_lock
==
NULL
)
{
Py_FatalError
(
"PyImport_ReInitLock failed to create a new lock"
);
}
}
if
(
import_lock_level
>
1
)
{
/* Forked as a side effect of import */
long
me
=
PyThread_get_thread_ident
();
...
...
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