summaryrefslogtreecommitdiff
path: root/giscanner/collections
Commit message (Collapse)AuthorAgeFilesLines
* giscanner: Use unicode literals in all Python filesSimon Feltman2015-09-291-0/+1
| | | | | | | | | | | | Add unicode_literals future import which turns any string literal into a unicode string. Return unicode strings from the Python C extension module. Force writing of annotations (g-ir-annotation-tool) to output utf8 encoded data to stdout. This is an initial pass at following the "unicode sandwich" model of programming (http://nedbatchelder.com/text/unipain.html) needed for supporting Python 3. https://bugzilla.gnome.org/show_bug.cgi?id=679438
* giscanner: Use print as a function for Python 3 compatibilitySimon Feltman2015-09-291-0/+1
| | | | | | | Use future import "print_function" and update relevant uses of print as a function call. See: PEP 3105 https://bugzilla.gnome.org/show_bug.cgi?id=679438
* giscanner: Enable "true division" for all Python filesSimon Feltman2015-09-291-0/+1
| | | | | | | | | | Import Python 3 compatible "true division" from the future (PEP 238). This changes the Python 2 classic division which uses floor division on integers to true division. Verfied we don't actually use the division operator anywhere in the code base so this a safety for supporting both Python 2 and 3. https://bugzilla.gnome.org/show_bug.cgi?id=679438
* giscanner: Use absolute_import for all Python filesSimon Feltman2015-09-291-0/+1
| | | | | | Use absolute_import to ensure Python 3 compatibility of the code base. https://bugzilla.gnome.org/show_bug.cgi?id=679438
* scanner: remove stray debug spewDieter Verfaillie2015-04-191-1/+0
| | | | | remove stray debugging print statement introduced in db7ab0e797f755fb7ff273a2071d27fd62a2b7c7
* scanner: sync with upstream OrderedDictDieter Verfaillie2015-04-181-13/+26
| | | | Synced with https://github.com/zzzeek/sqlalchemy/commit/a4a826021fb6d77fadbdac0071616d7e5486e4d1
* giscanner: store indentation before the '*' of each lineDieter Verfaillie2013-10-082-0/+306
|
* giscanner: move odict.OrderedDict into a collections packageDieter Verfaillie2013-05-072-0/+142
because we'll add more related code to collections later on https://bugzilla.gnome.org/show_bug.cgi?id=699536