tests/test-schemes.out
author Renato Cunha <renatoc@gmail.com>
Wed, 14 Jul 2010 22:59:43 -0300
changeset 11565 7546d4a272c8
parent 11154 17031fea4e95
permissions -rw-r--r--
util: improved the check for the existence of the 'buffer' builtin 2to3 is unable to translate '__builtin__' calls to 'builtins' when hasattr is used (as in hasattr(__builtin__, buffer)). Translating the check to the format try: whatever except NameError # define whatever __builtin__.whatever = whatever is a correct way of checking for the name and has the benefit of being translated by 2to3. This patch implements the same idea for the aforementioned example.

adding a
comparing with l://
searching for changes
no changes found
% check that {1} syntax works
using http://localhost:/
sending between command
comparing with parts://localhost
sending heads command
searching for changes
no changes found
% check that paths are expanded
comparing with z://
searching for changes
no changes found
% errors