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
939614c4
Kaydet (Commit)
939614c4
authored
Ara 05, 2015
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge: #24903: Remove misleading error message to fix regression.
üst
6a77c2d9
ced699b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
11 deletions
+5
-11
compileall.py
Lib/compileall.py
+0
-3
test_compileall.py
Lib/test/test_compileall.py
+0
-8
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+4
-0
No files found.
Lib/compileall.py
Dosyayı görüntüle @
939614c4
...
@@ -238,9 +238,6 @@ def main():
...
@@ -238,9 +238,6 @@ def main():
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
compile_dests
=
args
.
compile_dest
compile_dests
=
args
.
compile_dest
if
(
args
.
ddir
and
(
len
(
compile_dests
)
!=
1
or
not
os
.
path
.
isdir
(
compile_dests
[
0
]))):
parser
.
exit
(
'-d destdir requires exactly one directory argument'
)
if
args
.
rx
:
if
args
.
rx
:
import
re
import
re
args
.
rx
=
re
.
compile
(
args
.
rx
)
args
.
rx
=
re
.
compile
(
args
.
rx
)
...
...
Lib/test/test_compileall.py
Dosyayı görüntüle @
939614c4
...
@@ -398,14 +398,6 @@ class CommandLineTests(unittest.TestCase):
...
@@ -398,14 +398,6 @@ class CommandLineTests(unittest.TestCase):
self
.
assertCompiled
(
init2fn
)
self
.
assertCompiled
(
init2fn
)
self
.
assertCompiled
(
bar2fn
)
self
.
assertCompiled
(
bar2fn
)
def
test_d_takes_exactly_one_dir
(
self
):
rc
,
out
,
err
=
self
.
assertRunNotOK
(
'-d'
,
'foo'
)
self
.
assertEqual
(
out
,
b
''
)
self
.
assertRegex
(
err
,
b
'-d'
)
rc
,
out
,
err
=
self
.
assertRunNotOK
(
'-d'
,
'foo'
,
'bar'
)
self
.
assertEqual
(
out
,
b
''
)
self
.
assertRegex
(
err
,
b
'-d'
)
def
test_d_compile_error
(
self
):
def
test_d_compile_error
(
self
):
script_helper
.
make_script
(
self
.
pkgdir
,
'crunchyfrog'
,
'bad(syntax'
)
script_helper
.
make_script
(
self
.
pkgdir
,
'crunchyfrog'
,
'bad(syntax'
)
rc
,
out
,
err
=
self
.
assertRunNotOK
(
'-q'
,
'-d'
,
'dinsdale'
,
self
.
pkgdir
)
rc
,
out
,
err
=
self
.
assertRunNotOK
(
'-q'
,
'-d'
,
'dinsdale'
,
self
.
pkgdir
)
...
...
Misc/ACKS
Dosyayı görüntüle @
939614c4
...
@@ -477,6 +477,7 @@ Raymund Galvin
...
@@ -477,6 +477,7 @@ Raymund Galvin
Nitin Ganatra
Nitin Ganatra
Fred Gansevles
Fred Gansevles
Lars Marius Garshol
Lars Marius Garshol
Jake Garver
Dan Gass
Dan Gass
Andrew Gaul
Andrew Gaul
Matthieu Gautier
Matthieu Gautier
...
...
Misc/NEWS
Dosyayı görüntüle @
939614c4
...
@@ -22,6 +22,10 @@ Core and Builtins
...
@@ -22,6 +22,10 @@ Core and Builtins
Library
Library
-------
-------
- Issue #24903: Fix regression in number of arguments compileall accepts when
'
-
d
' is specified. The check on the number of arguments has been dropped
completely as it never worked correctly anyway.
- Issue #25764: In the subprocess module, preserve any exception caused by
- Issue #25764: In the subprocess module, preserve any exception caused by
fork() failure when preexec_fn is used.
fork() failure when preexec_fn is used.
...
...
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