Ole Laursen o...@iola.dk added the comment:
Just got bitten by this too.
Renaming is good and all, but as far as I can tell, it will never work with the
system spool. It's not just that you can't create a temporary file in the
directory, you can't rename files into it either. If I create
Ole Laursen o...@iola.dk added the comment:
Okay. I can only say that while the current docstrings are likely good
reminders for you, knowing Python in and out, they were pretty useless to me as
documentation, which I believe docstrings should be, they're called docstrings,
after all
Ole Laursen o...@iola.dk added the comment:
Just came across this bug, I don't want to reopen this or anything, but
regarding the SSE2 code I couldn't help thinking that why can't you just detect
the presence of SSE2 when the interpreter starts up and then switch
implementations based
Ole Laursen o...@iola.dk added the comment:
As the reporter of issue 7276, I think it's a clear explanation of this
phenomonen. I think that maybe you should remove the New Python
programmers in
New Python programmers are often surprised when they get this error in
previously working code
Ole Laursen o...@iola.dk added the comment:
OK, sorry, I was under the impression that the global binding was still
available (I can't find anything to the contrary here
http://docs.python.org/reference/simple_stmts.html#assignment-statements
) but it's obviously using a static definition
Ole Laursen o...@iola.dk added the comment:
OK, thanks! :) Sorry about the unintended nosy list removal, my browser
got me there.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7257
New submission from Ole Laursen o...@iola.dk:
On my Python 3.1, help() for sorted returns
sort(...)
L.sort(key=None, reverse=False) -- stable sort *IN PLACE*
sorted(...)
sorted(iterable, key=None, reverse=False) -- new sorted list
Kindly suggest this be expanded. Here's some text
Ole Laursen o...@iola.dk added the comment:
If you think it's too long, here's a shorter version:
Sorts sequence in place with a fast stable sort, returning None. key is
a function for extracting a comparison key from each element, e.g.
key=lambda x: x['name'] or key=str.lower. reverse=True
New submission from Ole Laursen o...@iola.dk:
import codecs
help(codecs.replace_errors)
results in
replace_errors(...)
(END)
in Python 2.6. Interestingly, http://docs.python.org/library/codecs
actually says Implements the replace error handling. Which is pretty
useless, though. :) Suggest