Hello,
The BufferedReader (and BufferedRWPair) classes both have a read1()
method in addition to the regular read() method to bypass the internal
buffer. This is quite useful if you need to do some buffered reading
(e.g. to parse a header) followed by a lot of bulk data that you want to
process as
On 1 Apr 2014 01:38, "Victor Stinner" wrote:
>
> 2014-03-31 13:38 GMT+02:00 Andrey Ponomarenko :
> > The public libpython API changes will be tracked here:
> > http://upstream-tracker.org/versions/python_public_api.html
> >
> > For now I've excluded only symbols starting with an underscore. What
o
On Mon, Mar 31, 2014 at 1:45 PM, Terry Reedy wrote:
> On 3/31/2014 2:30 PM, Eric Snow wrote:
>> Is this still an open question, Terry?
>
>
> It is not currently for #9974 because after consideration of two proposed
> patches (one part of another issue), I decided that the conditions being
> guarde
vne
On Mon, Mar 31, 2014 at 2:01 PM, Daniel Stutzbach wrote:
> On Fri, Mar 28, 2014 at 6:45 PM, Dan Stromberg wrote:
>>
>> In my testing blist.sorteddict was dead last for random keys, and
>> wasn't last but was still significantly underperforming for sequential
>> keys (outperforming only binary
On 2014-03-28, at 17:19 , Skip Montanaro wrote:
> (*) As an aside (that is, this belongs in a separate thread if you
> want to discuss it), in my opinion, attempting to support ISO 8601
> formatting is pointless without the presence of an anchor datetime.
> Otherwise how would you know how far bac
On Feb 18, 2014, at 1:09 PM, Terry Reedy wrote:
> While the function could be implemented as one 70-line function, it happens
> to be implemented as a 4-line wrapper for a completely undocumented
> (Untokenizer class with 4 methods. (It is unmentioned in the doc and there
> are currently no d
On 3/31/2014 2:30 PM, Eric Snow wrote:
On Tue, Feb 18, 2014 at 2:09 PM, Terry Reedy wrote:
I am working through the multiple bugs afflicting tokenize.untokenize, which
is described in the tokenize doc and has an even longer docstring. While the
function could be implemented as one 70-line funct
On Fri, Mar 28, 2014 at 2:52 PM, Fred Drake wrote:
> On Fri, Mar 28, 2014 at 5:19 PM, Greg Ewing
> wrote:
> > ISO 8601 doesn't seem to define a representation for
> > negative durations, though, so it wouldn't solve the
> > original problem.
>
> Aside from the horribleness of the ISO 8601 notati
On Wed, Mar 19, 2014 at 12:46 PM, Antoine Pitrou wrote:
> In http://bugs.python.org/issue19359#msg213530 I proposed to introduce a
> "proxy
> protocol" (__proxy__ / tp_proxy) that would be used as a fallback by
> _PyObject_LookupSpecial to fetch the lookup target, i.e.:
>
> def _PyObject_LookupSp
On Thu, Mar 20, 2014 at 11:56 AM, Larry Hastings wrote:
> On 03/20/2014 12:49 AM, Nick Coghlan wrote:
>
> So long as Graham's willing to go along with it, he doesn't have to to
> be the one to write the PEP.
>
>
> PEP? Why does it need a PEP? I didn't think it'd even be a new top-level
> library
On Tue, Feb 18, 2014 at 2:09 PM, Terry Reedy wrote:
> I am working through the multiple bugs afflicting tokenize.untokenize, which
> is described in the tokenize doc and has an even longer docstring. While the
> function could be implemented as one 70-line function, it happens to be
> implemented
2014-03-31 13:38 GMT+02:00 Andrey Ponomarenko :
> The public libpython API changes will be tracked here:
> http://upstream-tracker.org/versions/python_public_api.html
>
> For now I've excluded only symbols starting with an underscore. What other
> symbols should be excluded?
It's not a matter of u
Hi,
Victor Stinner wrote:
Hi,
2014-03-28 9:31 GMT+01:00 Andrey Ponomarenko :
The libpython library has been added to the ABI tracker:
http://upstream-tracker.org/versions/python.html
The page lists library versions and changes in API/ABI.
Nice!
By the way, would it be possible to add a seco
13 matches
Mail list logo