2013/11/25 Greg Ewing :
> Ben Hoyt wrote:
>>
>> However, it seems there was no further discussion about why not
>> "extension" and "extensions"? I have never heard a filename extension
>> being called a "suffix".
>
>
> You can't have read many unix man pages, then! I just
> searched for "suffix" in
On 25 Nov 2013 13:18, "Ben Hoyt" wrote:
>
> > The idea of the rich stat result object is that has all that info
> > prepopulated, based on an initial stat call. "Caching" it amounts to
"keep a
> > reference to it".
> >
> > It is suggested that it would be a subset of the pathlib.Path API:
> > http
On 25 Nov 2013 14:46, "gregory.p.smith" wrote:
>
> http://hg.python.org/cpython/rev/cac7319c5972
> changeset: 87537:cac7319c5972
> branch: 2.7
> parent: 87534:3981e57a7bdc
> user:Gregory P. Smith
> date:Mon Nov 25 04:45:27 2013 +
> summary:
> Fix test_fcntl to ru
Why are these functions (get_traces and get_object_traceback) private?
(1) Is the whole module provisional? At one point, I had thought so, but
I don't see that in the PEP or implementation. (I'm not sure that it
should be provisional, but I want to be sure that the decision is
intentional.)
(
2013/11/25 Jim Jewett :
> Why are these functions (get_traces and get_object_traceback) private?
_get_object_traceback() is wrapped to get a nice Python object:
http://hg.python.org/cpython/file/6ec6facb69ca/Lib/tracemalloc.py#l208
_get_traces() is private, it is used internally by take_snapshot(
> OK, so I'm a Windows dev, but my understanding is that d_ino is useful
> to tell if two files are identical - hard links to the same physical
> file have the same d_ino value. I don't believe it's possible to do
> this on Windows at all.
>
> I've seen it used in tools like diff, to short-circuit
Steve Dower wrote:
> The advice I've been given on FILE* is that there's probably no way to make it
> work correctly due to its internal buffering. Unfortunately, there are more
> places where this leaks through than just the APIs using them - extensions
> that
> call os.dup(fd), PyNumber_AsSsize_
On Mon, Nov 25, 2013 at 12:46 AM, Nick Coghlan wrote:
>
> On 25 Nov 2013 14:46, "gregory.p.smith"
> wrote:
> >
> > http://hg.python.org/cpython/rev/cac7319c5972
> > changeset: 87537:cac7319c5972
> > branch: 2.7
> > parent: 87534:3981e57a7bdc
> > user:Gregory P. Smith
> > dat