← 返回首页
Revert 30935 defer bpo45162 to 312 by serhiy-storchaka · Pull Request #94285 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Revert 30935 defer bpo45162 to 312#94285

Merged
serhiy-storchaka merged 431 commits into
python:revert-30935-defer-bpo45162-to-312from
serhiy-storchaka:revert-30935-defer-bpo45162-to-312
Jun 26, 2022
Merged

Revert 30935 defer bpo45162 to 312#94285
serhiy-storchaka merged 431 commits into
python:revert-30935-defer-bpo45162-to-312from
serhiy-storchaka:revert-30935-defer-bpo45162-to-312

Conversation

Copy link
Copy Markdown
Member

No description provided.

iritkatriel and others added 30 commits June 3, 2022 22:43
…n#93500) Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This will allow C++ extensions that pass 0 or NULL to macros using _Py_CAST() to continue to compile. Without this, you get an error like: invalid ‘static_cast’ from type ‘int’ to type ‘_object*’ The modern way to use a NULL value in C++ is to use nullptr. However, we want to not break extensions that do things the old way. Co-authored-by: serge-sans-paille
Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error.
…#27645) - Order exceptions as in PEP 249 - Reword descriptions, so they match the current behaviour Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
….save() (pythonGH-93463) Note: This change is not effective on Microsoft Windows. Cookies can store sensitive information and should therefore be protected against unauthorized third parties. This is also described in issue python#79096. The filesystem permissions are currently set to 644, everyone can read the file. This commit changes the permissions to 600, only the creater of the file can read and modify it. This improves security, because it reduces the attack surface. Now the attacker needs control of the user that created the cookie or a ways to circumvent the filesystems permissions. This change is backwards incompatible. Systems that rely on world-readable cookies will breake. However, one could argue that those are misconfigured in the first place.
…ogether (pythonGH-93269) Also, provide getHandlerByName() and getHandlerNames() APIs. Closes python#93162.
Co-authored-by: Sean Fleming Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
…eferences to tasks are needed (pythonGH-93258) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
231 hidden items Load more…

ghost commented Jun 26, 2022
edited by ghost
Loading

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

Click the button to sign:

serhiy-storchaka merged commit 1ffde3e into python:revert-30935-defer-bpo45162-to-312 Jun 26, 2022
serhiy-storchaka deleted the revert-30935-defer-bpo45162-to-312 branch June 26, 2022 06:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Footer

© 2026 GitHub, Inc.