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
29fd2baf
Kaydet (Commit)
29fd2baf
authored
Mar 23, 2003
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make private function and data static.
üst
bf9b2446
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
zipimport.c
Modules/zipimport.c
+3
-2
No files found.
Modules/zipimport.c
Dosyayı görüntüle @
29fd2baf
...
@@ -20,7 +20,7 @@ struct st_zip_searchorder {
...
@@ -20,7 +20,7 @@ struct st_zip_searchorder {
non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries
non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries
are swapped by initzipimport() if we run in optimized mode. Also,
are swapped by initzipimport() if we run in optimized mode. Also,
'/' is replaced by SEP there. */
'/' is replaced by SEP there. */
struct
st_zip_searchorder
zip_searchorder
[]
=
{
st
atic
st
ruct
st_zip_searchorder
zip_searchorder
[]
=
{
{
"/__init__.pyc"
,
IS_PACKAGE
|
IS_BYTECODE
},
{
"/__init__.pyc"
,
IS_PACKAGE
|
IS_BYTECODE
},
{
"/__init__.pyo"
,
IS_PACKAGE
|
IS_BYTECODE
},
{
"/__init__.pyo"
,
IS_PACKAGE
|
IS_BYTECODE
},
{
"/__init__.py"
,
IS_PACKAGE
|
IS_SOURCE
},
{
"/__init__.py"
,
IS_PACKAGE
|
IS_SOURCE
},
...
@@ -982,7 +982,8 @@ compile_source(char *pathname, PyObject *source)
...
@@ -982,7 +982,8 @@ compile_source(char *pathname, PyObject *source)
/* Convert the date/time values found in the Zip archive to a value
/* Convert the date/time values found in the Zip archive to a value
that's compatible with the time stamp stored in .pyc files. */
that's compatible with the time stamp stored in .pyc files. */
time_t
parse_dostime
(
int
dostime
,
int
dosdate
)
static
time_t
parse_dostime
(
int
dostime
,
int
dosdate
)
{
{
struct
tm
stm
;
struct
tm
stm
;
...
...
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