Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/test/test_longexp.py

5 lines
61 B
Python
Raw Normal View History

Charles G. Waldman <cgq@fnal.gov>: Update the test suite for the changes introduced by the EXTENDED_ARG opcode. This closes the regression test changes of SourceForge patch #100893.
2000-08-24 00:35:38 +00:00
REPS = 65580
verify that Python raises SyntaxError for long and deeply-nested expressions
2000-06-20 19:13:27 +00:00
Make reindent.py happy (convert everything to 4-space indents!).
2000-10-23 17:22:08 +00:00
l = eval("[" + "2," * REPS + "]")
print len(l)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 390ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API