<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments/cmdline.py, branch argparse</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Update based on review feedback.</title>
<updated>2021-01-23T12:42:31+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-01-23T12:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=8283ea766b5f576789de12e26b867818fe956994'/>
<id>8283ea766b5f576789de12e26b867818fe956994</id>
<content type='text'>
* Extract "is_only_option" method
* Check -L argument to be a "known good" argument
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Extract "is_only_option" method
* Check -L argument to be a "known good" argument
</pre>
</div>
</content>
</entry>
<entry>
<title>cmdline: adapt the argparse help formatter to actually take terminal width into account</title>
<updated>2021-01-22T18:52:54+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2021-01-22T18:49:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=20723deae4f457a649939ee6bb2f8a5361510b11'/>
<id>20723deae4f457a649939ee6bb2f8a5361510b11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmdline: port to argparse</title>
<updated>2021-01-22T18:40:31+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2021-01-22T18:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=3959e5256d7bdfd72ab5356da810ad668fdfc4de'/>
<id>3959e5256d7bdfd72ab5356da810ad668fdfc4de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Run pyupgrade across codebase to modernize syntax and patterns (#1622)</title>
<updated>2021-01-17T15:44:58+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2021-01-17T15:44:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=debda34e2d4f28d6d369cdafdcba4791702f63fc'/>
<id>debda34e2d4f28d6d369cdafdcba4791702f63fc</id>
<content type='text'>
pyupgrade is a tool to automatically upgrade syntax for newer versions
of the Python language.

The project has been Python 3 only since
35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups:

- Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all
  source files as utf-8 by default.

- Replace IOError/EnvironmentError with OSError. Python 3 unified these
  exceptions. The old names are aliases only.

- Use the Python 3 shorter super() syntax.

- Remove "utf8" argument form encode/decode. In Python 3, this value is
  the default.

- Remove "r" from open() calls. In Python 3, this value is the default.

- Remove u prefix from Unicode strings. In Python 3, all strings are
  Unicode.

- Replace io.open() with builtin open(). In Python 3, these functions
  are functionally equivalent.

Co-authored-by: Matthäus G. Chajdas &lt;Anteru@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pyupgrade is a tool to automatically upgrade syntax for newer versions
of the Python language.

The project has been Python 3 only since
35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups:

- Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all
  source files as utf-8 by default.

- Replace IOError/EnvironmentError with OSError. Python 3 unified these
  exceptions. The old names are aliases only.

- Use the Python 3 shorter super() syntax.

- Remove "utf8" argument form encode/decode. In Python 3, this value is
  the default.

- Remove "r" from open() calls. In Python 3, this value is the default.

- Remove u prefix from Unicode strings. In Python 3, all strings are
  Unicode.

- Replace io.open() with builtin open(). In Python 3, these functions
  are functionally equivalent.

Co-authored-by: Matthäus G. Chajdas &lt;Anteru@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Added `pygmentize -C` option to guess a lexer from content</title>
<updated>2021-01-17T10:18:17+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2021-01-17T10:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=b4594169025485f7d64d5ffd71f42673e7a5972d'/>
<id>b4594169025485f7d64d5ffd71f42673e7a5972d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump copyright year.</title>
<updated>2021-01-03T17:03:23+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-01-03T17:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=a590ac5ea7c00a41e253834306bfa19e38349c0b'/>
<id>a590ac5ea7c00a41e253834306bfa19e38349c0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a Windows/PyPy3 test failure (#1533)</title>
<updated>2020-09-07T17:26:33+00:00</updated>
<author>
<name>Kurt McKee</name>
<email>contactme@kurtmckee.org</email>
</author>
<published>2020-09-07T17:26:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=945ed5ef268e2f3c7bbea42dfae1f8f844096f61'/>
<id>945ed5ef268e2f3c7bbea42dfae1f8f844096f61</id>
<content type='text'>
PyPy3 on Windows has a test failure in `test_cmdline:test_outfile()`
when trying to unlink the temporary output file. The root cause is that
`cmdline:inner_main()` does not explicitly close the file that it opens,
and PyPy3 isn't auto-closing the file when `inner_main()` returns.
This prevents the file from being unlinked, and the test case fails.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyPy3 on Windows has a test failure in `test_cmdline:test_outfile()`
when trying to unlink the temporary output file. The root cause is that
`cmdline:inner_main()` does not explicitly close the file that it opens,
and PyPy3 isn't auto-closing the file when `inner_main()` returns.
This prevents the file from being unlinked, and the test case fails.</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year (fixes #1514.)</title>
<updated>2020-08-22T14:08:07+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-08-22T14:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=5bd2a84bc1db0120828606c900a14276414fecdc'/>
<id>5bd2a84bc1db0120828606c900a14276414fecdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests on Windows.</title>
<updated>2020-03-01T14:50:52+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-03-01T14:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=11ea92ad40218608a7e3e060b7bf290cb70a3904'/>
<id>11ea92ad40218608a7e3e060b7bf290cb70a3904</id>
<content type='text'>
This fixes three test failures on Windows:
* Two due to incorrect handling of : (on Windows, multiple : can
  be part of a path.)
* One due to newline differences
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes three test failures on Windows:
* Two due to incorrect handling of : (on Windows, multiple : can
  be part of a path.)
* One due to newline differences
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Python 2 compatibility (#1348)</title>
<updated>2020-02-29T14:45:08+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2020-02-29T14:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=35544e2fc6eed0ce4a27ec7285aac71ff0ddc473'/>
<id>35544e2fc6eed0ce4a27ec7285aac71ff0ddc473</id>
<content type='text'>
* Remove Python 2 compatibility

* remove 2/3 shims in pygments.util
* update setup.py metadata

* Remove unneeded object inheritance.

* Remove unneeded future imports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove Python 2 compatibility

* remove 2/3 shims in pygments.util
* update setup.py metadata

* Remove unneeded object inheritance.

* Remove unneeded future imports.
</pre>
</div>
</content>
</entry>
</feed>
