[Checkins] [zopefoundation/Acquisition] 80ad04: Update ExtensionClass header file.
GitHub
noreply at github.com
Mon Jan 30 10:20:32 CET 2017
Branch: refs/heads/c-extension-py3
Home: https://github.com/zopefoundation/Acquisition
Commit: 80ad0454caefe05d6307eb3426e84b6ff95ba089
https://github.com/zopefoundation/Acquisition/commit/80ad0454caefe05d6307eb3426e84b6ff95ba089
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
Changed paths:
M include/ExtensionClass/ExtensionClass.h
A include/ExtensionClass/_compat.h
Log Message:
-----------
Update ExtensionClass header file.
Also add the _compat.h from ExtensionClass. It is later used.
Commit: 898f5021899c3918372cefafc8f4a9df9b92c008
https://github.com/zopefoundation/Acquisition/commit/898f5021899c3918372cefafc8f4a9df9b92c008
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
Changed paths:
M setup.py
M src/Acquisition/Acquisition.h
M src/Acquisition/_Acquisition.c
Log Message:
-----------
Make Acquisition compiling and importable under python3.
Commit: 0988a87cf88365071bb45b6cee9248012034dd71
https://github.com/zopefoundation/Acquisition/commit/0988a87cf88365071bb45b6cee9248012034dd71
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-29 (Sun, 29 Jan 2017)
Changed paths:
M src/Acquisition/_Acquisition.c
Log Message:
-----------
Port and refactor Wrapper_as_number and Wrapper_as_sequence.
Commit: fb8e6ada95619d919d6ec0241fc82e28631bed01
https://github.com/zopefoundation/Acquisition/commit/fb8e6ada95619d919d6ec0241fc82e28631bed01
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
Changed paths:
M README.rst
M src/Acquisition/_Acquisition.c
M src/Acquisition/__init__.py
Log Message:
-----------
Let aq_inContextOf return True or False.
In python2 there are two integer types int/long.
In python3 there is only long.
So I could return
- always long: Changes the current API for python2.
- int in python2 and long in python3: Hard to write compatible code which depends on Acquisition.
I went with the third option return a bool now. Since the API changes
anyway in some kind, going to bool is much clener in my opinion.
Commit: 7590f34a633bcea54d946d6ec135530187be2abd
https://github.com/zopefoundation/Acquisition/commit/7590f34a633bcea54d946d6ec135530187be2abd
Author: stephan-hof <sh at axiros.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
Changed paths:
M src/Acquisition/_Acquisition.c
Log Message:
-----------
PyObject_LengthHint needs a TypeError to ignore missing __len__.
Compare: https://github.com/zopefoundation/Acquisition/compare/80ad0454caef^...7590f34a633b
More information about the checkins
mailing list