<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/python-magic.git/magic, branch 0.4.26</title>
<subtitle>github.com: ahupp/python-magic.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/'/>
<entry>
<title>Support os.PathLike types</title>
<updated>2021-10-04T23:04:28+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-10-04T21:46:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=7f7542fcbc192fef6e4939f4eb748e941a720b2c'/>
<id>7f7542fcbc192fef6e4939f4eb748e941a720b2c</id>
<content type='text'>
See https://github.com/ahupp/python-magic/pull/251
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://github.com/ahupp/python-magic/pull/251
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compat mode handling with empty mime string</title>
<updated>2021-09-02T22:19:16+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-09-02T22:19:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=73bcc7482bf3e6d1f6a74a91bf9689b289a88910'/>
<id>73bcc7482bf3e6d1f6a74a91bf9689b289a88910</id>
<content type='text'>
I can't repro this, but PR #250 suggests that some versions of
libmagic will return a mimetype that doesn't include a charset,
leading to an exception.  Fall back to an empty charset in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I can't repro this, but PR #250 suggests that some versions of
libmagic will return a mimetype that doesn't include a charset,
leading to an exception.  Fall back to an empty charset in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix alpine library loading</title>
<updated>2021-06-03T13:43:08+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-06-03T13:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=4ed6b038ba8acd59ed58c888fbd18355b8955eba'/>
<id>4ed6b038ba8acd59ed58c888fbd18355b8955eba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup library loading</title>
<updated>2021-06-01T19:24:49+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-06-01T17:27:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=816e4d704d455eaf5c1e06e1af1b75fdb8ef2f5a'/>
<id>816e4d704d455eaf5c1e06e1af1b75fdb8ef2f5a</id>
<content type='text'>
Simplify library loading so it's clearer what should happen for each
platform.  There is a very small chance this is a regression if you
were somehow relying on windows DLL names on a non-windows platform.

Also resolves https://github.com/ahupp/python-magic/pull/245
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify library loading so it's clearer what should happen for each
platform.  There is a very small chance this is a regression if you
were somehow relying on windows DLL names on a non-windows platform.

Also resolves https://github.com/ahupp/python-magic/pull/245
</pre>
</div>
</content>
</entry>
<entry>
<title>add py.typed sentinal per https://www.python.org/dev/peps/pep-0561/#packaging-type-information</title>
<updated>2021-05-21T17:10:30+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-05-21T17:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=29450ec911b08dc2b128fa00cd95cf6ba27bccdc'/>
<id>29450ec911b08dc2b128fa00cd95cf6ba27bccdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for cookie attribute before trying to delete it</title>
<updated>2021-05-16T08:37:25+00:00</updated>
<author>
<name>Jochen Sprickerhof</name>
<email>git@jochen.sprickerhof.de</email>
</author>
<published>2021-05-16T08:37:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=12d0ea062d92a15baee69c4be0e4ae00fcdee416'/>
<id>12d0ea062d92a15baee69c4be0e4ae00fcdee416</id>
<content type='text'>
__del__ is called regardless of whether __init__ passed, so the cookie
attribute may not exits. This can be seen with:

python3 -c "import magic; magic.Magic(foo=None)"

Also discussed in https://github.com/ahupp/python-magic/pull/222#issuecomment-675354824
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__del__ is called regardless of whether __init__ passed, so the cookie
attribute may not exits. This can be seen with:

python3 -c "import magic; magic.Magic(foo=None)"

Also discussed in https://github.com/ahupp/python-magic/pull/222#issuecomment-675354824
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Fix bug in Magic when destructor called too early"</title>
<updated>2021-05-16T08:36:42+00:00</updated>
<author>
<name>Jochen Sprickerhof</name>
<email>git@jochen.sprickerhof.de</email>
</author>
<published>2021-05-16T08:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=0ab68b2d4f6ad0efce45e56df8e94778fe7f758c'/>
<id>0ab68b2d4f6ad0efce45e56df8e94778fe7f758c</id>
<content type='text'>
This reverts commit 16972c2c6fda3573860f5f8b0f2c03b757e71d3c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 16972c2c6fda3573860f5f8b0f2c03b757e71d3c.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo (compatability --&gt; compatibility)</title>
<updated>2021-05-10T21:52:36+00:00</updated>
<author>
<name>EtiennePelletier</name>
<email>etpelletier93@hotmail.com</email>
</author>
<published>2021-05-10T21:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=3174a7854553fe1ffb5cc22534d8169eac3a378c'/>
<id>3174a7854553fe1ffb5cc22534d8169eac3a378c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix yet another import error</title>
<updated>2021-02-17T04:01:28+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-02-17T04:01:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=e0ccc6d0cbf7b17e8c7288297c717f3b3d499679'/>
<id>e0ccc6d0cbf7b17e8c7288297c717f3b3d499679</id>
<content type='text'>
Seems to hit windows, probably OSX.  We have great test coverage
across linux distros, not so much elsewhere.

Tested on my windows box by manually installing the wheel file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems to hit windows, probably OSX.  We have great test coverage
across linux distros, not so much elsewhere.

Tested on my windows box by manually installing the wheel file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor out dll loader so it can be used by both compat and standard library</title>
<updated>2021-02-16T22:32:55+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2021-02-16T22:22:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/python-magic.git/commit/?id=b520bf0bf6f815afad33878ecdbe4b1d907dcc94'/>
<id>b520bf0bf6f815afad33878ecdbe4b1d907dcc94</id>
<content type='text'>
https://github.com/ahupp/python-magic/issues/232
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ahupp/python-magic/issues/232
</pre>
</div>
</content>
</entry>
</feed>
