forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-120522: Add a
--with-app-store-compliance
configure option…
… to patch out problematic code (python#120984) * Add --app-store-compliance configuration option. * Added blurb. * Correct tab-vs-spaces formatting issue. * Correct source file name in docs. Co-authored-by: Nice Zombies <[email protected]> * Correct source code reference in Mac docs Co-authored-by: Nice Zombies <[email protected]> * Only apply the patch forward, and ensure the working directory is correct. * Make patching reslient to multiple builds. * Documentation fixes found during review Co-authored-by: Alyssa Coghlan <[email protected]> * Documentation and configure.ac syntax improvements Co-authored-by: Erlend E. Aasland <[email protected]> * Regenerate configure script. * Silence the patch echo output. --------- Co-authored-by: Nice Zombies <[email protected]> Co-authored-by: Alyssa Coghlan <[email protected]> Co-authored-by: Erlend E. Aasland <[email protected]>
- Loading branch information
Showing
9 changed files
with
238 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py | ||
index d6c83a75c1c..19ed4e01091 100644 | ||
--- a/Lib/test/test_urlparse.py | ||
+++ b/Lib/test/test_urlparse.py | ||
@@ -237,11 +237,6 @@ def test_roundtrips(self): | ||
'','',''), | ||
('git+ssh', '[email protected]','/user/project.git', | ||
'', '')), | ||
- ('itms-services://?action=download-manifest&url=https://example.com/app', | ||
- ('itms-services', '', '', '', | ||
- 'action=download-manifest&url=https://example.com/app', ''), | ||
- ('itms-services', '', '', | ||
- 'action=download-manifest&url=https://example.com/app', '')), | ||
('+scheme:path/to/file', | ||
('', '', '+scheme:path/to/file', '', '', ''), | ||
('', '', '+scheme:path/to/file', '', '')), | ||
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py | ||
index 8f724f907d4..148caf742c9 100644 | ||
--- a/Lib/urllib/parse.py | ||
+++ b/Lib/urllib/parse.py | ||
@@ -59,7 +59,7 @@ | ||
'imap', 'wais', 'file', 'mms', 'https', 'shttp', | ||
'snews', 'prospero', 'rtsp', 'rtsps', 'rtspu', 'rsync', | ||
'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh', | ||
- 'ws', 'wss', 'itms-services'] | ||
+ 'ws', 'wss'] | ||
|
||
uses_params = ['', 'ftp', 'hdl', 'prospero', 'http', 'imap', | ||
'https', 'shttp', 'rtsp', 'rtsps', 'rtspu', 'sip', |
This file contains 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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Build/2024-06-25-15-29-27.gh-issue-120522.5_n515.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Added a :option:`--with-app-store-compliance` option to patch out known issues | ||
with macOS/iOS App Store review processes. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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