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

gh-103977: compile re expressions in platform.py only if required #103981

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

Merged
merged 12 commits into from
Apr 30, 2023
Merged
Prev Previous commit
Next Next commit
patchcheck
  • Loading branch information
eendebakpt committed Apr 29, 2023
commit da59bfefc132fcfddb289f8ddabb7b382c6b3dc5
2 changes: 1 addition & 1 deletion 2 Lib/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ def _sys_version(sys_version=None):
r'(?:,\s*([\w ]*)' # ", builddate"
r'(?:,\s*([\w :]*))?)?\)\s*' # ", buildtime)<space>"
r'\[([^\]]+)\]?', re.ASCII) # "[compiler]"

if sys.platform.startswith('java'):
# Jython
name = 'Jython'
Expand Down
3 changes: 0 additions & 3 deletions 3 Lib/test/coding20731.py
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#coding:latin1
eendebakpt marked this conversation as resolved.
Show resolved Hide resolved



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