<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-lxml.git/src, branch xml_int_float_parsing</title>
<subtitle>github.com: lxml/lxml.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/'/>
<entry>
<title>Implement a dedicated int/float parser for XML (schema) values in lxml.objectify.</title>
<updated>2021-08-12T14:59:26+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-08-12T14:58:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=83e6c031994d553b74991501c6cd85e3517fadd8'/>
<id>83e6c031994d553b74991501c6cd85e3517fadd8</id>
<content type='text'>
This disables support for "_" in numbers, which are allowed by Python but not by XMLSchema.
Wee keep a few additional literals, such as "+NaN", simply because they shouldn't hurt.

See https://mail.python.org/archives/list/lxml@python.org/thread/6F7VIDKWZTJ6LB6VOX6IJNNWICYHFPNR/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This disables support for "_" in numbers, which are allowed by Python but not by XMLSchema.
Wee keep a few additional literals, such as "+NaN", simply because they shouldn't hurt.

See https://mail.python.org/archives/list/lxml@python.org/thread/6F7VIDKWZTJ6LB6VOX6IJNNWICYHFPNR/
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Cython's autowrapping feature for cdef functions to keep internal utility functions out of the objectify module dict.</title>
<updated>2021-08-12T14:59:02+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-08-12T06:01:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=e23a807e816373e9eae9d45b5cecdd85ed2fa76a'/>
<id>e23a807e816373e9eae9d45b5cecdd85ed2fa76a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>_tofilelikeC14N: Always close output buffer (GH-322)</title>
<updated>2021-07-29T12:25:34+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2021-07-29T12:25:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=8244dfde2260cbed606852a5e046a53ebb84caa9'/>
<id>8244dfde2260cbed606852a5e046a53ebb84caa9</id>
<content type='text'>
If `with writer.error_log` raises an exception, `c_buffer` would leak.
It seems that currently, it can't actually raise (it's uses small and tight `cdef` functions), but there's no guarantee they'll remain exception-free in the future.

But there's one more thing that potentially could leak (at least Cython generates an `unlikely` `goto` block for it):
the lookup of `__exit__` that happens at the start of the `with` block.

Put the `xmlOutputBufferClose` call into a `finally` block to make this safer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If `with writer.error_log` raises an exception, `c_buffer` would leak.
It seems that currently, it can't actually raise (it's uses small and tight `cdef` functions), but there's no guarantee they'll remain exception-free in the future.

But there's one more thing that potentially could leak (at least Cython generates an `unlikely` `goto` block for it):
the lookup of `__exit__` that happens at the start of the `with` block.

Put the `xmlOutputBufferClose` call into a `finally` block to make this safer.</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite Unicode chunk parsing by directly encoding to UTF-8.</title>
<updated>2021-07-18T13:39:24+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-07-18T09:51:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=02a49b1d6ad177c948652f8b4d72aa0e2b386b89'/>
<id>02a49b1d6ad177c948652f8b4d72aa0e2b386b89</id>
<content type='text'>
Previously, we required Py_UNICODE strings, which is inefficient since most strings in Py3 use the PEP-393 memory layout.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we required Py_UNICODE strings, which is inefficient since most strings in Py3 use the PEP-393 memory layout.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement "__rXXX__" special methods in objectify elements to support proper Python semantics in Cython 3.</title>
<updated>2021-07-16T15:56:22+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-07-16T15:56:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=6660ff2de00c884c9ce82c4833e39553835ce780'/>
<id>6660ff2de00c884c9ce82c4833e39553835ce780</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid direct C-API call.</title>
<updated>2021-05-19T13:06:11+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-05-19T13:04:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=6321f9de9b3cdca136bce63ea40816e077b9005f'/>
<id>6321f9de9b3cdca136bce63ea40816e077b9005f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adapt a test to a behavioural change in libxml2 2.9.11+.</title>
<updated>2021-05-18T23:03:58+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-05-18T20:02:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=852ed1092bd80b6b9a51db24371047ec88843031'/>
<id>852ed1092bd80b6b9a51db24371047ec88843031</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up fuzzer test.</title>
<updated>2021-05-08T14:25:30+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-05-08T14:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=b3b09fcd1962409c2f7867fcadd636c38579b81d'/>
<id>b3b09fcd1962409c2f7867fcadd636c38579b81d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add initial Atheris fuzzer. (GH-313)</title>
<updated>2021-05-08T13:37:11+00:00</updated>
<author>
<name>DavidKorczynski</name>
<email>david@adalogics.com</email>
</author>
<published>2021-05-08T13:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=a3741bc3d5b083e6503fc62ac45a48014c5ae6f4'/>
<id>a3741bc3d5b083e6503fc62ac45a48014c5ae6f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable access to the system_url of DTD entity declarations (GH-317)</title>
<updated>2021-05-08T13:21:08+00:00</updated>
<author>
<name>Joel</name>
<email>greenbadge.jc@gmail.com</email>
</author>
<published>2021-05-08T13:21:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-lxml.git/commit/?id=f163e6395668e315c74489183070ce2ed3878e83'/>
<id>f163e6395668e315c74489183070ce2ed3878e83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
