<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyscss.git/scss/src/scanner.c, branch master</title>
<subtitle>github.com: Kronuz/pyScss.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/'/>
<entry>
<title>Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats</title>
<updated>2021-03-08T06:15:41+00:00</updated>
<author>
<name>Akihiro Motoki</name>
<email>amotoki@gmail.com</email>
</author>
<published>2021-03-08T06:05:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=bd20fb79fe57673512536682b1eed07bbb7003a7'/>
<id>bd20fb79fe57673512536682b1eed07bbb7003a7</id>
<content type='text'>
We see the following warning when scss is used with python 3.8.

  scss/compiler.py:359: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    for c_lineno, c_property, c_codestr in locate_blocks(rule.unparsed_contents):

This warning was introduced by https://bugs.python.org/issue36381
to warn about an upcoming Python C API change.
The meaning of PY_SSIZE_T_CLEAN is described in
https://python.readthedocs.io/en/stable/c-api/arg.html#strings-and-buffers.

What we need to do are:
* find all usages of PyArg_Parse with # formats and related functions.
  Ensure that the type of the length argument is a Py_ssize_t.
* Add #define PY_SSIZE_T_CLEAN above the #include &lt;Python.h&gt;.

Signed-off-by: Akihiro Motoki &lt;amotoki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We see the following warning when scss is used with python 3.8.

  scss/compiler.py:359: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    for c_lineno, c_property, c_codestr in locate_blocks(rule.unparsed_contents):

This warning was introduced by https://bugs.python.org/issue36381
to warn about an upcoming Python C API change.
The meaning of PY_SSIZE_T_CLEAN is described in
https://python.readthedocs.io/en/stable/c-api/arg.html#strings-and-buffers.

What we need to do are:
* find all usages of PyArg_Parse with # formats and related functions.
  Ensure that the type of the length argument is a Py_ssize_t.
* Add #define PY_SSIZE_T_CLEAN above the #include &lt;Python.h&gt;.

Signed-off-by: Akihiro Motoki &lt;amotoki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unused variable</title>
<updated>2018-08-23T13:41:58+00:00</updated>
<author>
<name>Germán Méndez Bravo</name>
<email>german.mb@gmail.com</email>
</author>
<published>2018-08-23T13:41:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=fb32b317f6e2b4b4aad2b86a74844658ac4aa11e'/>
<id>fb32b317f6e2b4b4aad2b86a74844658ac4aa11e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Using hashtables as cached restriction sets</title>
<updated>2014-09-22T18:53:31+00:00</updated>
<author>
<name>German M. Bravo</name>
<email>german.mb@deipi.com</email>
</author>
<published>2014-09-22T18:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=1e998b7628dd4ee9152c0a3002edd847aed8df01'/>
<id>1e998b7628dd4ee9152c0a3002edd847aed8df01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added hashtable</title>
<updated>2014-09-22T15:03:15+00:00</updated>
<author>
<name>German M. Bravo</name>
<email>german.mb@deipi.com</email>
</author>
<published>2014-09-22T15:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=bbd3d9b381ff349dc244725abc4748fff587dfc5'/>
<id>bbd3d9b381ff349dc244725abc4748fff587dfc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed leftover call to Pattern_regex() in Scanner_token which made it slower</title>
<updated>2014-09-19T14:09:15+00:00</updated>
<author>
<name>German M. Bravo</name>
<email>german.mb@deipi.com</email>
</author>
<published>2014-09-19T14:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=b4ce194ee8cac6688c8e8a51c935b1a02669750b'/>
<id>b4ce194ee8cac6688c8e8a51c935b1a02669750b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed compiler warnings</title>
<updated>2014-09-19T00:42:20+00:00</updated>
<author>
<name>German M. Bravo</name>
<email>german.mb@deipi.com</email>
</author>
<published>2014-09-19T00:42:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=6c7e24445bdfbf56d8b58b8e1c6251f956f716d2'/>
<id>6c7e24445bdfbf56d8b58b8e1c6251f956f716d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make scanner errors slightly more friendly to read.</title>
<updated>2014-09-03T02:29:55+00:00</updated>
<author>
<name>Eevee (Alex Munroe)</name>
<email>eevee.git@veekun.com</email>
</author>
<published>2014-09-03T02:29:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=16bcfbbac6da460faaaa6ebc9cfaf75a3aa8aa78'/>
<id>16bcfbbac6da460faaaa6ebc9cfaf75a3aa8aa78</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove extraneous Pattern_setup function from speedups.</title>
<updated>2014-08-30T00:07:48+00:00</updated>
<author>
<name>Eevee (Alex Munroe)</name>
<email>eevee.git@veekun.com</email>
</author>
<published>2014-08-29T23:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=ea076cc40dfeb0ac373376c3a912285595e2058e'/>
<id>ea076cc40dfeb0ac373376c3a912285595e2058e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Speedups C code: spaces -&gt; tabs</title>
<updated>2014-06-03T14:06:42+00:00</updated>
<author>
<name>German M. Bravo</name>
<email>german.mb@deipi.com</email>
</author>
<published>2014-06-03T14:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=c15cb6b827145b648be8a758d8d4e44e0501321e'/>
<id>c15cb6b827145b648be8a758d8d4e44e0501321e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some declaration-after-statement gripes in the C.</title>
<updated>2014-05-22T00:31:41+00:00</updated>
<author>
<name>Eevee (Alex Munroe)</name>
<email>eevee.git@veekun.com</email>
</author>
<published>2014-05-03T00:38:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pyscss.git/commit/?id=d359e651a5a415ad7144e930a89a15c49e6eba9c'/>
<id>d359e651a5a415ad7144e930a89a15c49e6eba9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
