summaryrefslogtreecommitdiff
path: root/src/lxml/objectify.pyx
Commit message (Collapse)AuthorAgeFilesLines
* Implement "__rXXX__" special methods in objectify elements to support proper ↵Stefan Behnel2021-07-161-12/+87
| | | | Python semantics in Cython 3.
* Implement "__index__()" special method for integer elements in lxml.objectify.Stefan Behnel2019-03-081-0/+6
|
* Allow "element[-1]" for disconnected elements in objectify, returning the ↵Stefan Behnel2019-03-081-3/+2
| | | | element itself (as for index 0).
* Keep the original dict insertion order in Py3.6+ when setting attributes or ↵Stefan Behnel2019-03-011-1/+1
| | | | | | namespaces from a user provided dict. This follows the ElementTree change in Py3.8, see https://bugs.python.org/issue34160.
* Replace old Pyrex property syntax with @property decorators for read-only ↵Stefan Behnel2019-02-231-33/+34
| | | | properties, and resolve some Cython warnings.
* Set explicit Cython language levels for compiled modules (Cython suggests to ↵Stefan Behnel2018-12-021-0/+1
| | | | make them explicit).
* Remove redundant parenthesesHugo2018-08-251-3/+3
|
* Use f-strings for all string formatting for which it makes sense (i.e. does ↵Stefan Behnel2018-01-251-10/+6
| | | | not look unreadable).
* Disable auto-pickling feature (new in Cython 0.26) as there really aren't ↵Stefan Behnel2017-08-121-0/+1
| | | | that many classes that could be pickled by themselves.
* Properly integrate the compilation of _elementpath.py and some lxml.html ↵Stefan Behnel2017-08-111-0/+1977
| | | | | | 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.
* [svn r2979] use FQMN in filename to make Pyrex' import mechanism happyscoder2007-10-221-1773/+0
| | | | | | --HG-- branch : trunk rename : src/lxml/objectify.pyx => src/lxml/lxml.objectify.pyx
* [svn r2975] use keyword-only arguments in APIscoder2007-10-211-7/+7
| | | | | --HG-- branch : trunk
* [svn r2970] fix error handling on PyList_Append()scoder2007-10-201-4/+1
| | | | | --HG-- branch : trunk
* [svn r2950] use 'bint' instead of 'int' Pyrex type where appropriatescoder2007-10-091-15/+13
| | | | | --HG-- branch : trunk
* [svn r2904] public function objectify.pytypename()scoder2007-09-211-1/+6
| | | | | --HG-- branch : trunk
* [svn r2897] fix unicode annotation in DataElementscoder2007-09-191-6/+3
| | | | | --HG-- branch : trunk
* [svn r2893] iterfind() in objectifyscoder2007-09-181-0/+6
| | | | | --HG-- branch : trunk
* [svn r2890] new C-API function hasChild(), some cleanup to use itscoder2007-09-181-3/+3
| | | | | --HG-- branch : trunk
* [svn r2888] public annotate() function, keep TREE pytype annotation if ↵scoder2007-09-171-26/+79
| | | | | | | required, do not ignore old types by default --HG-- branch : trunk
* [svn r2883] compile fixesscoder2007-09-151-3/+3
| | | | | --HG-- branch : trunk
* [svn r2881] comment on deprecation of getchildren(), copied over to ↵scoder2007-09-151-0/+17
| | | | | | | objectify where it is still needed anyway --HG-- branch : trunk
* [svn r2868] adapt more imports to Cythonscoder2007-09-151-2/+2
| | | | | --HG-- branch : trunk
* [svn r2865] cleanup in init code (requires Cython)scoder2007-09-151-37/+5
| | | | | --HG-- branch : trunk
* [svn r2840] support external parser in objectify.fromstring()scoder2007-09-121-4/+7
| | | | | --HG-- branch : trunk
* [svn r2834] moved objectpath implementation to separate .pxiscoder2007-09-111-339/+8
| | | | | | --HG-- branch : trunk rename : src/lxml/objectify.pyx => src/lxml/objectpath.pxi
* [svn r2827] docstring cleanupscoder2007-09-041-3/+5
| | | | | --HG-- branch : trunk
* [svn r2810] made annotation in objectify.ElementMaker optional through ↵scoder2007-09-011-5/+14
| | | | | | | 'annotate' kw arg --HG-- branch : trunk
* [svn r2807] annotate with the original type in objectify.DataElement if no ↵scoder2007-08-311-18/+10
| | | | | | | type name was passed explicitly --HG-- branch : trunk
* [svn r2806] fix namespace setup of objectify.E factoryscoder2007-08-311-5/+3
| | | | | --HG-- branch : trunk
* [svn r2805] fixscoder2007-08-311-1/+1
| | | | | --HG-- branch : trunk
* [svn r2804] apply pytype annotation in objectify.E factoryscoder2007-08-311-3/+23
| | | | | --HG-- branch : trunk
* [svn r2803] fix: wrong function call for deleting attributescoder2007-08-311-1/+2
| | | | | --HG-- branch : trunk
* [svn r2795] new _makeSubElement() C-function to make the SubElement() ↵scoder2007-08-311-4/+3
| | | | | | | factory available at the C level and as makeSubElement() in the public C-API --HG-- branch : trunk
* [svn r2793] faster E factory instantiationscoder2007-08-301-7/+13
| | | | | --HG-- branch : trunk
* [svn r2775] cleanupscoder2007-08-291-3/+0
| | | | | --HG-- branch : trunk
* [svn r2772] discard pytype attributes of unknown types when setting a new valuescoder2007-08-281-0/+2
| | | | | --HG-- branch : trunk
* [svn r2771] only store pytype attributes for registered typesscoder2007-08-281-1/+4
| | | | | --HG-- branch : trunk
* [svn r2768] always py-annotate when setting objectify values from Python ↵scoder2007-08-271-1/+5
| | | | | | | types (not sure about bool strings yet) --HG-- branch : trunk
* [svn r2763] docstring cleanupscoder2007-08-241-1/+1
| | | | | --HG-- branch : trunk
* [svn r2760] more cleanup, small fix for last commitscoder2007-08-221-7/+9
| | | | | --HG-- branch : trunk
* [svn r2759] cleanupscoder2007-08-221-6/+5
| | | | | --HG-- branch : trunk
* [svn r2758] removed old ElementMaker implementationscoder2007-08-221-76/+0
| | | | | --HG-- branch : trunk
* [svn r2757] new ElementMaker implementation specifically for objectifyscoder2007-08-221-0/+72
| | | | | --HG-- branch : trunk
* [svn r2756] cleanupscoder2007-08-221-112/+6
| | | | | --HG-- branch : trunk
* [svn r2754] objectify updates by Holger, support passing ObjectifiedElement ↵scoder2007-08-201-6/+31
| | | | | | | objects into DateElement() --HG-- branch : trunk
* [svn r2717] fixes for tests and objectify after switching pytype from 'none' ↵scoder2007-07-311-0/+5
| | | | | | | to 'NoneType' --HG-- branch : trunk
* [svn r2706] compile fixesscoder2007-07-271-1/+1
| | | | | --HG-- branch : trunk
* [svn r2696] renamed pytype 'none' to NoneType, some cleanupscoder2007-07-251-31/+47
| | | | | --HG-- branch : trunk
* [svn r2604] small fixscoder2007-07-051-1/+1
| | | | | --HG-- branch : trunk
* [svn r2599] extended type support for objectify.E based on registered PyTypesscoder2007-07-041-38/+112
| | | | | --HG-- branch : trunk