view roundup/anypy/my_input.py @ 5555:7b663b588292 REST-rebased

Don't pass huge itemids into the backend. [[Ralf Schlatterbeck: Note that the original patch wasn't python3 compatible and used long instead of int. Verified that python2.7 can deal with long numeric strings, e.g. 2**64 * 10: int("184467440737095516160")]] committer: Ralf Schlatterbeck <rsc@runtux.com>
author martin.v.loewis <martin.v.loewis>
date Tue, 29 Jan 2019 15:13:44 +0100
parents 4cf48ff01e04
children
line wrap: on
line source

try:
    # Python 2.
    my_input = raw_input
except NameError:
    # Python 3+.
    my_input = input

Roundup Issue Tracker: http://roundup-tracker.org/