diff options
| author | Guido van Rossum <guido@python.org> | 1997-05-12 16:04:09 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-05-12 16:04:09 (GMT) |
| commit | 4a807f59391b497730342cf4cd07207ef50cfb51 (patch) | |
| tree | 6121c9eb4df08dd349baae1d9a6fc3f2accb1274 /Python/traceback.c | |
| parent | 1d63d8c8290e801f8a1d9041a8073e0ca79be56e (diff) | |
| download | cpython-4a807f59391b497730342cf4cd07207ef50cfb51.zip cpython-4a807f59391b497730342cf4cd07207ef50cfb51.tar.gz cpython-4a807f59391b497730342cf4cd07207ef50cfb51.tar.bz2 | |
Fix big ineficciency in regobj.search/match (introduced by Barry in an
otherwise laudible attempt to rationalize the argument parsing): it
would save a copy of the original string instead of a reference to it.
Go back to saving a reference, but keep the "s#" format (using a hack
that involves two argument parsing steps, first using "O", then using
"s#").
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions
