Commit e0b16f53 authored by Stefan Behnel's avatar Stefan Behnel

remove 'from datetime cimport *' line from cpython/__init__.pxd as it refers...

remove 'from datetime cimport *' line from cpython/__init__.pxd as it refers to a separate module, not the core C-API

--HG--
extra : rebase_source : bafa0a661abe97868fe254b3ce2b5e63b8654990
parent 8db8c5ae
...@@ -29,6 +29,13 @@ Features added ...@@ -29,6 +29,13 @@ Features added
Bugs fixed Bugs fixed
---------- ----------
* A spurious "from datetime cimport *" was removed from the "cpython"
declaration package. This means that the "datetime" declarations
(added in 0.19) are no longer available directly from the "cpython"
namespace, but only from "cpython.datetime". This is the correct
way of doing it because the declarations refer to a standard library
module, not the core CPython C-API itself.
* The C code for extension types is now generated in topological order * The C code for extension types is now generated in topological order
instead of source code order to avoid C compiler errors about missing instead of source code order to avoid C compiler errors about missing
declarations for subtypes that are defined before their parent. declarations for subtypes that are defined before their parent.
......
...@@ -182,5 +182,3 @@ from cpython.pycapsule cimport * ...@@ -182,5 +182,3 @@ from cpython.pycapsule cimport *
################################################################# #################################################################
# END OF DEPRECATED SECTION # END OF DEPRECATED SECTION
################################################################# #################################################################
from cpython.datetime cimport *
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment