[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Sorry, I forget about this issue and remembered it only after creating similar 
patch from scratch. PR 11247 is what left from it after merging your patch.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread miss-islington


miss-islington  added the comment:


New changeset 29d4e309b1b4dfb26d65d83c683002911c066dec by Miss Islington (bot) 
in branch '3.7':
bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)
https://github.com/python/cpython/commit/29d4e309b1b4dfb26d65d83c683002911c066dec


--
nosy: +miss-islington

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10475

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10474

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset b2f642ccd2f65d2f3bf77bbaa103dd2bc2733734 by Serhiy Storchaka (Mat 
M) in branch 'master':
bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)
https://github.com/python/cpython/commit/b2f642ccd2f65d2f3bf77bbaa103dd2bc2733734


--

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2018-12-19 Thread Mathew M.


Change by Mathew M. :


--
pull_requests: +10473

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2017-11-19 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Ah, you have changed just refcounts.dat! This is good.

--

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2017-11-19 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

C API functions return new references by default. It needs to be explicitly 
documented only when the function returns a borrowed reference.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2017-11-19 Thread Mathew M.

Change by Mathew M. :


--
keywords: +patch
pull_requests: +4407
stage:  -> patch review

___
Python tracker 

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



[issue32077] Documentation: Some Unicode object functions don't indicate whether they return a new reference

2017-11-19 Thread Mathew M.

New submission from Mathew M. :

This is just something I've noticed when browsing the C API documentation for 
Unicode objects.

For example, the documentation entry for PyUnicode_DecodeMBCSStateful lacks the 
"Return value: New reference", etc.

--
assignee: docs@python
components: Documentation
messages: 306516
nosy: Mathew M., docs@python
priority: normal
severity: normal
status: open
title: Documentation: Some Unicode object functions don't indicate whether they 
return a new reference
type: enhancement

___
Python tracker 

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