<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/python-magic.git/magic/compat.py, branch 0.4.26</title>
<subtitle>github.com: ahupp/python-magic.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-magic.git/'/>
<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://trove.baserock.org/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>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://trove.baserock.org/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>
<entry>
<title>Reformat according to PEP</title>
<updated>2021-01-13T08:14:13+00:00</updated>
<author>
<name>SchoolGuy</name>
<email>matrixfueller@gmail.com</email>
</author>
<published>2021-01-13T08:14:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-magic.git/commit/?id=a7470248fed0f67a9b6bfd57e81dcc0a96a75fa6'/>
<id>a7470248fed0f67a9b6bfd57e81dcc0a96a75fa6</id>
<content type='text'>
I achieved this via the PyCharm Reformat Shortcut
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I achieved this via the PyCharm Reformat Shortcut
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge in compatability mode with libmagic</title>
<updated>2017-12-04T19:55:27+00:00</updated>
<author>
<name>Adam Hupp</name>
<email>adam@hupp.org</email>
</author>
<published>2017-12-04T19:55:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-magic.git/commit/?id=a0b9f316fda16b21923bb57e1de9a98789befbba'/>
<id>a0b9f316fda16b21923bb57e1de9a98789befbba</id>
<content type='text'>
The libmagic distribution uses the same package name `magic` as
python-magic, but has an incompatible API.  This change merges in a
copy of libmagic's bindings, wrapped to give deprecation warnings.

This is intended to a) mitigate the short-term pain to users and
packagers who need to figure out which to use, and b) give us a path
to merging the two sets of bindings.

I'd be happy for libmagic to take over this package if we could find a
path to it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The libmagic distribution uses the same package name `magic` as
python-magic, but has an incompatible API.  This change merges in a
copy of libmagic's bindings, wrapped to give deprecation warnings.

This is intended to a) mitigate the short-term pain to users and
packagers who need to figure out which to use, and b) give us a path
to merging the two sets of bindings.

I'd be happy for libmagic to take over this package if we could find a
path to it.
</pre>
</div>
</content>
</entry>
</feed>
