<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitdb.git/gitdb/utils/compat.py, branch v2.1.1.dev1</title>
<subtitle>github.com: gitpython-developers/gitdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/'/>
<entry>
<title>fix(leaks): close "leaky" `memoryview` on mmaps after `to_bytes()`</title>
<updated>2016-10-28T12:34:30+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-27T13:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=18bdab2264cf9db354e49f23b3ec1e11ff4d09f4'/>
<id>18bdab2264cf9db354e49f23b3ec1e11ff4d09f4</id>
<content type='text'>
All 3 gitpython projects stopped using memoryviews, but it's probably
safe to release also user's memviews it after it has been converted to
bytes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All 3 gitpython projects stopped using memoryviews, but it's probably
safe to release also user's memviews it after it has been converted to
bytes.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(compat): PY3-check must hold even for PY4</title>
<updated>2016-10-28T12:34:30+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-25T15:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=a1205fbd3183fca49ea75d25b861d48bd5bb63e6'/>
<id>a1205fbd3183fca49ea75d25b861d48bd5bb63e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(io): BREAKING, wrap more out-stream usages</title>
<updated>2016-10-27T21:55:16+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-25T13:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=6e5e30877899ca0d503ce082eab780956259e191'/>
<id>6e5e30877899ca0d503ce082eab780956259e191</id>
<content type='text'>
+ chrore(deps): depend on *contextlib2* for `ExitStack` in PY2.
+ refact(util): BREAKING API move consts out of utils.
+ style(pep8): fixe all sources.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ chrore(deps): depend on *contextlib2* for `ExitStack` in PY2.
+ refact(util): BREAKING API move consts out of utils.
+ style(pep8): fixe all sources.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed yet another issue with smmap's latest changes</title>
<updated>2015-01-06T17:26:18+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-06T17:26:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=de96c522ff20fa99d13128784a393b619dd0b33b'/>
<id>de96c522ff20fa99d13128784a393b619dd0b33b</id>
<content type='text'>
Now we deal with memory views as well ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we deal with memory views as well ...
</pre>
</div>
</content>
</entry>
<entry>
<title>Applied autopep8</title>
<updated>2015-01-04T10:21:36+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-04T10:21:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=ff7615321ee31d981a171f7677a56a971c554059'/>
<id>ff7615321ee31d981a171f7677a56a971c554059</id>
<content type='text'>
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed all applicable lint issues</title>
<updated>2014-11-13T11:17:01+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T11:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=b64c771bcb2ec336dd549cfe9d072340c886f3c9'/>
<id>b64c771bcb2ec336dd549cfe9d072340c886f3c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Made sure xrange is used instead of range in python 2</title>
<updated>2014-11-13T09:31:45+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T09:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=a8f2f63823324ad76cbb36b0f4115e73c7d9d594'/>
<id>a8f2f63823324ad76cbb36b0f4115e73c7d9d594</id>
<content type='text'>
range in py2 will return a list, which can mean a lot of time and memory
is spent on generating it even though it's just used for iteration.

Simplified implementation of MAXSIZE
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
range in py2 will return a list, which can mean a lot of time and memory
is spent on generating it even though it's just used for iteration.

Simplified implementation of MAXSIZE
</pre>
</div>
</content>
</entry>
<entry>
<title>Start up compat and encoding files</title>
<updated>2014-07-17T00:15:31+00:00</updated>
<author>
<name>Kevin Brown</name>
<email>kevin@kevinbrown.in</email>
</author>
<published>2014-07-17T00:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=0465cf327d232101b2de69d714a468b7e1a66a74'/>
<id>0465cf327d232101b2de69d714a468b7e1a66a74</id>
<content type='text'>
There were a few things which were being reused consistently for
compatibility purposes, such as the `buffer`/`memoryview` functions
as well as the `izip` method which needed to be aliased for
Python 3.  The `buffer` function was taken from `smmap` [1] and
reworked slightly to handle the optional third parameter.

This also adds a compatibility file dedicated entirely to encoding
issues, which seem to be the biggest problem.  The main functions
were taken in part from the Django project [2] and rewritten
slightly because our needs are a bit more narrow.

A constants file has been added to consistently handle the
constants which are required for the gitdb project in the core
and the tests.  This is part of a greater plan to reorganize
the `util.py` file included in this project.

This points the async extension back at the original repository
and points it to the latest commit.

[1]: https://github.com/Byron/smmap/blob/1af4b42a2354acbb53c7956d647655922658fd80/smmap/util.py#L20-L26
[2]: https://github.com/django/django/blob/b8d255071ead897cf68120cd2fae7c91326ca2cc/django/utils/encoding.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were a few things which were being reused consistently for
compatibility purposes, such as the `buffer`/`memoryview` functions
as well as the `izip` method which needed to be aliased for
Python 3.  The `buffer` function was taken from `smmap` [1] and
reworked slightly to handle the optional third parameter.

This also adds a compatibility file dedicated entirely to encoding
issues, which seem to be the biggest problem.  The main functions
were taken in part from the Django project [2] and rewritten
slightly because our needs are a bit more narrow.

A constants file has been added to consistently handle the
constants which are required for the gitdb project in the core
and the tests.  This is part of a greater plan to reorganize
the `util.py` file included in this project.

This points the async extension back at the original repository
and points it to the latest commit.

[1]: https://github.com/Byron/smmap/blob/1af4b42a2354acbb53c7956d647655922658fd80/smmap/util.py#L20-L26
[2]: https://github.com/django/django/blob/b8d255071ead897cf68120cd2fae7c91326ca2cc/django/utils/encoding.py
</pre>
</div>
</content>
</entry>
</feed>
