summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-04-22 15:29:27 (GMT)
committerBarry Warsaw <barry@python.org>2002-04-22 15:29:27 (GMT)
commitb2d5e62d65c2277832441956b99224eefd9514f8 (patch)
tree214aaabd1f673cd7ac1e51cd7dda03483c0b2d8a /PC/config.c
parentca80002694db533c76b8f852e2277b79bfcadba8 (diff)
downloadcpython-b2d5e62d65c2277832441956b99224eefd9514f8.zip
cpython-b2d5e62d65c2277832441956b99224eefd9514f8.tar.gz
cpython-b2d5e62d65c2277832441956b99224eefd9514f8.tar.bz2
(py-execute-region): If you ran this without having visited a
python-mode file, py-which-shell would have been nil and the command to use would not get set correctly. This changes things so that 1) the temporary file has a .py extension, 2) the temporary file is put into python-mode, and 3) the temporary file's py-which-shell is captured in a local `shell' variable, which is used to calculate the command to use. Closes SF bug #545436. (py-parse-state): Rip out the XEmacs-specific calls to buffer-syntactic-context, which can get quite confused if there's an open paren in column zero say, embedded in a triple quoted string. This was always a performance hack anyway, and computers are fast enough now that we should be able to get away with the slower, more portable, full-parse branch. Closes SF bug #451841. Update the comments at the top of the file.
Diffstat (limited to 'PC/config.c')
0 files changed, 0 insertions, 0 deletions