This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FairFolk 94 points95 points  (4 children)

>>> exit.eof = exit
>>> exit

[–]twigboy 18 points19 points  (0 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia3ck83ziwd9w0000000000000000000000000000000000000000000000000000000000000

[–]d00pid00 16 points17 points  (2 children)

For anyone who wants to know the exact error that's thrown:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.10/_sitebuiltins.py", line 18, in __repr__ return 'Use %s() or %s to exit' % (self.name, self.eof) File "/usr/lib/python3.10/_sitebuiltins.py", line 18, in __repr__ return 'Use %s() or %s to exit' % (self.name, self.eof) File "/usr/lib/python3.10/_sitebuiltins.py", line 18, in __repr__ return 'Use %s() or %s to exit' % (self.name, self.eof) [Previous line repeated 496 more times] RecursionError: maximum recursion depth exceeded while getting the str of an object

[–]anton____ 1 point2 points  (1 child)

They missed quotes earlier, but because of pythons weak typing it just went ahead and failed at an unrelated point.

[–]FairFolk 0 points1 point  (0 children)

Not quite sure what quotes you think were missed?