Open SylvainDe opened 3 weeks ago
I'll try to run git bisect between the versions of CPython to find the culprit and whether this was expected or not...
$ cat Lib/test/test_sdesodt/test_67.py
# make && make test TESTOPTS="-v test_sdesodt.test_67"
import unittest
class OldPrintChevronSyntaxTest(unittest.TestCase):
def test_toto(self):
with self.assertRaisesRegex(TypeError, 'Did you mean'):
with open('/dev/null', 'w') as f:
print >> f, 5
$ git bisect log
git bisect start
# bad: [3d4fda2165e7c97116e69d6efef187873b57d01f] gh-119793: Prefer `map(..., strict=True)` over starmap/zip in examples (#126407)
git bisect bad 3d4fda2165e7c97116e69d6efef187873b57d01f
# good: [2d7ff6e0e7d4c08ba84079a5c19a4a485626e1de] Restore decimal context after decimal doctests (GH-120149)
git bisect good 2d7ff6e0e7d4c08ba84079a5c19a4a485626e1de
# bad: [460ee5b994335994d4b5186c08f44e775b3e55fa] gH-80788: remove old weakset workaround for thread safety (#123388)
git bisect bad 460ee5b994335994d4b5186c08f44e775b3e55fa
# good: [6b98b274b60a15b490d2ea85069638c037b2a9cd] gh-76785: Expand How Interpreter Queues Handle Interpreter Finalization (gh-116431)
git bisect good 6b98b274b60a15b490d2ea85069638c037b2a9cd
# good: [4b63cd170e5dd840bffc80922f09f2d69932ff5c] gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577)
git bisect good 4b63cd170e5dd840bffc80922f09f2d69932ff5c
# bad: [05fc4d758aa9b731c722e6c1c18e1f5e54597393] gh-122985: add SYMBOL_TO_SCOPE macro in symtable (#122986)
git bisect bad 05fc4d758aa9b731c722e6c1c18e1f5e54597393
# good: [540fcc62f5da982b79504221cac01bfab8b73ba1] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664)
git bisect good 540fcc62f5da982b79504221cac01bfab8b73ba1
# good: [ea70439bd2b5a1c881342646f30942f527f61373] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (#122702)
git bisect good ea70439bd2b5a1c881342646f30942f527f61373
# bad: [ab094d1b2b348f670743f88e52d1a3f2cab5abd5] gh-117139: Replace _PyList_FromArraySteal with stack ref variant (#122830)
git bisect bad ab094d1b2b348f670743f88e52d1a3f2cab5abd5
# bad: [253c6a0b2f88b3327b7113860b99d665346fe43c] Fix typos in comments and test code (#122846)
git bisect bad 253c6a0b2f88b3327b7113860b99d665346fe43c
# good: [4534068f22f07a8ab9871bc16abf03c478ee2532] gh-119180: annotationlib: Fix __all__, formatting (#122365)
git bisect good 4534068f22f07a8ab9871bc16abf03c478ee2532
# good: [6aa35f3002dda25858d47e702e750e2871e42a7c] gh-122903: Honor directories in zipfile.Path.glob. (#122908)
git bisect good 6aa35f3002dda25858d47e702e750e2871e42a7c
[9375b9ca3a4998678ba74ff5c77ed540a4dcf887] Remove "print >>obj" exception hint for Python 2 (#122853)
Build: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/11652701227 Jobs: https://github.com/SylvainDe/DidYouMean-Python/actions/runs/11652701227/job/32444230093
It looks like the suggestion is not provided on 3.14.0a1 but is provided on the previous version: