[issue17921] explicit empty check instead of implicit booleaness

2013-05-06 Thread lesmana
New submission from lesmana: Python should have a builtin method `isempty()` which calls the special method name `__isempty__()` for explicit emptiness check. The special method `__isempty__()` should return `True` if the object is "empty" and `False` if the object is "not e

[issue519227] hook method for 'is' operator

2013-05-06 Thread lesmana
Changes by lesmana : -- nosy: +lesmana versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue519227> ___ ___ Python-bugs-list mailing list Unsub

[issue12458] Tracebacks should contain the first line of continuation lines

2011-10-02 Thread lesmana
Changes by lesmana : -- nosy: +lesmana ___ Python tracker <http://bugs.python.org/issue12458> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue8920] PYTHONSTARTUP should expand "~"

2010-06-06 Thread lesmana
lesmana added the comment: yes the quotes prevented the tilde to be expanded by the shell. somehow i failed to check that. i also failed to check that there is $HOME. somehow i failed to see the forest because of the many trees (a german saying). technically my original description is still

[issue8919] python should read ~/.pythonrc.py by default

2010-06-06 Thread lesmana
lesmana added the comment: the .pythonrc.py file is not deprecated. only the user module is deprecated. the problem i have with the PYTHONSTARTUP variable is that i find it is an unecessary intermediate step to set up an initialization file. let me elaborate: every single time you want to

[issue8920] PYTHONSTARTUP should expand "~"

2010-06-06 Thread lesmana
New submission from lesmana : for example, this should be legal: PYTHONSTARTUP="~/.pythonrc.py" workaround (in bash) PYTHONSTARTUP=$(echo ~)"/.pythonrc.py" -- messages: 107198 nosy: lesmana priority: normal severity: normal status: open title: PYTHONSTARTUP sh

[issue8919] python should read ~/.pythonrc.py by default

2010-06-06 Thread lesmana
New submission from lesmana : if started as an interactive session python should check for and read ~/.pythonrc.py by default. furthermore there should be two options added: --rcfile filename this will read filename instead of ~/.pythonrc --norc this will prevent reading ~/.pythonrc (this is

[issue7898] rlcompleter add "real tab" when text is empty feature

2010-06-06 Thread lesmana
Changes by lesmana : -- nosy: +lesmana ___ Python tracker <http://bugs.python.org/issue7898> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5845] rlcompleter should be enabled automatically

2010-06-06 Thread lesmana
Changes by lesmana : -- nosy: +lesmana ___ Python tracker <http://bugs.python.org/issue5845> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth