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
b85e1656
Kaydet (Commit)
b85e1656
authored
Agu 18, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Matthew Ahrens.
üst
324ac65c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletion
+26
-1
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+3
-0
errnomodule.c
Modules/errnomodule.c
+22
-1
No files found.
Misc/ACKS
Dosyayı görüntüle @
b85e1656
...
@@ -14,6 +14,7 @@ and the list is in rough alphabetical order by last names.
...
@@ -14,6 +14,7 @@ and the list is in rough alphabetical order by last names.
David Abrahams
David Abrahams
Jim Ahlstrom
Jim Ahlstrom
Farhan Ahmad
Farhan Ahmad
Matthew Ahrens
Nir Aides
Nir Aides
Yaniv Aknin
Yaniv Aknin
Jyrki Alakuijala
Jyrki Alakuijala
...
...
Misc/NEWS
Dosyayı görüntüle @
b85e1656
...
@@ -63,6 +63,9 @@ Core and Builtins
...
@@ -63,6 +63,9 @@ Core and Builtins
Extensions
Extensions
----------
----------
- Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Matthew Ahrens.
- Restore GIL in nis_cat in case of error.
- Restore GIL in nis_cat in case of error.
- Issue #665761: ``functools.reduce()`` will no longer mask exceptions
- Issue #665761: ``functools.reduce()`` will no longer mask exceptions
...
...
Modules/errnomodule.c
Dosyayı görüntüle @
b85e1656
...
@@ -82,7 +82,8 @@ PyInit_errno(void)
...
@@ -82,7 +82,8 @@ PyInit_errno(void)
/*
/*
* The names and comments are borrowed from linux/include/errno.h,
* The names and comments are borrowed from linux/include/errno.h,
* which should be pretty all-inclusive
* which should be pretty all-inclusive. However, the Solaris specific
* names and comments are borrowed from sys/errno.h in Solaris.
*/
*/
#ifdef ENODEV
#ifdef ENODEV
...
@@ -797,6 +798,26 @@ PyInit_errno(void)
...
@@ -797,6 +798,26 @@ PyInit_errno(void)
inscode
(
d
,
ds
,
de
,
"WSAN"
,
WSAN
,
"Error WSAN"
);
inscode
(
d
,
ds
,
de
,
"WSAN"
,
WSAN
,
"Error WSAN"
);
#endif
#endif
/* Solaris-specific errnos */
#ifdef ECANCELED
inscode
(
d
,
ds
,
de
,
"ECANCELED"
,
ECANCELED
,
"Operation canceled"
);
#endif
#ifdef ENOTSUP
inscode
(
d
,
ds
,
de
,
"ENOTSUP"
,
ENOTSUP
,
"Operation not supported"
);
#endif
#ifdef EOWNERDEAD
inscode
(
d
,
ds
,
de
,
"EOWNERDEAD"
,
EOWNERDEAD
,
"Process died with the lock"
);
#endif
#ifdef ENOTRECOVERABLE
inscode
(
d
,
ds
,
de
,
"ENOTRECOVERABLE"
,
ENOTRECOVERABLE
,
"Lock is not recoverable"
);
#endif
#ifdef ELOCKUNMAPPED
inscode
(
d
,
ds
,
de
,
"ELOCKUNMAPPED"
,
ELOCKUNMAPPED
,
"Locked lock was unmapped"
);
#endif
#ifdef ENOTACTIVE
inscode
(
d
,
ds
,
de
,
"ENOTACTIVE"
,
ENOTACTIVE
,
"Facility is not active"
);
#endif
Py_DECREF
(
de
);
Py_DECREF
(
de
);
return
m
;
return
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