<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sphinx-git.git/tests/test_util_jsdump.py, branch 3.3.x</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>Remove unnecessary encoding cookie from Python source files</title>
<updated>2018-12-16T20:22:12+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2018-12-16T20:01:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=bade33c7e490655c3f5b46d374129294f70449aa'/>
<id>bade33c7e490655c3f5b46d374129294f70449aa</id>
<content type='text'>
In Python 3, the default encoding of source files is utf-8. The encoding
cookie is now unnecessary and redundant so remove it. For more details,
see the docs:

https://docs.python.org/3/howto/unicode.html#the-string-type

&gt; The default encoding for Python source code is UTF-8, so you can
&gt; simply include a Unicode character in a string literal ...

Includes a fix for the flake8 header checks to stop expecting an
encoding cookie.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3, the default encoding of source files is utf-8. The encoding
cookie is now unnecessary and redundant so remove it. For more details,
see the docs:

https://docs.python.org/3/howto/unicode.html#the-string-type

&gt; The default encoding for Python source code is UTF-8, so you can
&gt; simply include a Unicode character in a string literal ...

Includes a fix for the flake8 header checks to stop expecting an
encoding cookie.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Remove u-prefix from strings</title>
<updated>2018-12-16T12:28:51+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2018-12-15T14:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=c6bd84a61467a5a60adb11af7b5a7b99ac591fbf'/>
<id>c6bd84a61467a5a60adb11af7b5a7b99ac591fbf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#2902: jsdump.loads fails to load search index if keywords starts with underscore</title>
<updated>2016-08-27T06:28:36+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2016-08-27T06:28:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=acd4d9f2ba42baec9e538b6f16f18efe2e595286'/>
<id>acd4d9f2ba42baec9e538b6f16f18efe2e595286</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for sphinx.util.jsdump:loads()</title>
<updated>2016-08-27T05:20:08+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2016-08-27T05:20:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=52f4c072027347dc57b772e60edee5026c7754b9'/>
<id>52f4c072027347dc57b772e60edee5026c7754b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make javascript search work in more contexts</title>
<updated>2016-07-08T13:27:48+00:00</updated>
<author>
<name>Silvio Tomatis</name>
<email>silviot@gmail.com</email>
</author>
<published>2016-07-07T10:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sphinx-git.git/commit/?id=45473b333445d590b35db95982f750c5e30ce671'/>
<id>45473b333445d590b35db95982f750c5e30ce671</id>
<content type='text'>
The meaning of `\w` changed from python 2 to python 3.

&gt; $ python3.5 -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
&gt; &lt;_sre.SRE_Match object; span=(0, 2), match='aè'&gt;

&gt; python -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
&gt; None

but the definition of what's an acceptable javascript identifier should not vary from case to case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The meaning of `\w` changed from python 2 to python 3.

&gt; $ python3.5 -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
&gt; &lt;_sre.SRE_Match object; span=(0, 2), match='aè'&gt;

&gt; python -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
&gt; None

but the definition of what's an acceptable javascript identifier should not vary from case to case.
</pre>
</div>
</content>
</entry>
</feed>
