Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBuiltin some modules in python3, but not in python2 #182
Conversation
4cee098
to
afb4dee
|
Is there a way to look up the actual build and test logs? Can't say that the CDash output is particular interesting or helpful. |
|
@adrianbroher Build log can be retrieved from travis or appveyor. In the case of this PR, that would be by clicking on any of the python version reported here: |
|
Also thanks for the PR With the current patch, it looks like we could get |
Both upstream Linux and MacOSX python2 builds don't include any of the `time`,
`datetime` or `_collections` extension as libpython builtin, but include `time`
, `_functools` and `itertools` as python3 libpython builtin.
On Fedora Linux 25 with python 2.7.13:
```
$ python2 -c 'import sys ; print sys.version, "\n", sys.builtin_module_names'
2.7.13 (default, Jan 12 2017, 17:59:37)
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)]
('__builtin__', '__main__', '_ast', '_codecs', '_sre', '_symtable', '_warnings', '_weakref', 'errno', 'exceptions', 'gc', 'imp', 'marshal', 'posix', 'pwd', 'signal', 'sys', 'thread', 'zipimport')
```
On Fedora Linux 25 with python
```
$ python3 -c 'import sys ; print (sys.version, "\n", sys.builtin_module_names)'
3.5.2 (default, Sep 14 2016, 11:28:32)
[GCC 6.2.1 20160901 (Red Hat 6.2.1-1)]
('_ast', '_codecs', '_collections', '_functools', '_imp', '_io', '_locale', '_operator', '_signal', '_sre', '_stat', '_string', '_symtable', '_thread', '_tracemalloc', '_warnings', '_weakref', 'atexit', 'builtins', 'errno', 'faulthandler', 'gc', 'itertools', 'marshal', 'posix', 'pwd', 'sys', 'time', 'xxsubtype', 'zipimport')
```
On MacOSX 10.11.6 with python 2.7.10:
```
python -c 'import sys ; print sys.version, "\n", sys.builtin_module_names'
2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
('__builtin__', '__main__', '_ast', '_codecs', '_sre', '_symtable', '_warnings', '_weakref', 'errno', 'exceptions', 'gc', 'imp', 'marshal', 'posix', 'pwd', 'signal', 'sys', 'thread', 'xxsubtype', 'zipimport')
```
Both upstream Linux and MacOSX python2 builds don't include any of the
time,datetimeor_collectionsextension as libpython builtin, but includetime,
_functoolsanditertoolsas python3 libpython builtin.On Fedora Linux 25 with python 2.7.13:
On Fedora Linux 25 with python 3.5.2
On MacOSX 10.11.6 with python 2.7.10: