summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant code for Python <= 2.6Hugo2018-08-251-1/+1
|
* Properly integrate the compilation of _elementpath.py and some lxml.html ↵Stefan Behnel2017-08-111-1/+1
| | | | | | modules into the build process and exclude it in PyPy. Also finally rename lxml.etree.pyx and lxml.objectify.pyx to their correct module names and provide some legacy integration aid by keeping the original API header file names.
* Implement new API function "adopt_external_document()" that accepts a ↵Stefan Behnel2017-02-181-0/+1
| | | | PyCapsule with a libxml2 document pointer and wraps it in an lxml ElementTree
* replace IS_PYTHON3 C macro with IS_PYTHON2 before it starts looking funny in ↵Stefan Behnel2016-09-031-1/+2
| | | | Python 4.x :)
* fix several C compiler warnings in pypyStefan Behnel2015-04-101-8/+0
|
* for better symmetry, use lxml_malloc()/lxml_free() instead of ↵Stefan Behnel2015-03-011-0/+1
| | | | lxml_malloc()/PyMem_Free()
* use safer macros for memory allocation (adapted from PyMem_New() and ↵Stefan Behnel2015-03-011-0/+2
| | | | PyMem_Resize())
* some PyPy code cleanupsStefan Behnel2014-01-301-1/+1
|
* provide Py_UNICODE parsing fallback even in Py3.3+ (might be useful for ↵Stefan Behnel2014-01-161-1/+1
| | | | | | | Windows systems) --HG-- extra : amend_source : 2278c552b8be65e7eaf1075ec72f359cab4bd2ac
* try fixing build with MSVCStefan Behnel2014-01-081-1/+3
|
* optimise Unicode string parsing for PEP393 (Py3.3+)Stefan Behnel2014-01-021-0/+10
|
* remove some unnecessary C-ismsStefan Behnel2013-10-091-5/+0
|
* fix support for Py2.4Stefan Behnel2013-07-281-1/+1
|
* streamline QName comparison to other objectsStefan Behnel2013-07-281-0/+1
|
* remove some useless explicit usages of C-API calls from the code baseStefan Behnel2013-02-171-7/+0
|
* add compile time option for Py2 that makes the API always return Unicode ↵Stefan Behnel2012-12-211-0/+1
| | | | strings for names and text instead of byte strings for pure ASCII
* fix signature of PySlice_GetIndicesEx() in recent Python versions (3.2+)Stefan Behnel2012-11-301-6/+4
|
* fix C compiler warning regarding PySliceObject vs. PyObjectStefan Behnel2012-07-311-0/+3
|
* removed obsolete cimportStefan Behnel2012-07-311-1/+0
|
* fixed libxml2 API usage by appropriately using 'const' and 'xmlChar*'Stefan Behnel2012-07-301-1/+2
|
* initial patch for PyPy supportStefan Behnel2012-06-181-2/+3
|
* rewrite of node matcher to remove code duplication and make it PyPy compatibleStefan Behnel2012-04-211-0/+1
|
* code cleanup: replace call to PyErr_NoMemory() by explicit exceptionStefan Behnel2012-04-071-2/+1
|
* reuse cython definition for INT_MAXTay Ray Chuan2012-01-081-1/+0
|
* reuse cython definitions for stdio.hTay Ray Chuan2012-01-081-2/+2
| | | | For existing cimports from libc.stdio, apply the stdio.* convention.
* remove dependency of other .pxd files on cstd.pxdStefan Behnel2012-01-041-1/+1
|
* remove some outdated cythonismsStefan Behnel2012-01-031-1/+0
|
* [svn r4505] code cleanup: drop clumsy redeclaration of builtin types known ↵scoder2010-12-291-8/+0
| | | | | | | in Cython 0.14 --HG-- branch : trunk
* [svn r4278] r5354@delle: sbehnel | 2009-12-04 12:14:33 +0100scoder2009-12-041-8/+9
| | | | | | | make sure we use the correct 'unicode' type instead of the redeclared one --HG-- branch : trunk
* [svn r4271] r5331@delle: sbehnel | 2009-11-15 11:44:03 +0100scoder2009-11-241-12/+11
| | | | | | | support for several different node types as XSLT extension element context nodes --HG-- branch : trunk
* [svn r4265] r5316@delle: sbehnel | 2009-11-11 17:26:12 +0100scoder2009-11-241-4/+5
| | | | | | | use PyBytes_*() instead of PyString_*() --HG-- branch : trunk
* [svn r4240] r5296@delle: sbehnel | 2009-10-17 03:34:05 +0200scoder2009-10-171-0/+3
| | | | | | | create _Attrib instance on each .attrib request instead of keeping a cyclic reference to it (alternative weak-ref implementation is actually slower) --HG-- branch : trunk
* [svn r4233] r5283@delle: sbehnel | 2009-10-17 01:16:46 +0200scoder2009-10-171-2/+2
| | | | | | | fix PyBytes/PyString usage --HG-- branch : trunk
* [svn r4112] r5051@delle: sbehnel | 2009-02-20 23:52:54 +0100scoder2009-02-271-1/+0
| | | | | | | use Cython's builtin size_t type support --HG-- branch : trunk
* [svn r4033] r4906@delle: sbehnel | 2008-12-07 21:19:42 +0100scoder2008-12-101-1/+1
| | | | | | | avoid calling PyDict_Copy() directly --HG-- branch : trunk
* [svn r4027] r4895@delle: sbehnel | 2008-11-23 20:05:47 +0100scoder2008-11-231-1/+1
| | | | | | | fix compile warnings --HG-- branch : trunk
* [svn r4022] r4886@delle: sbehnel | 2008-11-19 08:43:16 +0100scoder2008-11-191-3/+3
| | | | | | | code cleanup: let Cython do the optimisation --HG-- branch : trunk
* [svn r4020] r4875@delle: sbehnel | 2008-11-17 23:22:34 +0100scoder2008-11-171-2/+0
| | | | | | | code cleanup: use list.append() instead of PyList_Append() and let Cython do the rest --HG-- branch : trunk
* [svn r3969] r4788@delle: sbehnel | 2008-09-07 19:55:29 +0200scoder2008-09-071-3/+4
| | | | | | | streamlined the _utf8() function (a very common helper function) --HG-- branch : trunk
* [svn r3828] r4506@delle: sbehnel | 2008-06-12 11:37:21 +0200scoder2008-06-121-1/+0
| | | | | | | code simplification --HG-- branch : trunk
* [svn r3778] r4423@delle: sbehnel | 2008-05-30 08:37:02 +0200scoder2008-05-311-1/+0
| | | | | | | Py3 beta1 fix: redefine PyString_*() functions as PyBytes_*() --HG-- branch : trunk
* [svn r3761] r4377@delle: sbehnel | 2008-05-26 13:32:40 +0200scoder2008-05-261-0/+1
| | | | | | | missing bit of last commit --HG-- branch : trunk
* [svn r3731] r4326@delle: sbehnel | 2008-05-23 21:36:14 +0200scoder2008-05-241-0/+1
| | | | | | | Py3 fix --HG-- branch : trunk
* [svn r3730] r4325@delle: sbehnel | 2008-05-23 21:33:23 +0200scoder2008-05-241-0/+12
| | | | | | | simple Py3 buffer protocol support --HG-- branch : trunk
* [svn r3694] r4252@delle: sbehnel | 2008-05-20 22:09:08 +0200scoder2008-05-211-0/+1
| | | | | | | lots of Py3 fixes --HG-- branch : trunk
* [svn r3686] r4232@delle: sbehnel | 2008-05-19 23:51:31 +0200scoder2008-05-201-0/+1
| | | | | | | unicode filename handling, uses a heuristic to distinguish file paths and network paths, plus some general Py3 fixes --HG-- branch : trunk
* [svn r3684] r4230@delle: sbehnel | 2008-05-19 09:35:46 +0200scoder2008-05-201-0/+1
| | | | | | | let funicode() always return unicode strings in Py3 --HG-- branch : trunk
* [svn r3673] r4209@delle: sbehnel | 2008-05-13 22:28:56 +0200scoder2008-05-131-2/+0
| | | | | | | simplification --HG-- branch : trunk
* [svn r3608] r4102@delle: sbehnel | 2008-04-27 22:02:55 +0200scoder2008-04-271-1/+0
| | | | | | | cleanup of last change: avoid stuff that will break with Py3 anyway --HG-- branch : trunk
* [svn r3607] r4100@delle: sbehnel | 2008-04-27 21:07:36 +0200scoder2008-04-271-2/+1
| | | | | | | signature fix --HG-- branch : trunk