Skip to content

bpo-36763: _Py_InitializeFromArgs() argc becomes Py_ssize_t#13396

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:config_pyssizet
May 17, 2019
Merged

bpo-36763: _Py_InitializeFromArgs() argc becomes Py_ssize_t#13396
vstinner merged 1 commit intopython:masterfrom
vstinner:config_pyssizet

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 17, 2019

  • The type of initlization function 'argc' parameters becomes
    Py_ssize_t, instead of int.
  • Change _PyPreConfig_Copy() return type to void, instead of int.
    The function cannot fail anymore.
  • Fix compilation warnings on Windows.

https://bugs.python.org/issue36763

* The type of initlization function 'argc' parameters becomes
  Py_ssize_t, instead of int.
* Change _PyPreConfig_Copy() return type to void, instead of int.
  The function cannot fail anymore.
* Fix compilation warnings on Windows.
@vstinner
Copy link
Member Author

I checked AppVeyor: this change fixed all compiler warnings.

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