11 Commits

Author SHA1 Message Date
Kovid Goyal
d9ab752f94
DRYer 2019-03-25 18:54:01 +05:30
Kovid Goyal
5d46f5fbeb
Get rid of iterkeys
dict.__iter__() is the same as iterkeys on both py2 and py3
2019-03-25 14:31:32 +05:30
Kovid Goyal
dc274d8c1c
Use ABC to test for numbers type
This is important as long does not exist on py3 and anyway using an ABC
is more robust.  Also fix a few uses of long() for py3.
2019-03-16 12:17:14 +05:30
Kovid Goyal
dbcb63c290
Ensure worker env keys are bytes/unicodeon py2/3 2019-03-15 21:45:54 +05:30
Kovid Goyal
55151a3cdd
Get rid of basestring 2019-03-13 14:57:26 +05:30
Kovid Goyal
5b76089839
Various py3 related fixes exposed by the unicode patch 2019-03-13 06:41:39 +05:30
Eli Schwartz
cbc42bec23
python3: add unicode/unichr wrappers to polyglot 2019-03-13 06:41:38 +05:30
Eli Schwartz
8e853a3ff8 python3: add polyglot compat layer for builtins / __builtin__ 2019-02-20 23:05:04 -05:00
Kovid Goyal
f39f3951f4
dict fixes in the setup package 2018-09-10 20:54:35 +05:30
Kovid Goyal
5234e43f0e
Port future_builtins to polyglot 2018-09-10 20:12:01 +05:30
Kovid Goyal
b1435f9b44
Replace the six module with the polyglot module 2018-09-10 15:46:56 +05:30