Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Feb 28, 2019

  • Rename globals to upper case to better distinguish if a variable is
    global or locale:

    • Rename cross_compiling to CROSS_COMPILING
    • Rename host_platform to HOST_PLATFORM
    • Rename disabled_module_list to DISABLED_MODULE_LIST
  • Add MS_WINDOWS, CYGWIN and MACOS constants.

  • Use booleans: replace "return 0" with "return False"
    and replace "return 1" with "return True"

https://bugs.python.org/issue36146

* Rename globals to upper case to better distinguish if a variable is
  global or locale:

  * Rename cross_compiling to CROSS_COMPILING
  * Rename host_platform to HOST_PLATFORM
  * Rename disabled_module_list to DISABLED_MODULE_LIST

* Add MS_WINDOWS, CYGWIN and MACOS constants.
* Use booleans: replace "return 0" with "return False"
  and replace "return 1" with "return True"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants