<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sphinx-git.git/sphinx/pycode/ast.py, branch v3.5.4</title>
<subtitle>github.com: sphinx-doc/sphinx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/'/>
<entry>
<title>Fix #8652: autodoc: variable comments are ignored if invalid type comments found</title>
<updated>2021-01-10T08:08:56+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2021-01-10T08:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=eaa86125676729612ac0a1258161544cc5ebeb7a'/>
<id>eaa86125676729612ac0a1258161544cc5ebeb7a</id>
<content type='text'>
To avoid the crash of ModuleAnalyzer from invalid type comments, this
start to retry parsing without type_comments=False when `ast.parse()`
raises SyntaxError.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid the crash of ModuleAnalyzer from invalid type comments, this
start to retry parsing without type_comments=False when `ast.parse()`
raises SyntaxError.
</pre>
</div>
</content>
</entry>
<entry>
<title>A happy new year!</title>
<updated>2021-01-01T04:40:48+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-12-31T17:00:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=f9968594206e538f13fa1c27c065027f10d4ea27'/>
<id>f9968594206e538f13fa1c27c065027f10d4ea27</id>
<content type='text'>
.. note::

   $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \;
   $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.. note::

   $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \;
   $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
</pre>
</div>
</content>
</entry>
<entry>
<title>Sort imports with isort</title>
<updated>2020-11-11T12:19:05+00:00</updated>
<author>
<name>François Freitag</name>
<email>mail@franek.fr</email>
</author>
<published>2020-11-11T11:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=0949735210abaa05b6448e531984f159403053f4'/>
<id>0949735210abaa05b6448e531984f159403053f4</id>
<content type='text'>
Keep imports alphabetically sorted and their order homogeneous across
Python source files.

The isort project has more feature and is more active than the
flake8-import-order plugin.

Most issues caught were simply import ordering from the same module.
Where imports were purposefully placed out of order, tag with
isort:skip.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keep imports alphabetically sorted and their order homogeneous across
Python source files.

The isort project has more feature and is more active than the
flake8-import-order plugin.

Most issues caught were simply import ordering from the same module.
Where imports were purposefully placed out of order, tag with
isort:skip.
</pre>
</div>
</content>
</entry>
<entry>
<title>pycode: ast.unparse() construct number literals using source code</title>
<updated>2020-10-04T16:08:14+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-10-03T16:45:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=0b32e72635f6e117824b5cba3b8b38254a6a2644'/>
<id>0b32e72635f6e117824b5cba3b8b38254a6a2644</id>
<content type='text'>
Developers can write number literals in several ways. For example,
decimal (1234), hexadecimal (0x1234), octal decimal (0o1234) and so on.
But, AST module don't mind how the numbers written in the code. As a
result, ast.unparse() could not reproduce the original form of number
literals.

This allows to construct number literals as possible using original
source code.

Note: This is only available in Python 3.8+.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Developers can write number literals in several ways. For example,
decimal (1234), hexadecimal (0x1234), octal decimal (0o1234) and so on.
But, AST module don't mind how the numbers written in the code. As a
result, ast.unparse() could not reproduce the original form of number
literals.

This allows to construct number literals as possible using original
source code.

Note: This is only available in Python 3.8+.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #7964: autodoc: Tuple in default value is wrongly rendered</title>
<updated>2020-10-03T03:01:20+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-10-03T03:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=785f4d695cfca0eeb537c92166808bc9f187d8c0'/>
<id>785f4d695cfca0eeb537c92166808bc9f187d8c0</id>
<content type='text'>
This implements tuple literal support to sphinx.pycode.ast.unparse().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements tuple literal support to sphinx.pycode.ast.unparse().
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '3.x' into 7497</title>
<updated>2020-05-07T02:11:11+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-05-07T02:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=65d35c56ae81388858dc98db6394bae39a8fa174'/>
<id>65d35c56ae81388858dc98db6394bae39a8fa174</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Sort visitor methods of _UnparseVisitor</title>
<updated>2020-05-07T02:10:32+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-05-06T17:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=2cfa3370e7edd6bb7c40ba46bc70903de5a890db'/>
<id>2cfa3370e7edd6bb7c40ba46bc70903de5a890db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Add Optional to type annotations</title>
<updated>2020-04-19T07:56:40+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2020-04-19T07:50:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=a24ef1f0cc4ebc29871289b5b92d76f4fe7b7e80'/>
<id>a24ef1f0cc4ebc29871289b5b92d76f4fe7b7e80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Group together methods that relate to a python 3.8 deprecation</title>
<updated>2020-04-17T15:49:25+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-04-17T15:41:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=11ff9207e6f161c121ff58aad534688f416ae431'/>
<id>11ff9207e6f161c121ff58aad534688f416ae431</id>
<content type='text'>
This will make it easier to remove them all at once in future
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will make it easier to remove them all at once in future
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite unparse to use ast.NodeVisitor</title>
<updated>2020-04-17T15:49:17+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-04-16T16:39:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=48a10179ef22aa90e7a40f20788e697976e3064e'/>
<id>48a10179ef22aa90e7a40f20788e697976e3064e</id>
<content type='text'>
This should make it possible to reuse the same visitor to generate RST code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should make it possible to reuse the same visitor to generate RST code.
</pre>
</div>
</content>
</entry>
</feed>
