python-mode.el 6.0.5 "Hill"

virtualenv support

Milestone information

Project:
python-mode.el
Series:
trunk
Version:
6.0.5
Code name:
Hill
Released:
 
Registrant:
Andreas Roehler
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
37 Andreas Roehler
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
37 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon python-mode.el-6.0.5.tar.gz (md5) python-mode.el-6.0.5.tar.gz 1,582
last downloaded 4 days ago
Total downloads: 1,582

Release notes 

- Menu reworked and extended

- extended commands combine executing statement/block... with dedidi cated/switch... etc. This may remove some need of customization.

- local environments support started
  If calls to common `py-shell' should use local executable
  instead of default system Python set
  `py-use-local-default' alongside with
  `py-shell-local-path'

- `py-toggle-shells' alias of more powerful `py-switch-shells'
  Toggles between the interpreter customized in `py-shell-toggle-1' resp. `py-shell-toggle-2'. Was hard-coded CPython and Jython in earlier versions, now starts with Python2 and Python3 by default.

- `py-shell-name' accepts PATH/TO/EXECUTABLE
  in addition to name of an installed default Python-Shell.
  Permits installing commands like
  (defun python-XYZ-shell (&optional argprompt)
    "Start an Python-XYZ interpreter ... "
    (interactive)
    (let ((py-shell-name "PATH/TO/PYTHON-XYZ"))
      (py-shell argprompt)))

- new commands `indent-tabs-mode', `toggle-indent-tabs-mode',
  `indent-tabs-mode-on', `indent-tabs-mode-off'

  feature after a request at Stack Exchange asked Jul
  13 '11 at 13:23 saying
  `tab-width' now follows `py-indent-offset'

- new command `py-execute-region-default' forces the
  systems default Python interpreter to execute, ignores
  shebang

  related functions redesigned, `async' argument dropped
  `py-execute-region' now reads:

  (defun py-execute-region (start end &optional shell dedicated)
    "Send the region to a Python interpreter.

  When called with \\[univeral-argument], execution through `default-value' of `py-shell-name' is forced.
  When called with \\[univeral-argument] followed by a number different from 4 and 1, user is prompted to specify a shell. This might be the name of a system-wide shell or include the path to a virtual environment.

  When called from a programm, it accepts a string specifying a shell which will be forced upon execute as argument. "
  [ ... ]

- new `py-number-face',
  visible only when customized and `py-use-number-face-p' is `t',
  inherits default face
  With large files fontifying numbers may cause a delay
  Credits to github.com/fgallina/python.el/issues42

- new boolean `py-verbose-p'
  if `t', reached indent level etc. is messaged

- new commands py-execute-buffer-dedicated, py-execute-buffer-switch -dedicated

- `toggle-py-smart-indentation' new command
   also `py-smart-indentation-on', -off

Changelog 

This release does not have a changelog.

0 blueprints and 37 bugs targeted

Bug report Importance Assignee Status
910798 #910798 py-up/down-exception finds wrong comint/py-shell buffer 3 High Andreas Roehler  10 Fix Released
934022 #934022 emacs freezes when tab is hit in ipython with latest python-mode 3 High Andreas Roehler  10 Fix Released
889404 #889404 pycomplete \w indent-for-tab-command) 4 Medium Andreas Roehler  10 Fix Released
901541 #901541 Wrong type argument: number-or-marker-p, nil 4 Medium Andreas Roehler  10 Fix Released
910783 #910783 py-checker-run missing 4 Medium Andreas Roehler  10 Fix Released
910841 #910841 chatty indentation functions 4 Medium Andreas Roehler  10 Fix Released
911213 #911213 C-c C-h ('py-help-at-point') does not work because 'py-which-shell' is 'nil' in 'py-execute-string'. 4 Medium Andreas Roehler  10 Fix Released
913289 #913289 py-load-pymacs sets load path incorrectly 4 Medium Andreas Roehler  10 Fix Released
913414 #913414 imenu does not contain function definitions 4 Medium Andreas Roehler  10 Fix Released
913427 #913427 py-find-next-exeption-prepare typo 4 Medium Andreas Roehler  10 Fix Released
913428 #913428 py-down-exception IPython issues 4 Medium Andreas Roehler  10 Fix Released
913905 #913905 py-up-exception remaining 4 Medium Andreas Roehler  10 Fix Released
914599 #914599 Pymacs starts IPython 4 Medium Andreas Roehler  10 Fix Released
914607 #914607 py-down-exception IPython 0.12 bug 4 Medium Andreas Roehler  10 Fix Released
914705 #914705 TAB should be bound to py-indent-line, not py-indent-forward-line 4 Medium Andreas Roehler  10 Fix Released
914972 #914972 py-point looks like it should use save-excursion 4 Medium Andreas Roehler  10 Fix Released
916166 #916166 pycomplete.el buffer not deleted 4 Medium Andreas Roehler  10 Fix Released
916818 #916818 umlaut handling in py-forward/backward-into-nomenclature 4 Medium Andreas Roehler  10 Fix Released
916869 #916869 tab completion in Ipython buffers 4 Medium Andreas Roehler  10 Fix Released
919540 #919540 py-forward-into-nomenclature jumps over CamelCased words 4 Medium Andreas Roehler  10 Fix Released
919541 #919541 py-backward-into-nomenclature mishandles all-caps names 4 Medium Andreas Roehler  10 Fix Released
920079 #920079 user configured `py-shell-name' is not honored by 'py-guess-default-python' 4 Medium Andreas Roehler  10 Fix Released
921224 #921224 File mode specification error: (void-variable erg) 4 Medium Andreas Roehler  10 Fix Released
921355 #921355 sources need to be re-indented 4 Medium Andreas Roehler  10 Fix Released
921364 #921364 python-mode.el fails on an empty file 4 Medium Andreas Roehler  10 Fix Released
921990 #921990 Py-choose-shell is overriding `ipython' option with shebang 4 Medium Andreas Roehler  10 Fix Released
923575 #923575 py-execute-import-or-reload bug with python3 4 Medium Andreas Roehler  10 Fix Released
925586 #925586 when using py-execute-buffer, the line count Incorrect 4 Medium Andreas Roehler  10 Fix Released
927136 #927136 ipython-complete misses py-which-bufname 4 Medium Andreas Roehler  10 Fix Released
928087 #928087 execute-buffer ipython fails 4 Medium Andreas Roehler  10 Fix Released
929025 #929025 opening Pymacs.py fails 4 Medium Andreas Roehler  10 Fix Released
932418 #932418 load-extended-executes fails when py-install-directory is not set 4 Medium Andreas Roehler  10 Fix Released
938070 #938070 Patch to fix type error in py-execute-region and py-execute-region-dedicated 4 Medium Andreas Roehler  10 Fix Released
941140 #941140 py-mark-expression marks too much 4 Medium Andreas Roehler  10 Fix Released
943832 #943832 py-execute-buffer ignores full-path py-shell-name 4 Medium Andreas Roehler  10 Fix Released
944093 #944093 w-32 python missed 4 Medium Andreas Roehler  10 Fix Released
945597 #945597 setting imenu-create-index-p to nil causes an error if imenu is already loaded 4 Medium Andreas Roehler  10 Fix Released
This milestone contains Public information
Everyone can see this information.