This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyBytes_InternInPlace is missing in bytesobject.h
Type: compile error Stage:
Components: Interpreter Core Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, rsms
Priority: normal Keywords:

Created on 2009-02-16 13:21 by rsms, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg82238 - (view) Author: Rasmus Andersson (rsms) Date: 2009-02-16 13:21
The PyBytes_InternInPlace 2-to-3 transition macro is missing in 
include/bytesobject.h

Alternatively, the documentation[1] is missing some details. At the top 
there's a note saying "These functions have been renamed to PyBytes_* in 
Python 3.x. The PyBytes names are also available in 2.6.".

[1] http://docs.python.org/c-api/string.html

Confirmed with version 2.6.1 (original release from python.org)
msg82242 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-02-16 14:55
The reason for that is that PyBytes_InternFromString doesn't exist in
3.0. I noted that in the docs in r69672.
History
Date User Action Args
2022-04-11 14:56:45adminsetgithub: 49530
2009-02-16 14:55:18benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg82242
nosy: + benjamin.peterson
2009-02-16 13:22:40rsmssettype: compile error
2009-02-16 13:21:20rsmscreate