]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Set a reading order to the compatability import file
authorAgam Rafaeli <agam.rafaeli@gmail.com>
Mon, 17 Dec 2018 09:33:47 +0000 (11:33 +0200)
committerAgam Rafaeli <agam.rafaeli@gmail.com>
Mon, 17 Dec 2018 09:33:47 +0000 (11:33 +0200)
commitedf7c13b42b621e76c0dd9dbaa698d9e239bbc32
tree9c2bab1542d93abeff383113c270f8f1d27ed3f6
parentd4a130bb1b92869efe33675262c7b1fde364e477
Set a reading order to the compatability import file

The order is as follows:
1. Imports, in the same format of "import X"
2. Members denoting versions of python
3. Members of imports that are shadowed for usage across the system
4. Global variables
5. If conditions of imports. (internally organized by this order)
6. Function definitions
lib/sqlalchemy/util/compat.py