Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[C API] Python exports symbols without Py prefix #141376

Copy link
Copy link
@vstinner

Description

@vstinner
Issue body actions

Bug report

Bug description:

Python should only export symbols starting with Py prefix (or _Py prefix).

List found by Stefan:

bufferedrandom_spec
bufferedreader_spec
bufferedrwpair_spec
bufferedwriter_spec
bytesiobuf_spec
bytesio_spec
constevaluator_spec
fileio_spec
generic_spec
iobase_spec
nldecoder_spec
paramspecargs_spec
paramspeckwargs_spec
paramspec_spec
pkgcontext
PY_TIMEOUT_MAX     # I did not filter for PY with capital Y
rawiobase_spec
stringio_spec
textiobase_spec
textiowrapper_slots
textiowrapper_spec
typevar_spec
typevartuple_slots
typevartuple_spec

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.