summaryrefslogtreecommitdiffstats
path: root/ext/python/Tools/freeze
Commit message (Collapse)AuthorAgeFilesLines
* Python3: avoid dict.keys and don't try sorting keysChristian Mollekopf2022-08-251-3/+1
|
* [Python 3] Use new exception syntax, part 2Christoph Erhardt2022-01-111-1/+1
| | | | | | | | | | | | | 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
* [Python 3] Get rid of .has_key()Christoph Erhardt2022-01-101-2/+2
| | | | | | | | | | | | 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
* [Python 3] Remove unnecessary occurrences of .keys()Christoph Erhardt2022-01-102-2/+2
| | | | | | | | | | | | | | | | 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
* [Python 3] Use new exception syntaxChristoph Erhardt2022-01-103-5/+5
| | | | | | | | | | | | 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
* [Python 3] Use print() as function instead of statementChristoph Erhardt2022-01-106-82/+82
| | | | | | | | | | | | | | | 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
* Fix some typos found by the spelling linterJeroen van Meeuwen (Kolab Systems)2015-04-142-2/+2
|
* Link against the dynamic library instead of the static libraryJeroen van Meeuwen (Kolab Systems)2011-03-131-1/+1
|
* Take into account the library directory for multi-architecture compatibility ↵Jeroen van Meeuwen (Kolab Systems)2011-03-131-2/+8
| | | | (i.e. /usr/lib/ vs. /usr/lib64/)
* Import external utility freeze.py from r88552Jeroen van Meeuwen (Kolab Systems)2011-03-1342-0/+4378
URL http://svn.python.org/projects/python/trunk/Tools/freeze