aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-30 23:09:19 -0500
committerJack Nagel2014-03-30 23:13:31 -0500
commite506e34f5a5b78d20942cdd26db30dd309b998dd (patch)
tree706100ba6b68b8d83a94338db1e4de9bc8d86de3 /Library/Formula/python.rb
parentaad59307583a978c9036fd97065a444ac51cef7b (diff)
downloadhomebrew-e506e34f5a5b78d20942cdd26db30dd309b998dd.tar.bz2
python: drop inreplace that was fixed upstream
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