aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 3448db756..7aaf24755 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -157,16 +157,6 @@ class Python < Formula
prefix=#{HOMEBREW_PREFIX}
EOF
- # Work-around for that bug: http://bugs.python.org/issue18050
- inreplace lib_cellar/"re.py", "import sys", <<-EOS.undent
- import sys
- try:
- from _sre import MAXREPEAT
- except ImportError:
- import _sre
- _sre.MAXREPEAT = 65535 # this monkey-patches all other places of "from _sre import MAXREPEAT"'
- EOS
-
# Fixes setting Python build flags for certain software
# See: https://github.com/Homebrew/homebrew/pull/20182
# http://bugs.python.org/issue3588