Jim Jewett, 08.01.2012 23:33:
> Stefan Behnel wrote:
>> Admittedly, this may require some adaptation for the PEP393 unicode memory
>> layout in order to produce identical hashes for all three representations
>> if they represent the same content.
>
> They SHOULD NOT represent the same content; com
>> Can rewinddir() end up touching the filesystem to retrieve data? I
>> noticed that your previous change (the one this checkin reverted)
>> moved it outside the GIL release macros.
>
> It just resets a position count. (in glibc).
Actually, it also calls lseek() on the directory FD:
http://source
Christian Heimes wrote:
Hello,
I tried to compare the py3k baseline with my randomhash branch but the
benchmark suite is failing.
I've follewed the instruction
# hg clone http://hg.python.org/benchmarks/ py2benchmarks
# mkdir py3benchmarks;
# cd py3benchmarks
# ../py2benchmarks/make_pe
> That said, I don't think smallest-format is actually enforced with
> anything stronger than comments (such as in unicodeobject.h struct
> PyASCIIObject) and asserts (mostly calling
> _PyUnicode_CheckConsistency). I don't have any insight on how
> prevalent non-conforming strings will be in pract
> - if os.name in ('nt', 'os2'):
> + if os.name in ('nt'):
This change is wrong: it should be os.name == 'nt'.
Victor
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:/
Victor Stinner wrote:
-if os.name in ('nt', 'os2'):
+if os.name in ('nt'):
This change is wrong: it should be os.name == 'nt'.
Or possibly os.name in ('nt', ) (note the comma).
--
Steven
___
Python-Dev mailing list
Python-Dev@pyth
2012/1/9 Charles-François Natali :
>>> Can rewinddir() end up touching the filesystem to retrieve data? I
>>> noticed that your previous change (the one this checkin reverted)
>>> moved it outside the GIL release macros.
>>
>> It just resets a position count. (in glibc).
>
> Actually, it also calls
Hello,I am trying to send a tuple to a method of a python class and I got a Run failed from netbeans compilerwhen I want to send a tuple to a simple method in a module it works,when I want to send a simple parameter to a method of a clas it works also but not a tuple to a method of a classI put t
I can't find an answer to this grovelling through get user info. on
descriptors.
Assuming desc() is a data descriptor class why are the following not the
same???
class poop(object):
var = desc()
and
class poop(object):
def __init__(self):
self.var = d
Hello.
We are sorry but we cannot help you. This mailing list is to work on
developing Python (adding new features to Python itself and fixing bugs);
if you're having problems learning, understanding or using Python, please
find another forum. Probably python-list/comp.lang.python mailing list/
Good evening,
2012/1/9
> **
> I am trying to send a tuple to a method of a python class and I got a Run
> failed from netbeans compiler
> when I want to send a tuple to a simple method in a module it works,when I
> want to send a simple parameter to a method of a clas it works also but not
> a t
We spent some time investigating Python/Win8 projections but we don't really
have anything else to say right now, but it is certainly possible.
I haven't been following this thread so maybe this was already discussed, but
on the whole "new OS target" thing - if people want to write immersive app
On Mon, 09 Jan 2012 21:58:29 +0100
terry.reedy wrote:
>
> -Different branches are used at a time to represent different *minor versions*
> -in which development is made. All development should be done **first** in
> the
> -:ref:`in-development ` branch, and selectively backported
> -to other b
Hi,
All the buildbots are turning red because of test_ssl:
"""
==
ERROR: test_connect (test.test_ssl.NetworkedTests)
--
Traceback (most recent call last):
File
On Tue, Jan 10, 2012 at 7:59 AM, Antoine Pitrou wrote:
> Please avoid using the terms "minor version" and "major version", they
> are confusing.
Indeed. "Feature release" (2.7, 3.2, 3.3) and "release series" (2.x,
3.x) are the least confusing terms we have available.
Cheers,
Nick.
--
Nick Cogh
On 1/9/2012 8:52 PM, Nick Coghlan wrote:
On Tue, Jan 10, 2012 at 7:59 AM, Antoine Pitrou wrote:
Please avoid using the terms "minor version" and "major version", they
are confusing.
Indeed. "Feature release" (2.7, 3.2, 3.3) and "release series" (2.x,
3.x) are the least confusing terms we have
16 matches
Mail list logo