Jeremy Andrews
74762d6567
Issue #2974 - Part 41: Update configobj to version 5.
...
This version is compatible with Python 3 already.
2026-03-14 20:12:48 -05:00
Jeremy Andrews
7abb343363
Issue #2974 - Part 18: Use str instead of unicode.
...
The standard str is unicode now...
2to3 . --fix unicode -wpn
Ref:
https://docs.python.org/3/whatsnew/3.0.html
2026-03-05 21:38:47 -06:00
Jeremy Andrews
5fdc8dd723
Issue #2974 - Part 13: Adapt octal number syntax.
...
Used to be like C, with 0755 or something, now it's
0o755. Also, long and int are the same type now.
2to3 . --fix numliterals -wpn
2to3 . --fix long -wpn
Ref: PEP 3127, PEP 237
https://peps.python.org/pep-3127/
https://peps.python.org/pep-0237/
2026-03-04 20:03:01 -06:00
Jeremy Andrews
2f37a44b8f
Issue #2974 - Part 11: Adapt iterator.next().
...
2to3 . --fix next -wpn
Ref: PEP 3114
https://peps.python.org/pep-3114/
2026-03-04 18:39:49 -06:00
Jeremy Andrews
46f126c10c
Issue #2974 - Part 8: Adapt except
...
2to3 . --fix except -wpn
Python 3 exception syntax is different. Comma-based syntax is gone,
much like print syntax is changed.
This lets you have the old behavior. Mechanical.
Ref: PEP 3110
https://peps.python.org/pep-3110/
2026-03-04 15:00:58 -06:00
Jeremy Andrews
8c0f0ccdcf
Issue #2974 - Part 6: Adapt dict
...
2to3 . --fix dict -wpn
Py2 dict was a list by default, the iterator versions
were switched around to be the default.
This lets you have the old behavior. Mechanical.
Ref: PEP 3106
https://peps.python.org/pep-3106/
2026-03-04 13:56:53 -06:00
Jeremy Andrews
112c119477
Issue #2974 - Part 5: Adapt zip
...
2to3 . --fix zip -wpn
Py2 zip was a list, now zip is an iterator.
This lets you have the old behavior. Mechanical.
Ref:
https://www.artima.com/weblogs/viewpost.jsp?thread=208549
2026-03-04 13:29:40 -06:00
Jeremy Andrews
ec4f21e5e3
Issue #2974 - Part 4: Adapt map
...
2to3 . --fix map -wpn
Py2 map was a list, now map is an iterator.
This lets you have the old behavior. Mechanical.
Ref:
https://www.artima.com/weblogs/viewpost.jsp?thread=208549
2026-03-04 13:22:20 -06:00
Matt A. Tobin
5f8de423f1
Add m-esr52 at 52.6.0
2018-02-02 04:16:08 -05:00