-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from python:main #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Use "PyObject*" for METH_O functions to fix an undefined behavior.
…ing.python… (#131096) * Replace link to historical PEP with current document on typing.python.org * Update Doc/library/typing.rst Co-authored-by: Ned Batchelder <[email protected]> --------- Co-authored-by: Ned Batchelder <[email protected]>
…131016) Test Windows-flavoured `pathlib.types._JoinablePath` in a dedicated test module. These tests cover `LexicalWindowsPath`, `PureWindowsPath` and `WindowsPath`, where `LexicalWindowsPath` is a simple implementation of `_JoinablePath` for use in tests.
Test `pathlib.types._ReadablePath` in a dedicated test module. These tests cover `ReadableZipPath`, `ReadableLocalPath` and `Path`, where the former two classes are implementations of `_ReadablePath` for use in tests.
Reviewer's Guide by SourceryThis pull request includes several changes to the CPython codebase. It refactors clinic files, improves test coverage for pathlib and sys.setprofile, fixes garbage collection issues in asyncio, updates TSAN tests, removes an unnecessary file, and updates clinic tools to handle METH_O functions with custom return converters. It also removes a redundant check in legacy_tracing.c and adds a NEWS entry. Updated class diagram for clinic function refactoringclassDiagram
class PyObject {
+PyObject *self
+PyObject *arg
}
class TkappObject {
+PyObject *self
+PyObject *arg
}
class arrayobject {
+PyObject *self
+PyObject *unused
}
class TreeBuilderObject {
+PyObject *self
+PyObject *data
}
class XMLParserObject {
+PyObject *self
+PyObject *data
}
class PySetObject {
+PyObject *so
+PyObject *other
}
class TaskObj {
+PyObject *self
+PyObject *result
}
class bytesio {
+PyObject *self
+PyObject *b
}
class PyCursesWindowObject {
+PyObject *self
+PyObject *file
}
class EVPobject {
+PyObject *self
+PyObject *obj
}
class PyStructObject {
+PyObject *self
+PyObject *buffer
}
class PySSLContext {
+PyObject *self
+PyObject *filepath
}
class PyTypeObject {
+PyObject *self
+PyObject *instance
}
PyObject <|-- TkappObject
PyObject <|-- arrayobject
PyObject <|-- TreeBuilderObject
PyObject <|-- XMLParserObject
PyObject <|-- PySetObject
PyObject <|-- TaskObj
PyObject <|-- bytesio
PyObject <|-- PyCursesWindowObject
PyObject <|-- EVPobject
PyObject <|-- PyStructObject
PyObject <|-- PySSLContext
PyObject <|-- PyTypeObject
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
Refactor the pathlib test suite to remove conditional Windows tests and add a new test suite for Windows-specific functionality.
Enhancements: