Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 py-pdbtrack-grub-for-buffer typo

closed-accepted
nobody
None
5
2003-12-19
2003-10-22
Per Cederqvist
No

py-pdbtrack-grub-for-buffer assigns and reads the
global variable "buf". It binds "curbuf" in a let
statement, but never uses that variable. I think that
the intent was to create a local binding and use it.
The enclosed patch changes the binding so that the
variable name "buf" is used throughout the function.

I have not tested this. I might be missing something
subtle. I stumbled across this bug when I looked at
the warnings produced by Emacs 21.2 while
byte-compiling python-mode.el.

Discussion

  • Per Cederqvist
    Per Cederqvist
    2003-10-22

     
    Attachments
  • Skip Montanaro
    Skip Montanaro
    2003-12-19

    • status: open --> closed-accepted
     
  • Skip Montanaro
    Skip Montanaro
    2003-12-19

    Logged In: YES
    user_id=44345

    Thanks. Sorry for the delay. python-mode.el 4.45.