<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-json-patch.git/jsonpatch.py, branch v1.4</title>
<subtitle>github.com: stefankoegl/python-json-patch.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/'/>
<entry>
<title>bump version to 1.4</title>
<updated>2014-03-22T10:51:53+00:00</updated>
<author>
<name>Stefan Kögl</name>
<email>stefan@skoegl.net</email>
</author>
<published>2014-03-22T10:51:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=02ab1d24f73bec2a87485db70455cdb13f91ace0'/>
<id>02ab1d24f73bec2a87485db70455cdb13f91ace0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize jsonpatch.make_patch for lists. Fixes #24</title>
<updated>2014-03-22T10:37:30+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@gmail.com</email>
</author>
<published>2014-03-22T09:40:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=cc7bda313ec4a8353f9e00d088fc4f64b9ff1ea9'/>
<id>cc7bda313ec4a8353f9e00d088fc4f64b9ff1ea9</id>
<content type='text'>
This optimization tries to work only with really different lists
subsequences and trying to preserve as much as possible common ones.
This reduces overall of generated operations since now it's possible
to simple insertions. Also, it converts pairs of remove-add operations
into single replace (if target path is the same) or move (if target
value is the same).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This optimization tries to work only with really different lists
subsequences and trying to preserve as much as possible common ones.
This reduces overall of generated operations since now it's possible
to simple insertions. Also, it converts pairs of remove-add operations
into single replace (if target path is the same) or move (if target
value is the same).
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch KeyError when accessing the sub-doc items</title>
<updated>2014-02-03T17:21:05+00:00</updated>
<author>
<name>Lucas Alvares Gomes</name>
<email>lucasagomes@gmail.com</email>
</author>
<published>2014-01-22T17:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=ad66344ad6ec13403d90a12e959e980a4f1933dd'/>
<id>ad66344ad6ec13403d90a12e959e980a4f1933dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow moving array items into other items in same array</title>
<updated>2014-01-11T20:40:29+00:00</updated>
<author>
<name>Johan Forsberg</name>
<email>johan.forsberg@gmail.com</email>
</author>
<published>2014-01-11T20:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=7e459af293954675a5ac9852008666bfd95187ea'/>
<id>7e459af293954675a5ac9852008666bfd95187ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix equality tests for Python 3.x</title>
<updated>2013-11-12T08:44:41+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2013-11-12T08:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=0c4ec87ced2ab50364f23b90c67637473a017903'/>
<id>0c4ec87ced2ab50364f23b90c67637473a017903</id>
<content type='text'>
Since map() returns generator in 3.x, it's not possible to compare them
without unwrap.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since map() returns generator in 3.x, it's not possible to compare them
without unwrap.
</pre>
</div>
</content>
</entry>
<entry>
<title>Keep things simple</title>
<updated>2013-11-12T04:42:44+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2013-11-12T04:42:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=ed65618d8233be5333d8fd26621d24a0d5d8ac7e'/>
<id>ed65618d8233be5333d8fd26621d24a0d5d8ac7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use new string formatting syntax</title>
<updated>2013-11-12T04:21:46+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2013-11-12T04:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=edf8700771dd69325f4bd4b7d072f26149ff1c41'/>
<id>edf8700771dd69325f4bd4b7d072f26149ff1c41</id>
<content type='text'>
Python 2.5 support was dropped long ago to care about
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 2.5 support was dropped long ago to care about
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise TypeError instead of AssertionError</title>
<updated>2013-11-12T04:19:29+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2013-11-12T04:19:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=3ab6c5a251110fcf06d3e740e7658fa089c9e1eb'/>
<id>3ab6c5a251110fcf06d3e740e7658fa089c9e1eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use reversed(range) is recommended over range with negative step</title>
<updated>2013-11-12T04:17:14+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2013-11-12T04:17:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=cbe80b0d7cb8ce12d6f65031a4fab9f9398db701'/>
<id>cbe80b0d7cb8ce12d6f65031a4fab9f9398db701</id>
<content type='text'>
https://mail.python.org/pipermail/python-ideas/2013-October/023733.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://mail.python.org/pipermail/python-ideas/2013-October/023733.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken test for Python 2.x</title>
<updated>2013-10-28T02:30:05+00:00</updated>
<author>
<name>Alexander Shorin</name>
<email>kxepal@apache.org</email>
</author>
<published>2013-10-28T02:30:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-json-patch.git/commit/?id=3206a73fccb68f9d615b297d6c515848272efc53'/>
<id>3206a73fccb68f9d615b297d6c515848272efc53</id>
<content type='text'>
Fun fact: for Python 3.x you don't need to explicitly implement __ne__
method if __eq__ exists, but you have do this for 2.x or your objects
may be equal and non-equal at the same time. Seems like, before
refactoring, operator.eq had used right logic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fun fact: for Python 3.x you don't need to explicitly implement __ne__
method if __eq__ exists, but you have do this for 2.x or your objects
may be equal and non-equal at the same time. Seems like, before
refactoring, operator.eq had used right logic.
</pre>
</div>
</content>
</entry>
</feed>
