summaryrefslogtreecommitdiff
path: root/Cython/Utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a "CYTHON_HEX_VERSION" macro in the style of PY_HEX_VERSION that user ↵Stefan Behnel2018-08-261-0/+24
| | | | code can use to detect the Cython version that generated the main module.
* Try to reduce test log clutter in MSVC output.Stefan Behnel2018-08-251-1/+3
|
* fail early if module is called cython (and not submodule)Egor Dranischnikow2018-07-151-1/+1
|
* 1) unifies handling of "cython cython.pyx" and "cythonize cython.pyx" - both ↵Egor Dranischnikow2018-06-291-0/+6
| | | | | | raise an error now. 2) makes the check robuster also "cythonize xxx/cython.pyx" fails now.
* CYTHON_CACHE_DIR also sets the compiler cacheJulian Rüth2018-05-041-1/+2
| | | | so far only the inline cache looked at that environment variable
* Add tests for CyCache.Robert Bradshaw2018-05-031-0/+5
|
* More determinism in fused types.Robert Bradshaw2017-03-281-0/+16
|
* Minor clarifications.Robert Bradshaw2016-02-201-1/+1
|
* Optimize dependency checkingJeroen Demeyer2015-10-281-0/+29
|
* handle "-" sign in str_to_number() helperStefan Behnel2015-09-211-5/+10
|
* revert integer literal suffixing again and instead generate C hex literals ↵Stefan Behnel2015-09-061-10/+0
| | | | if no suffix is used to make the C compiler consider unsigned types for their values (see C standard 6.4.4)
* rewrite literal DEF integer coercion to constants:Stefan Behnel2015-09-051-0/+10
| | | | | - append U-suffix only on coercion when the target type is unsigned - append L/LL-suffix when value looks too large for a smaller constant value type
* adapt metaclass usage to Py2/Py3Stefan Behnel2015-07-261-0/+17
|
* adapt 'unicode' usage to Py2/Py3Stefan Behnel2015-07-261-9/+8
|
* make 'basestring' usages compatible with Py2/Py3Stefan Behnel2015-07-251-0/+7
|
* remove usage of deprecated "U" file open mode flag which is enabled anywayStefan Behnel2015-05-301-9/+4
|
* teach Cython.Coverage about "pkg.mod.pyx" file name patternsStefan Behnel2015-02-211-0/+1
|
* Handle @cname laziness.Robert Bradshaw2014-07-131-0/+13
|
* improve presentation of C compiler stderr/stdout output in test runnerStefan Behnel2014-05-031-6/+8
|
* another Py3 fixStefan Behnel2014-05-031-1/+1
|
* make print_bytes() helper terminate output with line endingStefan Behnel2014-05-021-0/+2
|
* add helper for passing collected bytes output through to sys.stdoutStefan Behnel2014-05-021-0/+9
|
* fix stderr test output printing in Py3Stefan Behnel2014-05-021-2/+8
|
* move file descriptor redirecting to Cython.Utils package and use it as ↵Stefan Behnel2014-05-021-0/+36
| | | | context manager in test runner
* Directory with __init__.pyc file is a package dirAlok Singhal2014-04-281-0/+1
| | | Consider a directory with __init__.pyc as a package directory.
* revert to using codecs.open() for output files instead of io.open() as the ↵Stefan Behnel2014-03-231-1/+4
| | | | latter cannot write str objects in text mode under Py2 (and we erroneously do that in some spots)
* make encoding detection code a bit faster if the first two source file lines ↵Stefan Behnel2014-03-221-17/+22
| | | | are longer than 250 bytes
* remove some legacy Py2.[45] codeStefan Behnel2014-03-221-87/+13
|
* remove some legacy Py2.[345] codeStefan Behnel2014-03-221-9/+5
|
* ignore UTF-8 BOMs at the beginning of source filesStefan Behnel2013-09-301-4/+21
|
* reformat codeStefan Behnel2013-07-271-32/+35
|
* More efficient find_root_package_dir.Robert Bradshaw2013-05-101-6/+6
|
* tiny doc fixRobert Bradshaw2012-05-311-1/+1
|
* store inline cython in cache/inlineMinRK2012-05-311-2/+2
| | | | | | | allows orthogonal data to be put in the cache dir. default inline location unchanged (~.cython/inline), but get_cython_dir() is .cython, not .cython/inline.
* add CYTHON_CACHE_DIR envMinRK2012-05-301-0/+29
| | | | | | | | | | resolution for the Cython cache dir: 1. CYTHON_CACHE_DIR env if defined 2. platform cache dir - (OS X): ~/Library/Caches/Cython if ~/Library/Caches exists - (posix not OS X): XDG_CACHE_HOME/cython if XDG_CACHE_HOME defined 3. ~/.cython/inline
* cythonize performance improvements for large codebasesRobert Bradshaw2012-05-231-13/+143
|
* fix Py3k compiler crash due to new importlibStefan Behnel2012-04-161-9/+11
|
* slight code simplificationStefan Behnel2012-03-141-4/+2
|
* removed unused importsStefan Behnel2011-11-131-1/+0
| | | | | --HG-- extra : rebase_source : df1d95506044267a1e945fbc5672af66f8ee022d
* Fix some style issuesMark Florisson2011-10-051-1/+1
|
* merge -- working fused types, broken cython testscopeMark Florisson2011-10-021-8/+4
|\
| * MemoryViewSlice indexing and object coercion + MemoryView indexingMark Florisson2011-09-301-7/+1
| |
| * Change memview access and packing modifier constantsMark Florisson2011-09-301-2/+1
| |
| * py23 compatMark Florisson2011-09-301-0/+2
| |
* | Fix compiler crash with type inferencing and add all() and any() to UtilsMark Florisson2011-04-271-0/+18
|/
* Remove trailing whitespace.Robert Bradshaw2010-12-131-2/+2
|
* Py < 2.6 fix.Robert Bradshaw2010-11-031-1/+1
|
* fix newline normalisation on stream.readlines() for Py<=2.5Stefan Behnel2010-09-091-3/+3
|
* merged in latest cython-develStefan Behnel2010-07-141-2/+4
|\
| * always use decoded filenames in FileSourceDescriptorStefan Behnel2010-06-301-2/+4
| |