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
a562ed01
Kaydet (Commit)
a562ed01
authored
Agu 01, 2012
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #8847: Merge with 3.2
üst
d49b3232
4c1730db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletion
+19
-1
test_list.py
Lib/test/test_list.py
+8
-0
test_tuple.py
Lib/test/test_tuple.py
+8
-0
NEWS
Misc/NEWS
+2
-0
pginstrument.vsprops
PC/VS9.0/pginstrument.vsprops
+1
-1
No files found.
Lib/test/test_list.py
Dosyayı görüntüle @
a562ed01
...
@@ -98,6 +98,14 @@ class ListTest(list_tests.CommonTest):
...
@@ -98,6 +98,14 @@ class ListTest(list_tests.CommonTest):
d
=
pickle
.
dumps
(
it
)
d
=
pickle
.
dumps
(
it
)
self
.
assertEqual
(
self
.
type2test
(
it
),
self
.
type2test
(
reversed
(
data
))[
1
:])
self
.
assertEqual
(
self
.
type2test
(
it
),
self
.
type2test
(
reversed
(
data
))[
1
:])
def
test_no_comdat_folding
(
self
):
# Issue 8847: In the PGO build, the MSVC linker's COMDAT folding
# optimization causes failures in code that relies on distinct
# function addresses.
class
L
(
list
):
pass
with
self
.
assertRaises
(
TypeError
):
(
3
,)
+
L
([
1
,
2
])
def
test_main
(
verbose
=
None
):
def
test_main
(
verbose
=
None
):
support
.
run_unittest
(
ListTest
)
support
.
run_unittest
(
ListTest
)
...
...
Lib/test/test_tuple.py
Dosyayı görüntüle @
a562ed01
...
@@ -193,6 +193,14 @@ class TupleTest(seq_tests.CommonTest):
...
@@ -193,6 +193,14 @@ class TupleTest(seq_tests.CommonTest):
d
=
pickle
.
dumps
(
it
)
d
=
pickle
.
dumps
(
it
)
self
.
assertEqual
(
self
.
type2test
(
it
),
self
.
type2test
(
reversed
(
data
))[
1
:])
self
.
assertEqual
(
self
.
type2test
(
it
),
self
.
type2test
(
reversed
(
data
))[
1
:])
def
test_no_comdat_folding
(
self
):
# Issue 8847: In the PGO build, the MSVC linker's COMDAT folding
# optimization causes failures in code that relies on distinct
# function addresses.
class
T
(
tuple
):
pass
with
self
.
assertRaises
(
TypeError
):
[
3
,]
+
T
((
1
,
2
))
def
test_main
():
def
test_main
():
support
.
run_unittest
(
TupleTest
)
support
.
run_unittest
(
TupleTest
)
...
...
Misc/NEWS
Dosyayı görüntüle @
a562ed01
...
@@ -276,6 +276,8 @@ Tests
...
@@ -276,6 +276,8 @@ Tests
Build
Build
-----
-----
-
Issue
#
8847
:
Disable
COMDAT
folding
in
Windows
PGO
builds
.
-
Issue
#
14018
:
Fix
OS
X
Tcl
/
Tk
framework
checking
when
using
OS
X
SDKs
.
-
Issue
#
14018
:
Fix
OS
X
Tcl
/
Tk
framework
checking
when
using
OS
X
SDKs
.
-
Issue
#
15431
:
Add
_freeze_importlib
project
to
regenerate
importlib
.
h
-
Issue
#
15431
:
Add
_freeze_importlib
project
to
regenerate
importlib
.
h
...
...
PC/VS9.0/pginstrument.vsprops
Dosyayı görüntüle @
a562ed01
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<Tool
<Tool
Name=
"VCLinkerTool"
Name=
"VCLinkerTool"
OptimizeReferences=
"2"
OptimizeReferences=
"2"
EnableCOMDATFolding=
"
2
"
EnableCOMDATFolding=
"
1
"
LinkTimeCodeGeneration=
"2"
LinkTimeCodeGeneration=
"2"
ProfileGuidedDatabase=
"$(SolutionDir)$(PlatformName)-pgi\$(TargetName).pgd"
ProfileGuidedDatabase=
"$(SolutionDir)$(PlatformName)-pgi\$(TargetName).pgd"
ImportLibrary=
"$(OutDirPGI)\$(TargetName).lib"
ImportLibrary=
"$(OutDirPGI)\$(TargetName).lib"
...
...
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