<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/floatobject.c, branch 3.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Issue #24731: Fixed crash on converting objects with special methods</title>
<updated>2015-11-25T13:47:01+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-11-25T13:47:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=15095800a381a396cbc077cb5320203a8feae51a'/>
<id>15095800a381a396cbc077cb5320203a8feae51a</id>
<content type='text'>
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary</title>
<updated>2015-11-07T02:32:21+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-11-07T02:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=eeb896c4116dd763efea45cb3c1b53257128f4e4'/>
<id>eeb896c4116dd763efea45cb3c1b53257128f4e4</id>
<content type='text'>
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.

Patch by John Leitch, Serhiy Storchaka and Martin Panter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.

Patch by John Leitch, Serhiy Storchaka and Martin Panter.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix potential refleak in PyFloat_AsDouble (closes #23590)</title>
<updated>2015-03-06T14:08:44+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2015-03-06T14:08:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a915723dc780f2c6753487795988fe3b75e140a9'/>
<id>a915723dc780f2c6753487795988fe3b75e140a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()</title>
<updated>2015-02-02T23:21:08+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-02-02T23:21:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4fdb68491e8b2d044c9173babf625bbb815c39d1'/>
<id>4fdb68491e8b2d044c9173babf625bbb815c39d1</id>
<content type='text'>
and PyObject_AsWriteBuffer().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and PyObject_AsWriteBuffer().
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence expression result unused warnings with clang.</title>
<updated>2013-12-04T08:27:47+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2013-12-04T08:27:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d3afe781b15e47784273bbb82da6122bf7be999e'/>
<id>d3afe781b15e47784273bbb82da6122bf7be999e</id>
<content type='text'>
The PyObject_INIT() macros returns obj:

../cpython/Objects/methodobject.c:32:23: warning: expression result unused [-Wunused-value]
        PyObject_INIT(op, &amp;PyCFunction_Type);
                      ^~
../cpython/Include/objimpl.h:139:69: note: expanded from macro 'PyObject_INIT'
    ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
                                                                    ^
1 warning generated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PyObject_INIT() macros returns obj:

../cpython/Objects/methodobject.c:32:23: warning: expression result unused [-Wunused-value]
        PyObject_INIT(op, &amp;PyCFunction_Type);
                      ^~
../cpython/Include/objimpl.h:139:69: note: expanded from macro 'PyObject_INIT'
    ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) )
                                                                    ^
1 warning generated.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #3158: doctest can now find doctests in functions and methods</title>
<updated>2013-11-24T07:19:09+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2013-11-24T07:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a4b7a7548c43d1d7f4fd52129aa32340ca15af6a'/>
<id>a4b7a7548c43d1d7f4fd52129aa32340ca15af6a</id>
<content type='text'>
written in C.

As a part of this, a few doctests have been added to the builtins module
(on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all
platforms) on float, and test_builtins now runs doctests in builtins.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
written in C.

As a part of this, a few doctests have been added to the builtins module
(on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all
platforms) on float, and test_builtins now runs doctests in builtins.
</pre>
</div>
</content>
</entry>
<entry>
<title>#17080: improve error message of float/complex when the wrong type is passed.</title>
<updated>2013-11-07T17:18:34+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2013-11-07T17:18:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a5b9599538083468cffee3c052e15dd541c4bbd5'/>
<id>a5b9599538083468cffee3c052e15dd541c4bbd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#19069: merge with 3.3.</title>
<updated>2013-10-05T21:46:58+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2013-10-05T21:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e898153c0f64f3e618c619523bcee90500c3b322'/>
<id>e898153c0f64f3e618c619523bcee90500c3b322</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#19069: use imperative mood in float object docstrings.  Patch by Marco Buttu.</title>
<updated>2013-10-05T21:45:11+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2013-10-05T21:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7760b4eb4bedba81eb69d14f98ac978d37bc691a'/>
<id>7760b4eb4bedba81eb69d14f98ac978d37bc691a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18783: Removed existing mentions of Python long type in docstrings,</title>
<updated>2013-08-27T17:17:03+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2013-08-27T17:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=46e1ce214b5711e8dae63a1b5a0a7aafb371baf0'/>
<id>46e1ce214b5711e8dae63a1b5a0a7aafb371baf0</id>
<content type='text'>
error messages and comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
error messages and comments.
</pre>
</div>
</content>
</entry>
</feed>
