<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/test_apis.py, branch 3.1</title>
<subtitle>github.com: waylan/Python-Markdown.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/'/>
<entry>
<title>Use a PEP562 implementation for deprecating attributes (#757)</title>
<updated>2018-12-22T20:50:04+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-12-22T20:50:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=ab24c2357dfd98540d5196470164bf49b5e6d9f3'/>
<id>ab24c2357dfd98540d5196470164bf49b5e6d9f3</id>
<content type='text'>
Use a vendored Pep562 backport to simulate Python 3.7's new PEP 562 feature. For Python3.7 and later, default to the official implementation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a vendored Pep562 backport to simulate Python 3.7's new PEP 562 feature. For Python3.7 and later, default to the official implementation.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in tests names</title>
<updated>2018-12-19T18:57:17+00:00</updated>
<author>
<name>Dmitry Shachnev</name>
<email>mitya57@gmail.com</email>
</author>
<published>2018-12-19T15:16:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=aa6667e0c58cd01caddc3a5aa47ee3f395ef5b8e'/>
<id>aa6667e0c58cd01caddc3a5aa47ee3f395ef5b8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate version and version_info (#740)</title>
<updated>2018-10-25T13:43:27+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-10-25T13:43:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=d81207a6bd2a60c39b971baf789f8ac7fa912a21'/>
<id>d81207a6bd2a60c39b971baf789f8ac7fa912a21</id>
<content type='text'>
This essentially implements the closest we can get to PEP 562 which allows for modules to control `__dir__` and `__getattr__` in order to deprecate attributes. Here we provide a wrapper class for the module in `util`. If a module has attributes that need to deprecated, we derive from the wrapper class and define the attributes as functions with the `property` decorator and the provided `deprecated` decorator. The class is instantiated with the module's `__name__` attribute and the class will properly replace the module with the wrapped module.  When accessing the depracted attributes, a warning is raised. Closes #739.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This essentially implements the closest we can get to PEP 562 which allows for modules to control `__dir__` and `__getattr__` in order to deprecate attributes. Here we provide a wrapper class for the module in `util`. If a module has attributes that need to deprecated, we derive from the wrapper class and define the attributes as functions with the `property` decorator and the provided `deprecated` decorator. The class is instantiated with the module's `__name__` attribute and the class will properly replace the module with the wrapped module.  When accessing the depracted attributes, a warning is raised. Closes #739.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure block elements are defined per instance</title>
<updated>2018-10-09T15:15:46+00:00</updated>
<author>
<name>facelessuser</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-10-09T14:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=042bd0b10ee3f334e385db7bde5c53d847549e38'/>
<id>042bd0b10ee3f334e385db7bde5c53d847549e38</id>
<content type='text'>
Block level elements should be defined per instance, not as base class variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Block level elements should be defined per instance, not as base class variables.
</pre>
</div>
</content>
</entry>
<entry>
<title> Move isBlockLevel to class. (#693)</title>
<updated>2018-07-31T18:12:49+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-07-31T18:12:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=1e7fd3f236f63f9ca9b85de9cd172b77e7f9be80'/>
<id>1e7fd3f236f63f9ca9b85de9cd172b77e7f9be80</id>
<content type='text'>
Allows users and/or extensions to alter the list of block level 
elements. The old implementation remains with a DeprecationWarning. 
Fixes #575.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows users and/or extensions to alter the list of block level 
elements. The old implementation remains with a DeprecationWarning. 
Fixes #575.</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate md_globals from extension API. (#697)</title>
<updated>2018-07-31T17:30:02+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-07-31T17:30:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=7dad12c07e3e701da42474696398cb32e5c9979f'/>
<id>7dad12c07e3e701da42474696398cb32e5c9979f</id>
<content type='text'>
In the past, most of the config was defined using globals. Today all of 
the config is held on the class instance. Therefore, the `md_globals` 
parameter is no longer necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the past, most of the config was defined using globals. Today all of 
the config is held on the class instance. Therefore, the `md_globals` 
parameter is no longer necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor options tests</title>
<updated>2018-07-31T15:40:59+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2015-04-08T01:15:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=f261ffd065bcfea13d41a9861232155816c5933f'/>
<id>f261ffd065bcfea13d41a9861232155816c5933f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix double escaping of amp in attributes (#670)</title>
<updated>2018-07-29T18:44:18+00:00</updated>
<author>
<name>Isaac Muse</name>
<email>faceless.shop@gmail.com</email>
</author>
<published>2018-07-29T18:44:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=59406c41e7c3548d1c95a2091e2d676323494f62'/>
<id>59406c41e7c3548d1c95a2091e2d676323494f62</id>
<content type='text'>
Serializer should only escape &amp; in attributes if not part of &amp;amp; 

Better regex avoid Unicode and `_` in amp detection.

In general, we don't want to escape already escaped content, but with code content, we want literal representations of escaped content, so have code content explicitly escape its content before placing in AtomicStrings.

Closes #669.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Serializer should only escape &amp; in attributes if not part of &amp;amp; 

Better regex avoid Unicode and `_` in amp detection.

In general, we don't want to escape already escaped content, but with code content, we want literal representations of escaped content, so have code content explicitly escape its content before placing in AtomicStrings.

Closes #669.
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistent copyright headers.</title>
<updated>2018-07-27T18:43:09+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-07-27T18:34:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=0081cb8519ebda441b129462e8eb6c0f6c7d30a4'/>
<id>0081cb8519ebda441b129462e8eb6c0f6c7d30a4</id>
<content type='text'>
Fixes #435.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #435.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace homegrown OrderedDict with purpose-built Registry. (#688)</title>
<updated>2018-07-27T14:23:55+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2018-07-27T14:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=6ee07d2735d86d7a3d0b31c3409d42d31997a96c'/>
<id>6ee07d2735d86d7a3d0b31c3409d42d31997a96c</id>
<content type='text'>
All processors and patterns now get "registered" to a Registry.
Each item is given a name (string) and a priority. The name is for
later reference and the priority can be either an integer or float
and is used to sort. Priority is sorted from highest to lowest. A 
Registry instance is a list-like iterable with the items auto-sorted 
by priority. If two items have the same priority, then they are 
listed in the order there were "registered". Registering a new 
item with the same name as an already registered item replaces
the old item with the new item (however, the new item is sorted by
its newly assigned priority). To remove an item, "deregister" it by 
name or index.

A backwards compatible shim is included so that existing simple
extensions should continue to work. DeprecationWarnings will 
be raised for any code which calls the old API.

Fixes #418.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All processors and patterns now get "registered" to a Registry.
Each item is given a name (string) and a priority. The name is for
later reference and the priority can be either an integer or float
and is used to sort. Priority is sorted from highest to lowest. A 
Registry instance is a list-like iterable with the items auto-sorted 
by priority. If two items have the same priority, then they are 
listed in the order there were "registered". Registering a new 
item with the same name as an already registered item replaces
the old item with the new item (however, the new item is sorted by
its newly assigned priority). To remove an item, "deregister" it by 
name or index.

A backwards compatible shim is included so that existing simple
extensions should continue to work. DeprecationWarnings will 
be raised for any code which calls the old API.

Fixes #418.</pre>
</div>
</content>
</entry>
</feed>
