| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
These two hunks were supposed to be part of
991255eaa314b51e2dd586460311d4633a56eb86 but got dropped in an
auto-merge.
Reviewers: mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3250
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
`dict.has_key(key)` was dropped in Python 3.0. Use `key in dict`
instead.
Reviewers: machniak, mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The following cases are covered:
* for key in dict
* if key in dict
* len(dict)
This will make life easier for futurize.
Reviewers: machniak, mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3235
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The new syntax was introduced in Python 2.6; the old syntax was
deprecated in Python 3.0.
Reviewers: machniak, mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3232
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
print() has been a function since Python 2.6; the old behaviour was
dropped in Python 3.0.
To use the named file argument in Python 2, we need to import
print_function from the __future__ module.
Reviewers: machniak, mollekopf
Reviewed By: mollekopf
Differential Revision: https://git.kolab.org/D3229
|
| |
|
| |
|
|
|
|
| |
(i.e. /usr/lib/ vs. /usr/lib64/)
|
|
URL http://svn.python.org/projects/python/trunk/Tools/freeze
|