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
72c6227d
Kaydet (Commit)
72c6227d
authored
Mar 22, 2012
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge heads
üst
e90cdaa1
b3f95d7f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
5 deletions
+28
-5
asyncore.py
Lib/asyncore.py
+1
-0
doctest.py
Lib/doctest.py
+7
-3
NEWS.txt
Lib/idlelib/NEWS.txt
+7
-0
PyShell.py
Lib/idlelib/PyShell.py
+4
-2
NEWS
Misc/NEWS
+9
-0
No files found.
Lib/asyncore.py
Dosyayı görüntüle @
72c6227d
...
...
@@ -345,6 +345,7 @@ class dispatcher:
err
=
self
.
socket
.
connect_ex
(
address
)
if
err
in
(
EINPROGRESS
,
EALREADY
,
EWOULDBLOCK
)
\
or
err
==
EINVAL
and
os
.
name
in
(
'nt'
,
'ce'
):
self
.
addr
=
address
return
if
err
in
(
0
,
EISCONN
):
self
.
addr
=
address
...
...
Lib/doctest.py
Dosyayı görüntüle @
72c6227d
...
...
@@ -2314,7 +2314,8 @@ class DocTestCase(unittest.TestCase):
return
"Doctest: "
+
self
.
_dt_test
.
name
class
SkipDocTestCase
(
DocTestCase
):
def
__init__
(
self
):
def
__init__
(
self
,
module
):
self
.
module
=
module
DocTestCase
.
__init__
(
self
,
None
)
def
setUp
(
self
):
...
...
@@ -2324,7 +2325,10 @@ class SkipDocTestCase(DocTestCase):
pass
def
shortDescription
(
self
):
return
"Skipping tests from
%
s"
%
module
.
__name__
return
"Skipping tests from
%
s"
%
self
.
module
.
__name__
__str__
=
shortDescription
def
DocTestSuite
(
module
=
None
,
globs
=
None
,
extraglobs
=
None
,
test_finder
=
None
,
**
options
):
...
...
@@ -2372,7 +2376,7 @@ def DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None,
if
not
tests
and
sys
.
flags
.
optimize
>=
2
:
# Skip doctests when running with -O2
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
SkipDocTestCase
())
suite
.
addTest
(
SkipDocTestCase
(
module
))
return
suite
elif
not
tests
:
# Why do we want to do this? Because it reveals a bug that might
...
...
Lib/idlelib/NEWS.txt
Dosyayı görüntüle @
72c6227d
What's New in IDLE 2.7.3?
=======================
- Issue #3573: IDLE hangs when passing invalid command line args
(directory(ies) instead of file(s)).
What's New in IDLE 2.7.2?
=======================
...
...
Lib/idlelib/PyShell.py
Dosyayı görüntüle @
72c6227d
...
...
@@ -1412,8 +1412,10 @@ def main():
if
enable_edit
:
if
not
(
cmd
or
script
):
for
filename
in
args
:
flist
.
open
(
filename
)
for
filename
in
args
[:]:
if
flist
.
open
(
filename
)
is
None
:
# filename is a directory actually, disconsider it
args
.
remove
(
filename
)
if
not
args
:
flist
.
new
()
if
enable_shell
:
...
...
Misc/NEWS
Dosyayı görüntüle @
72c6227d
...
...
@@ -30,6 +30,15 @@ Core and Builtins
Library
-------
-
Issue
#
12757
:
Fix
the
skipping
of
doctests
when
python
is
run
with
-
OO
so
that
it
works
in
unittest
's verbose mode as well as non-verbose mode.
- Issue #3573: IDLE hangs when passing invalid command line args
(directory(ies) instead of file(s)) (Patch by Guilherme Polo)
- Issue #13694: asynchronous connect in asyncore.dispatcher does not set addr
attribute.
- Issue #10484: Fix the CGIHTTPServer'
s
PATH_INFO
handling
problem
.
-
Issue
#
11199
:
Fix
the
with
urllib
which
hangs
on
particular
ftp
urls
.
...
...
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