Over on python-ideas, a question about readline was raised and, I think,
resolved. But while investigating the question, it became obvious to me
that the ability to inspect the current readline bindings from Python
was both useful and important.
I wrote:
I don't believe that there is any direct
Zitat von Victor Stinner :
The amount of code will not be reduced, but now you also need to guess what
file some piece of functionality may be in.
How do you search a piece of code?
I type / in vim, or Ctrl-s (incremental search) in Emacs.
If you search for a function by its
name, it does
On Mon, Oct 8, 2012 at 8:17 AM, Victor Stinner wrote:
> Another problem with huge files is to handle "dependencies" with
> static functions. If the function A calls the function B which calls
> the function C, you have to order A, B and C "correctly" if these
> functions are private and not declar
2012/10/7 Victor Stinner :
> Another problem with huge files is to handle "dependencies" with
> static functions. If the function A calls the function B which calls
> the function C, you have to order A, B and C "correctly" if these
> functions are private and not declared at the top of the file.
> The amount of code will not be reduced, but now you also need to guess what
> file some piece of functionality may be in.
How do you search a piece of code? If you search for a function by its
name, it does not matter in which file it is defined if you an IDE or
vim/emacs with a correct configur
Hi,
Does anyone know if there is a good reason why PyUnicode_FromFormatV()
does not fail on invalid format string, but copies the format string
as-if into the result?
I would like to change this to raise a ValueError instead.
PyUnicode_FromFormatV() is used by PyErr_Format(), so PyErr_Format()
ma