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
80e1c43d
Kaydet (Commit)
80e1c43d
authored
May 21, 2013
tarafından
Giampaolo Rodola'
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX.
üst
b3a57922
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
socket.rst
Doc/library/socket.rst
+5
-0
NEWS
Misc/NEWS
+2
-0
socketmodule.c
Modules/socketmodule.c
+3
-0
No files found.
Doc/library/socket.rst
Dosyayı görüntüle @
80e1c43d
...
@@ -293,6 +293,11 @@ The module :mod:`socket` exports the following constants and functions:
...
@@ -293,6 +293,11 @@ The module :mod:`socket` exports the following constants and functions:
TIPC related constants, matching the ones exported by the C socket API. See
TIPC related constants, matching the ones exported by the C socket API. See
the TIPC documentation for more information.
the TIPC documentation for more information.
.. data:: AF_LINK
Availability: BSD, OSX.
.. versionadded:: 3.4
.. data:: has_ipv6
.. data:: has_ipv6
...
...
Misc/NEWS
Dosyayı görüntüle @
80e1c43d
...
@@ -99,6 +99,8 @@ Core and Builtins
...
@@ -99,6 +99,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #17996: socket module now exposes AF_LINK constant on BSD and OSX.
- Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickled
- Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickled
size and pickling time.
size and pickling time.
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
80e1c43d
...
@@ -5658,6 +5658,9 @@ PyInit__socket(void)
...
@@ -5658,6 +5658,9 @@ PyInit__socket(void)
/* Alias to emulate 4.4BSD */
/* Alias to emulate 4.4BSD */
PyModule_AddIntMacro
(
m
,
AF_ROUTE
);
PyModule_AddIntMacro
(
m
,
AF_ROUTE
);
#endif
#endif
#ifdef AF_LINK
PyModule_AddIntMacro
(
m
,
AF_LINK
);
#endif
#ifdef AF_ASH
#ifdef AF_ASH
/* Ash */
/* Ash */
PyModule_AddIntMacro
(
m
,
AF_ASH
);
PyModule_AddIntMacro
(
m
,
AF_ASH
);
...
...
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