-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from python:main #48
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
Co-authored-by: Bénédikt Tran <[email protected]>
…#131866) When using --with-dtrace the resulting object file could be missing specific CFLAGS exported by the build system due to the systemtap script using specific defaults. Exporting the CC and CFLAGS variables before the dtrace invocation allows us to properly apply CFLAGS exported by the build system even when cross-compiling. The fix does not affect the dtrace invocation on Solaris/macOS.
Use the standard `__ARM_ARCH` macro, which is supported by GCC and Clang. The branching logic for of `__ARMEL__` has been removed so if the target architecture supports v7+ instructions, a yield is emitted, otherwise a nop is emitted. This covers both big and little endian scenarios. Signed-off-by: Vincent Fazio <[email protected]>
Reviewer's Guide by SourceryThis pull request includes several bug fixes and performance improvements. It adds a test case for suggestions, improves the performance of textwrap.indent, refactors the _deduplicate function in typing.py, modifies mi_atomic_yield for ARM architectures, checks for exact list type in _generate_suggestions, corrects the type of previousTpSize in _winapi.c, adds Py_UNREACHABLE() in thread_nt.h, and adds NEWS entries for several issues. Updated class diagram for textwrap.indentclassDiagram
class textwrap {
+indent(text, prefix, predicate=None)
}
note for textwrap.indent "Performance improvement by inlining the predicate and using str.isspace()"
Updated class diagram for typing moduleclassDiagram
class typing {
-_deduplicate_unhashable(unhashable_params)
+_deduplicate(params, *, unhashable_fallback=False)
}
note for typing "Refactored _deduplicate function by removing the _deduplicate_unhashable function and inlining its logic into _deduplicate"
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
Merge various improvements and fixes across different Python modules and system components
Bug Fixes:
Enhancements:
Tests: