Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab8a5be

Browse files
Fix links to old SF bugs (#95648)
1 parent 5b6acba commit ab8a5be

16 files changed

Lines changed: 23 additions & 23 deletions

Lib/test/crashers/infinite_loop_re.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# This was taken from http://python.org/sf/1541697
2+
# This was taken from https://bugs.python.org/issue1541697
33
# It's not technically a crasher. It may not even truly be infinite,
44
# however, I haven't waited a long time to see the result. It takes
55
# 100% of CPU while running this and should be fixed.

Lib/test/test_configparser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def basic_test(self, cf):
114114

115115
# The use of spaces in the section names serves as a
116116
# regression test for SourceForge bug #583248:
117-
# http://www.python.org/sf/583248
117+
# https://bugs.python.org/issue583248
118118

119119
# API access
120120
eq(cf.get('Foo Bar', 'foo'), 'bar1')
@@ -932,7 +932,7 @@ def test_items(self):
932932
('name', 'value')])
933933

934934
def test_safe_interpolation(self):
935-
# See http://www.python.org/sf/511737
935+
# See https://bugs.python.org/issue511737
936936
cf = self.fromstring("[section]\n"
937937
"option1{eq}xxx\n"
938938
"option2{eq}%(option1)s/xxx\n"

Lib/test/test_ctypes/test_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ class S8I(Structure):
371371
(9*2, 8*3, 7*4, 6*5, 5*6, 4*7, 3*8, 2*9))
372372

373373
def test_sf1651235(self):
374-
# see https://www.python.org/sf/1651235
374+
# see https://bugs.python.org/issue1651235
375375

376376
proto = CFUNCTYPE(c_int, RECT, POINT)
377377
def callback(*args):

Lib/test/test_ctypes/test_loading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_1703286_A(self):
9393
# NOT fit into a 32-bit integer. FreeLibrary must be able
9494
# to accept this address.
9595

96-
# These are tests for https://www.python.org/sf/1703286
96+
# These are tests for https://bugs.python.org/issue1703286
9797
handle = LoadLibrary("advapi32")
9898
FreeLibrary(handle)
9999

Lib/test/test_descr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ def __delattr__(self, name):
845845
("getattr", "foo"),
846846
("delattr", "foo")])
847847

848-
# http://python.org/sf/1174712
848+
# https://bugs.python.org/issue1174712
849849
try:
850850
class Module(types.ModuleType, str):
851851
pass

Lib/test/test_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def testSetBufferSize(self):
217217
self._checkBufferSize(1)
218218

219219
def testTruncateOnWindows(self):
220-
# SF bug <http://www.python.org/sf/801631>
220+
# SF bug <https://bugs.python.org/issue801631>
221221
# "file.truncate fault on windows"
222222

223223
f = self.open(TESTFN, 'wb')

Lib/test/test_fileio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def testTruncate(self):
503503

504504
def testTruncateOnWindows(self):
505505
def bug801631():
506-
# SF bug <http://www.python.org/sf/801631>
506+
# SF bug <https://bugs.python.org/issue801631>
507507
# "file.truncate fault on windows"
508508
f = self.FileIO(TESTFN, 'w')
509509
f.write(bytes(range(11)))

Lib/test/test_getopt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_do_longs(self):
8383

8484
# Much like the preceding, except with a non-alpha character ("-") in
8585
# option name that precedes "="; failed in
86-
# http://python.org/sf/126863
86+
# https://bugs.python.org/issue126863
8787
opts, args = getopt.do_longs([], 'foo=42', ['foo-bar', 'foo=',], [])
8888
self.assertEqual(opts, [('--foo', '42')])
8989
self.assertEqual(args, [])

Lib/test/test_grammar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ def test_selectors(self):
15921592
s = a[-5:]
15931593
s = a[:-1]
15941594
s = a[-4:-3]
1595-
# A rough test of SF bug 1333982. http://python.org/sf/1333982
1595+
# A rough test of SF bug 1333982. https://bugs.python.org/issue1333982
15961596
# The testing here is fairly incomplete.
15971597
# Test cases should include: commas with 1 and 2 colons
15981598
d = {}

Lib/test/test_lib2to3/data/py2_test_grammar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def testSelectors(self):
735735
s = a[-5:]
736736
s = a[:-1]
737737
s = a[-4:-3]
738-
# A rough test of SF bug 1333982. https://python.org/sf/1333982
738+
# A rough test of SF bug 1333982. https://bugs.python.org/issue1333982
739739
# The testing here is fairly incomplete.
740740
# Test cases should include: commas with 1 and 2 colons
741741
d = {}

0 commit comments

Comments
 (0)