summaryrefslogtreecommitdiff
path: root/Cython/Compiler/Main.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix timestamps option to work when generating a C++ output file and whenIan Henriksen2016-04-301-15/+21
| | | | writing output file to a specified location.
* Allow output file to be a dir. E.g. 'cython -o . /path/somefile.pyx'Björn Dahlgren2015-10-091-6/+11
|
* make 'basestring' usages compatible with Py2/Py3Stefan Behnel2015-07-251-0/+5
|
* 2to3: Apply the 'except' fixerPetr Viktorin2015-07-251-2/+2
|
* Do not search sys.path for .pxd file if no explicit "cimport" is givenJeroen Demeyer2015-07-031-6/+12
|
* clean up decoding error reporting by counting lines instead of reading ↵Stefan Behnel2015-05-301-22/+19
| | | | single characters to find the error position
* remove usage of deprecated "U" file open mode flag which is enabled anywayStefan Behnel2015-05-301-8/+2
|
* intern identifier names in parser to save memoryStefan Behnel2015-04-241-1/+24
| | | | make sure all identifiers are EncodedString objects
* Rename module to __main__ in embed mode.Robert Bradshaw2015-04-241-2/+2
| | | | | | This is more consistent with the execution of "python foo.py" and also allows for compilation of files that don't obey the module naming rules.
* prevent fallback to absolute cimport when relative cimport is not found; ↵Stefan Behnel2015-04-051-11/+26
| | | | generally clean up relative cimport code
* enable true division for language_level=3Stefan Behnel2015-03-201-2/+2
|
* integrate coverage report into annotated HTML source pageStefan Behnel2015-02-261-0/+1
|
* Add a mechanism to store metadata in the generated output file.Robert Bradshaw2015-02-041-1/+4
| | | | | | This will be useful for, e.g., implementing a fake cythonize that can leverage the deductions made by the real cythonize, but could have other uses as well.
* Merge branch 'formal grammar'Robert Bradshaw2015-01-171-0/+11
|\
| * Merge branch 'master' into grammarRobert Bradshaw2014-10-131-11/+16
| |\
| * | Parse files with standard Python grammar.Robert Bradshaw2014-08-211-1/+5
| | |
| * | Add option to use formal grammar.Robert Bradshaw2014-08-211-0/+7
| | |
* | | reformat some codeStefan Behnel2014-11-051-5/+3
| |/ |/|
* | turn cythonize() error on unknown compilation options into a warningStefan Behnel2014-10-121-3/+6
| |
* | fix broken name reference (probably after an incomplete refactoring)Stefan Behnel2014-10-091-3/+2
| | | | | | | | | | --HG-- extra : transplant_source : %5ET%93%08%03d%EFC%C5X%D7%03%28%C4%EF%1DO%CC%1A%7C
* | fix open file leakStefan Behnel2014-09-251-4/+5
| | | | | | | | | | --HG-- extra : transplant_source : 7%EC%04%1F%89%F6%AA%8C%7Fl%B5D%DA%D5%CAF%B7%A70%0D
* | provide "Cython.Compiler.Main.Version" to keep supporting old PyTables ↵Stefan Behnel2014-09-111-1/+3
|/ | | | | | | versions that import it from there --HG-- extra : transplant_source : %B1%BC%5C%CD%A6%EEmr4B%0F%AF%1C%E0yq9%EA%ADX
* Print missing pxd files as path.Robert Bradshaw2014-08-111-1/+1
|
* explicitly reject unknown compiler options to make cythonize() less ↵Stefan Behnel2014-06-251-1/+13
| | | | unfriendly to use
* use explicit relative imports everywhere and enable absolute imports by defaultStefan Behnel2014-06-171-15/+21
|
* implement relative cimports and fix some general issues with relative importsStefan Behnel2014-06-171-4/+4
|
* be more informative about current Python version when it's too old (might be ↵Stefan Behnel2014-06-171-1/+1
| | | | automatically selected by shebang)
* Restore some over-eager 3.1 removals.Robert Bradshaw2014-02-221-2/+2
|
* Check for Python 2.6+Robert Bradshaw2014-02-221-4/+4
|
* replace open(filepath).read() anti-pattern by code that safely and timely ↵Stefan Behnel2014-01-161-1/+8
| | | | closes the file
* Use default location ~/.cycache when cython cache is set to True.Robert Bradshaw2013-12-111-0/+5
|
* Merge pull request #230 from nnemkin/pxd_errors_fixscoder2013-07-141-1/+2
|\ | | | | Do not abort .pxd processing due to previous unrelated errors.
| * Do not abort .pxd processing due to previous unrelated errors.Nikita Nemkin2013-05-211-1/+2
| |
* | Share utility code between modules.Robert Bradshaw2013-05-271-0/+1
| |
* | Remove broken recursive option.Robert Bradshaw2013-05-271-19/+3
|/
* minor code cleanupStefan Behnel2013-04-201-1/+1
|
* Merge pull request #142 from mongi3/masterscoder2012-10-121-0/+4
|\ | | | | Added "--capi-reexport-cincludes" option
| * added "--capi-reexport-cincludes" optionmongi32012-08-111-0/+4
| |
* | enable 'binding' directive by default when compiling .py filesStefan Behnel2012-08-231-5/+17
| |
* | fix for passing language_level externally as compiler directiveStefan Behnel2012-08-161-0/+2
| |
* | fix name setup for package __init__ modules, make sure package is registered ↵Stefan Behnel2012-08-151-2/+0
| | | | | | | | when importing its __init__ module; fixes initial_file_path test in Py3.3
* | fix undefined variable 'context' in compile_multiple()Stefan Behnel2012-08-151-5/+10
|/
* support 'from __future__ import absolute_import'Stefan Behnel2012-08-111-3/+2
|
* require Py2.4+Stefan Behnel2012-07-241-2/+2
|
* cythonize performance improvements for large codebasesRobert Bradshaw2012-05-231-62/+5
|
* Revert "More hacks for numpy 1.7: Check for Includes/numpy.pxd"Robert Bradshaw2012-04-141-4/+2
| | | | | | | | This reverts commit 6f2271d2b3390d869a53d15b2b70769df029b218. Conflicts: Cython/Compiler/ParseTreeTransforms.py
* More hacks for numpy 1.7: Check for Includes/numpy.pxdDag Sverre Seljebotn2012-04-101-2/+4
|
* Provide portable error messages for source file decoding errorsMark Florisson2012-02-251-2/+20
|
* Search for pxd files in sys.path.Bradley M. Froehle2012-02-241-2/+5
|
* Allow conditional compilation environment in distutilsMark Peek2012-01-141-0/+1
| | | | | | | | | This commit allows you to pass in variables for the conditional compilation feature from distutils. This allows you to do fairly complex autoconf-type checks from setup.py and pass the results in to the compiler. This is an update to the change in ticket #323 here: http://trac.cython.org/cython_trac/ticket/323