<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/docutils.git/docutils/statemachine.py, branch docutils-0.17</title>
<subtitle>svn.code.sf.net: p/docutils/code
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/'/>
<entry>
<title>Limit length of input lines and substitution expansion.</title>
<updated>2020-09-14T10:26:03+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-09-14T10:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=46854d19a5ac502c3487908bab8ebd29a3220143'/>
<id>46854d19a5ac502c3487908bab8ebd29a3220143</id>
<content type='text'>
Mitigate the danger of DoS attacs using
specially crafted rST input (cf. bug #381).

The default value of 10 000 characters should suffice for
legitimate use cases (e.g. long paragraphs in auto-wrapping editors
or extensive creative use of substitutions).

Applications processing untrusted rST might wish to lower this
limitation (together with other safety measures described in
docs/howto/security.txt).

Unsupervised processing of untrusted rST input should always
be safeguarded with limits on processing time and memory use.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8565 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mitigate the danger of DoS attacs using
specially crafted rST input (cf. bug #381).

The default value of 10 000 characters should suffice for
legitimate use cases (e.g. long paragraphs in auto-wrapping editors
or extensive creative use of substitutions).

Applications processing untrusted rST might wish to lower this
limitation (together with other safety measures described in
docs/howto/security.txt).

Unsupervised processing of untrusted rST input should always
be safeguarded with limits on processing time and memory use.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8565 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete spurious parentheses.</title>
<updated>2020-09-01T21:51:08+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-09-01T21:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=3106c03ba031af783af5e63db213b67dcd022729'/>
<id>3106c03ba031af783af5e63db213b67dcd022729</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8552 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8552 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>fix typo</title>
<updated>2020-08-22T10:21:17+00:00</updated>
<author>
<name>grubert</name>
<email>grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2020-08-22T10:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=3cdd9b5bddf1450809deae45bcb25f7152161169'/>
<id>3cdd9b5bddf1450809deae45bcb25f7152161169</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8540 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8540 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Document possible heavy ressource use when parsing untrusted input.</title>
<updated>2019-12-12T13:04:57+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-12-12T13:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=88b8bd66091bc72251bce4f1d6b31fcece75f510'/>
<id>88b8bd66091bc72251bce4f1d6b31fcece75f510</id>
<content type='text'>
See bug #381.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8435 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See bug #381.

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8435 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify code.</title>
<updated>2019-08-27T12:11:30+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:11:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=ba4de0f4f0ec8d2c57732b4b928197bdf5ded9e3'/>
<id>ba4de0f4f0ec8d2c57732b4b928197bdf5ded9e3</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8373 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8373 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Wrap 'foo.keys()', 'zip(foo, bar') in 'list'</title>
<updated>2019-08-27T12:11:15+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=c01014b7ad56db09667210f4543a3feb584b3300'/>
<id>c01014b7ad56db09667210f4543a3feb584b3300</id>
<content type='text'>
In Python 3, 'dict.keys()', 'zip' and 'map' no longer return a list but
rather types 'dict_keys', 'zip' and 'map', respectively. You can't
append to these types nor can you delete from them while in a loop.  The
simple solution to both issues is to wrap things in 'list'.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 3, 'dict.keys()', 'zip' and 'map' no longer return a list but
rather types 'dict_keys', 'zip' and 'map', respectively. You can't
append to these types nor can you delete from them while in a loop.  The
simple solution to both issues is to wrap things in 'list'.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8372 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Formatting changes to facilitate integration of "py3" patchset.</title>
<updated>2019-08-27T12:09:56+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-27T12:09:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=c0440cc1576e8de85bf25ccf26cb721b22bb5061'/>
<id>c0440cc1576e8de85bf25ccf26cb721b22bb5061</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8367 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8367 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistent Python 3 checks.</title>
<updated>2019-08-26T16:46:17+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:46:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=64f1f9fa9718f72e708a92b26d5f96a0a8f6c7c9'/>
<id>64f1f9fa9718f72e708a92b26d5f96a0a8f6c7c9</id>
<content type='text'>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8360 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8360 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>Use 'isinstance(foo, bar)' instead of 'type(foo) is bar'</title>
<updated>2019-08-26T16:45:33+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=4f9369385de9a6d414672dae98c489722065c26f'/>
<id>4f9369385de9a6d414672dae98c489722065c26f</id>
<content type='text'>
This one is more stylistic than anything.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This one is more stylistic than anything.

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8359 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
<entry>
<title>py3: Replace 'types.SliceType' with slice, remove 'types.ClassType'.</title>
<updated>2019-08-26T16:42:50+00:00</updated>
<author>
<name>milde</name>
<email>milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04</email>
</author>
<published>2019-08-26T16:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/docutils.git/commit/?id=2a20990006b350f6456bdb7a9d34d92114309212'/>
<id>2a20990006b350f6456bdb7a9d34d92114309212</id>
<content type='text'>
These types have been removed in Python 3,
`SliceType` is an alias for `slice` already in Python 2.7,
`ClassType` is for user-defined old-style classes (we now use only new style classes).

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8355 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These types have been removed in Python 3,
`SliceType` is an alias for `slice` already in Python 2.7,
`ClassType` is for user-defined old-style classes (we now use only new style classes).

Signed-off-by: Stephen Finucane &lt;stephen@that.guru&gt;

git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8355 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
</pre>
</div>
</content>
</entry>
</feed>
