[issue29953] Memory leak in the replace() method of datetime and time objects

2017-03-31 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +824

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29952] "keys and values" is preferred to "keys and elements" for name of dict constituent

2017-03-31 Thread INADA Naoki

INADA Naoki added the comment:


New changeset 4c75fbb485c0e42181aab95c2ae92c597915827c by INADA Naoki in branch 
'3.6':
bpo-29952: Use usual terminology of dict  (GH-922)
https://github.com/python/cpython/commit/4c75fbb485c0e42181aab95c2ae92c597915827c


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29897] itertools.chain behaves strangly when copied with copy.copy

2017-03-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Just for example there is a patch that implements in Python deeper copying for 
itertools.chain objects. I doesn't mean pushing it, it is too complicated. I 
have wrote also slightly simpler implementation, but it doesn't work due to the 
behavior of copied map object.

--
keywords: +patch
Added file: http://bugs.python.org/file46769/itertools-chain-copy.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29941] Confusion between asserts and Py_DEBUG

2017-03-31 Thread Thomas Wouters

Thomas Wouters added the comment:


New changeset a00c3fd12d421e41b769debd7df717d17b0deed5 by T. Wouters in branch 
'master':
bpo-29941: Assert fixes (#886)
https://github.com/python/cpython/commit/a00c3fd12d421e41b769debd7df717d17b0deed5


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29941] Confusion between asserts and Py_DEBUG

2017-03-31 Thread Thomas Wouters

Thomas Wouters added the comment:

This needs some measure of backporting, now that it's just build-time fixes. 
I'll take a look.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29725] sqlite3.Cursor doesn't properly document "arraysize"

2017-03-31 Thread Cheryl Sabella

Cheryl Sabella added the comment:

Hi Aviv,

Thank you so much for explaining that!  It's obvious to me now.  It wasn't 
marked as READ ONLY in the program, so of course it would set by the caller.  
I'll be able to document that.

I still have the question about this line in fetchall - " Note that the 
cursor’s arraysize attribute can affect the performance of this operation. "  I 
don't see arraysize referenced in that function.  I must be missing something 
else, but if it's not used, then maybe I should remove that line?

One other question --
There is another attribute called row_factory in the cursor structure that 
isn't in the docs.  There is a row_factory defined in the docs, but that one is 
for the connection structure.  Should it be added under cursor as well?

Thank you!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



<    1   2   3   4   5