Re: [Python-Dev] unscriptable?

2008-04-19 Thread Steve Holden
and direct error message like "Illegal use of [] subscripting/indexing"? one-more-coat-for-the-bikeshed-ly y'rs - steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-

Re: [Python-Dev] socket.try_reuse_address()

2008-04-29 Thread Steve Holden
Giampaolo Rodola' wrote: Maybe it would be better considering Windows CE systems too: - if os.name == 'nt' + if os.name in ('nt', 'ce') Cygwin? I don't know how Unix-like it is. regards Steve -- Steve Holden+1 571 484 6266 +1 800 4

Re: [Python-Dev] shal we redefine "module" and "package"?

2008-04-30 Thread Steve Holden
stribution". -1 Zooko who doesn't mind stirring up trouble on occasion... regards Steve who doesn't mind trouble but would rather see communications improve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb

Re: [Python-Dev] Reminder: last alphas next Wednesday 07-May-2008

2008-05-02 Thread Steve Holden
where to put it ;-) On Thu, May 1, 2008 at 8:25 PM, <[EMAIL PROTECTED]> wrote: [much good sense] regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-De

Re: [Python-Dev] Optimization of Python ASTs: How should we deal with constant values?

2008-05-08 Thread Steve Holden
de with an assignment which would make a name be recognized as local? If you're worried about "yield" disappearing you should also be worried about assignments disappearing, since that might cause names to be interpreted as glob

Re: [Python-Dev] Adding start to enumerate()

2008-05-12 Thread Steve Holden
cial applications to number checks in batches, from a starting point that depends on the number of checks issued in previous runs. Having a start point would allow this to be done more simply, though it's not anyway what I would call an onerous task. regards Steve -- Steve Holden

Re: [Python-Dev] Adding start to enumerate()

2008-05-13 Thread Steve Holden
ongue out of your cheek immediately. I am beginning to feel somewhat uncomfortable on your behalf. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list P

Re: [Python-Dev] platform module testing

2008-05-17 Thread Steve Holden
nux. AFAIK the patch hasn't been applied yet. See http://bugs.python.org/issue1322 Contributor agreement? regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-De

Re: [Python-Dev] Addition of "pyprocessing" module to standard lib.

2008-05-19 Thread Steve Holden
he given platforms. I would like "being able to call a wide range of native libraries" to be a Python claim on all platforms, even when the native libraries are platform-proprietary. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://

Re: [Python-Dev] Unaccompanied Patch

2008-05-19 Thread Steve Holden
ahamh, 2008-05-19 23:49 Updated + doc -> reST That was quick. I'm not in a position to svn update were I am. Looks like someone's paying attention, though. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] Addition of "pyprocessing" module to standard lib.

2008-05-20 Thread Steve Holden
an that we need access to the Sun compiler or that the Sun compiler has bugs which prevent ctypes from compiling? I don't think anyone's mentioned Solaris in this context, but there are claims that libffi "doesn't build" for AIX and HP-UX. regards Steve -- Steve Holden

Re: [Python-Dev] optimization required: .format() is much slower than %

2008-05-29 Thread Steve Holden
()" 100 loops, best of 3: 0.454 usec per loop [EMAIL PROTECTED] ~ $ python -m timeit "'%s' % ''" 1000 loops, best of 3: 0.0715 usec per loop (times are a bit variable at this very moment since I have a few different apps open) Me too. Timin

Re: [Python-Dev] Finishing up PEP 3108

2008-05-31 Thread Steve Holden
") worked. It would be even handier if help(if) worked, but that's a syntax problem, and it would be a horrendous one to overcome, I suspect. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/

Re: [Python-Dev] converting the stdlib to str.format

2008-06-06 Thread Steve Holden
"salvaging" it. It's going to be too tricky to convert using 2to3 otherwise. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing l

Re: [Python-Dev] bug or a feature?

2008-06-10 Thread Steve Holden
havior to complain if it stopped working. Basically retaining this behavior is pandering to people who have ignored the language specification! regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ __

Re: [Python-Dev] [Python-3000-checkins] r64217 - in python/branches/py3k/Lib: bsddb/test/test_associate.py bsddb/test/test_join.py bsddb/test/test_lock.py bsddb/test/test_thread.py idlelib/rpc.py idle

2008-06-13 Thread Steve Holden
the new one too? It does seem that change was a little precipitate. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] r64407 - python/trunk/Doc/library/multiprocessing.rst

2008-06-20 Thread Steve Holden
Perhaps we need a split between "networking technologies" and "network-based applications". regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev

Re: [Python-Dev] Community buildbots and Python release quality metrics

2008-06-26 Thread Steve Holden
lways the messy business of communication required to ensure the information gets to where it is useful. The bottom line, of course, is that if project X can't be bothered to tell the core development team when changes break their build it's nobody's fault but their own. If the r

Re: [Python-Dev] repeated keyword arguments

2008-06-27 Thread Steve Holden
So we wait until they port their code to 2.6 to break it? regards Steve Guido van Rossum wrote: Sounds like a regression in 2.5 (and in 2.6, and in 3.0). Probably due to the switch to the new AST-based compiler. Can you file a bug? I think we should leave 2.5 alone (too much risk of breaking

Re: [Python-Dev] [issue3214] Suggest change to glossary explanation: "Duck Typing"

2008-07-02 Thread Steve Holden
sattr() to determine method availability, while not strictly "look before you leap" because it doesn't test for a specific type, certainly isn't EAFP either. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] UCS2/UCS4 default

2008-07-03 Thread Steve Holden
ers of a string is going to be an extremely inefficient operation. Surely it's desirable under all circumstances that len(u) == sum(1 for c in u) and that [c for c in u] == [c[i] for i in range(*len(u))] How would that play under Jeroen's proposed change? regards Steve -- St

Re: [Python-Dev] UCS2/UCS4 default

2008-07-03 Thread Steve Holden
lpful to many people (including myself). regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Steve Holden
it". The stdlib is definitely broken if it raises warnings of that kind. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.or

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Steve Holden
Benjamin Peterson wrote: On Fri, Jul 11, 2008 at 8:02 AM, Steve Holden <[EMAIL PROTECTED]> wrote: Benjamin Peterson wrote: Yes, indeed. We should make sure, however, that the changes in the 2.6 libraries are the absolute minimum to get the job done. (I'm trying to pretend like

Re: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

2008-07-13 Thread Steve Holden
the failure of the test, not the specific exception that is raised to fail it. Or would you prefer tests that raise other exceptions to succeed? The exception type is an implementation detail, and a fairly unimportant one as far as the purpose of testing goes. regards Steve -- Steve Holden

Re: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

2008-07-13 Thread Steve Holden
Antoine Pitrou wrote: Let's split hairs a little... Steve Holden holdenweb.com> writes: "Fail" isn't a negative. As Guido said, it's a description of the test behavior under particular circumstances. In most circumstances, "fail" is a negative word def

Re: [Python-Dev] Proposed unittest changes

2008-07-13 Thread Steve Holden
uch less natural way of expressing the condition, and (for all I know) might even introduce an extra negation operation. "is not" is, I believe, treated as a single operator. > [...] regards Steve -- Steve Holden+1 571 4

Re: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

2008-07-13 Thread Steve Holden
at *is* the issue at hand if not the question of positive assertions versus fail if/unless? As Steve said, this is getting silly... It certainly is. Python may be Guido's language, and if he wants to use his dictatorial powers to say that tests must be written as positive assertions becau

Re: [Python-Dev] Proposed unittest changes

2008-07-13 Thread Steve Holden
Tim Peters wrote: [Michael Foord] ... Adding the following new asserts: ... assertNotIs (first, second, msg=None) [Steve Holden] Please, let's call this one "assertIsNot". +1 I know it's valid Python to say if a not is b: Nope, that's a syntax error

Re: [Python-Dev] Proposed unittest changes

2008-07-14 Thread Steve Holden
e obvious pattern set by the others, in the interest of matching Python's 'is not' grammar. Well, I'd have said "in the interest of reading correctly in English", though I have to acknowledge this may not be an issue for many Python users whose first language not is Engli

Re: [Python-Dev] PEP: Consolidating names and classes in the `unittest` module

2008-07-14 Thread Steve Holden
ry course): >>> isinstance(type, object) True >>> isinstance(object, type) True This is a classic property of general object hierarchies based on metaclasses. I remember teaching the SmallTalk-80 equivalent to M.Sc. studnets in the early 1980s, though the detail

Re: [Python-Dev] PEP: Consolidating names and classes in the `unittest`module (updated 2008-07-15)

2008-07-14 Thread Steve Holden
ssing some subtlety? 2.5.1 says: >>> isinstance(unittest.TestCase, type) True Also, are there any expected benefits from making this change in 2.7? What will the module do differently? It seems like a risky change for zero-benefit. Better revert it, then :-) But easier to just drop t

Re: [Python-Dev] Proposed unittest changes

2008-07-15 Thread Steve Holden
themselves are doubly negative. assert* methods are so much more straightforward to comprehend. I think this is where I came in. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ _

Re: [Python-Dev] Unittest PEP do's and don'ts (BDFL pronouncement)

2008-07-16 Thread Steve Holden
er my code to use the updated module you have changed the API. Test code is particularly sensitive to such changes. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Pyth

Re: [Python-Dev] Unittest PEP do's and don'ts (BDFL pronouncement)

2008-07-16 Thread Steve Holden
ng_as_a_container. Or something equally trivial. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.

Re: [Python-Dev] No beta2 tonight

2008-07-17 Thread Steve Holden
is myself but a) I'm not the obvious candidate and b) I'm too busy to give it my attention now. If someone wanted to tackle this, it might help getting people testing for the next beta, and also to recruit more testers in the long-term. regards Steve -- Steve Holden+1

Re: [Python-Dev] Fuzzing bugs: most bugs are closed

2008-07-20 Thread Steve Holden
nless you can find a way to add the checks without slowing it down, an external checker might be better. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mail

Re: [Python-Dev] Infix operators

2008-07-27 Thread Steve Holden
een so far are all way impractical anyway. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] str(container) should call str(item), not repr(item)

2008-07-28 Thread Steve Holden
63, Apr 15 2008, 22:57:26) str("qwer") 'qwer' repr("qwer") "'qwer'" No it doesn't. What's happening in these examples is that the interpreter is calling repr() on the expression result - otherwise you wouldn'

Re: [Python-Dev] Base-96

2008-08-01 Thread Steve Holden
of time before some genius decides to design a 67.9-bit computer. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail

Re: [Python-Dev] April 1st jokes

2008-08-04 Thread Steve Holden
g/dev/peps/pep-3117/ Not to mention the April 1 Licensing blog entry: http://pyfound.blogspot.com/2006/04/python-25-licensing-change.html regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www

Re: [Python-Dev] New to python, let me know if i should be posting somewhere else

2008-08-05 Thread Steve Holden
answer. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Maintaining old releases

2008-08-13 Thread Steve Holden
ted that the patches will never get released. Perhaps we should just document the maintenance of Python releases more clearly and also plan for a final bug fix release 3 years after the initial branch release. That way developers and users can also adjust their plans accordingly. As always the problem is

Re: [Python-Dev] Should we help pythonmac.org?

2008-08-18 Thread Steve Holden
7;m copying the pydotorg list to see what, if anything, they have to say about it. That's where the work is likely to land, so we'd better know in advance if it would cause problems. regards Steve Guido van Rossum wrote: Alternatively, I just got mail from Bob Ippolito indicating t

Re: [Python-Dev] [Pydotorg] Should we help pythonmac.org?

2008-08-18 Thread Steve Holden
ions and you have to privately backport, though, isn't it? There have been hints dropped that if the 2.6 release hits its deadline it will be incorporated into vendor builds. Let's hope one of them is MacOS, then at least it'll be relatively up to date. regards Steve -- Steve Holden

Re: [Python-Dev] [Pydotorg] Should we help pythonmac.org?

2008-08-19 Thread Steve Holden
suspicious of any solution involving the word "just". I suppose we will "just" be able to recruit volunteers to maintain the additional content? regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] Unicode 5.1.0

2008-08-25 Thread Steve Holden
t this is low risk high benefit, > I'd vote no for 2.6/3.0. But it's [the] wafer-thin [end of the wedge] ... The difficulties with subprocess suggest there's plenty to do without adding yet one more tiny little task. regards Steve -- Steve Holden+1 571 484

Re: [Python-Dev] Things to Know About Super

2008-08-26 Thread Steve Holden
t you should take a look at Enthought's traits package. It's part of the Enthought Tool Suite (ETS). https://svn.enthought.com/enthought/wiki While I too appreciate your comments about super I believe you have perhaps overdone it. I do look forward to seeing the edited edition as a part of t

Re: [Python-Dev] confusing exec error message in 3.0

2008-08-28 Thread Steve Holden
; I don't think M.__file__ should lie and say it was loaded from a file >> that it wasn't loaded from. It's useful to be able to look at a module >> and see what file it was actually loaded from. > > While appreciate the use case, there are way more use cases where >

Re: [Python-Dev] Add python.exe to PATH environment variable

2008-09-05 Thread Steve Holden
to the directory first. For me, not > a big deal. > My own solution, on systems where I haven't bothered to add \python25 and python25\Scripts to the PATH, is to simply use \python25\python With tab expansion enabled by default it's easy enough. regards Steve -- Steve Ho

Re: [Python-Dev] bsddb

2008-09-06 Thread Steve Holden
hat it was such a restrictive license. When I > see "Berkeley" I think "BSD license". > Well of course nowadays when you see "SleepyCat" you need to be thinking "Oracle". They have dabbled in open source, but I didn't get the impression that the

Re: [Python-Dev] bsddb and sqlite

2008-09-07 Thread Steve Holden
ned that it appears that normal procedures have been circumvented to enable its removal from 3.0. Since we have at least one developer committed to ongoing support that seems both harsh and unnecessary. regards Steve -- Steve Holden+1 571 484

Re: [Python-Dev] Add python.exe to PATH environment variable

2008-09-08 Thread Steve Holden
>python 'python' is not recognized as an internal or external command, operable program or batch file. C:\Users\sholden\Documents\dyjr>manage.py Type 'manage.py help' for usage. regards Steve -- Steve Holden+1 571 4

Re: [Python-Dev] What's New in 2.6 link wasn't what I expected

2008-09-18 Thread Steve Holden
s 2.x What's New doc. That's what people > expect to find. We shouldn't be changing that now. > +1 -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-De

Re: [Python-Dev] Python documentation

2008-09-22 Thread Steve Holden
e a cross-link to the 3.0 docs. > Indeed. Having spent efforts to persuade the community that 3.0 isn't intended to replace 2.6 for production use it would be a shame to have docs.python.org counteract that. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden We

Re: [Python-Dev] Python security team

2008-09-28 Thread Steve Holden
tive portions of the security team would help the busy members to avoid such issues dropping through the cracks in future. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/

Re: [Python-Dev] Python security team

2008-09-30 Thread Steve Holden
his was more of a "so how the hell does it really work" question. > I haven't yet heard anyone make a convincing case that it does. It is a great idea, and we *do* need to take security seriously, but at present all we have is a bunch of well-intentioned and over-committed volunt

Re: [Python-Dev] 3.1 focus (was Re: for __future__ import planning)

2008-10-05 Thread Steve Holden
to run the > program through 2to3 to make it port correctly, I recommend to use > the build_py_2to3 build step of distutils in 3.0. Then the same source > can be installed for 2.x and 3.x, with no modifications. > Of course there is also the option of treating Python 3 as a diffe

[Python-Dev] [Fwd: In Python 2.6, bytes is str]

2008-10-05 Thread Steve Holden
This does make it look rather as though bytes == str was a decision whose consequences weren't fully appreciated before implementation. Was this horror anticipated? regards Steve Original Message Subject: In Python 2.6, bytes is str Date: Sun, 05 Oct 2008 22:30:17 -0700

Re: [Python-Dev] [Fwd: In Python 2.6, bytes is str]

2008-10-07 Thread Steve Holden
bytes alias > serves? I spent 5 minutes with the docs but I wasn't able to find a good > explanation of the bytes alias > Yes, I think all that's really needed is a clarification in the documentation. Just so people expect slightly kooky behavior of the kind originally n

Re: [Python-Dev] [ANN] superinstructions (VPython 0.1)

2008-10-23 Thread Steve Holden
me they are called). > Though it would seem redundant to create multiple copies of constant structures. Wouldn't there be some way to optimize this to allow each call to access the data from the same place? > Then fusing e.g. LOAD_FAST LOAD_FAST BINARY_ADD into ADD_FAST_FAST would cove

Re: [Python-Dev] Has python-dev collapsed?

2008-10-28 Thread Steve Holden
ure. You never know when > personal affairs are more important than voluntary work. > Pretty much whenever they come up ... regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ __

Re: [Python-Dev] My patches

2008-10-30 Thread Steve Holden
le would then have commit access to all of the Python >> source.) > > SVN supports path-based authorization. > http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html good point, but then we'd have an authentication management task ... regards Steve -- Steve Ho

Re: [Python-Dev] buffer function

2008-11-02 Thread Steve Holden
lease submit this question to the comp.lang.python group (python-list at python dot org). Python-dev is for discussion or the development *of* Python, not development *with* Python. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] Looking for VCS usage scenarios

2008-11-06 Thread Steve Holden
umber allocated to this draft document? I think it's likely that it will eventually be published, and I'd like a number to use in reference to it if possible, please. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC

Re: [Python-Dev] [Python-3000] RELEASED Python 3.0rc2

2008-11-07 Thread Steve Holden
goes to > Victor for his hard work on fixing up the networking libraries for > Py3k! > Yay, Victor regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-D

Re: [Python-Dev] Optimize Python long integers

2008-11-11 Thread Steve Holden
But that would be new functionality in a micro-release, which is verboten. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] datetime.date.today() raises "AttributeError: time"

2008-11-16 Thread Steve Holden
t; How is this different from any other case where you import a module with a standard library name conflict, thereby confusing modules loaded later standard library. Should we do the same for any error induced in such a way? regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119

Re: [Python-Dev] Attribute error: providing type name

2008-12-02 Thread Steve Holden
rload exception constructors on the number of parameters, or using >> keyword parameters for the new way of filling the exception. > > Or go the traditional "multiple constructor" route and provide class > methods for the alternative mechanisms. > Bear in mind,

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-04 Thread Steve Holden
we again have the situation that the > docs for the new release are wrecked. > Sounds like we need a bot to check the web each new release before the release manager "presses the button" and makes the announcement. regards Steve -- Steve Holden+1 571 484 6266 +1

Re: [Python-Dev] Python-3.0, unicode, and os.environ

2008-12-05 Thread Steve Holden
they affect everyone. Even though very few people actually understand them. Including me, which is why I've been so quiet on this thread. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ __

Re: [Python-Dev] 3.0.1 possibilities

2008-12-07 Thread Steve Holden
has been advertised as a 3.0 change hardly seems worth the substantial effort of cutting a release. If cmp() shouldn't have been in 3.0 and was then there's surely no problem about removing it later as promised: anyone who uses it in 3.0 code shouldn't be. If it doesn't have to wa

[Python-Dev] Floating-point implementations

2008-12-09 Thread Steve Holden
Is anyone aware of any implementations that use other than 64-bit floating-point? I'd be particularly interested in any that use greater precision than the usual 56-bit mantissa. Do modern 64-bit systems implement anything wider than the normal double? regards Steve -- Steve Holden

Re: [Python-Dev] Floating-point implementations

2008-12-09 Thread Steve Holden
Mark Dickinson wrote: > On Tue, Dec 9, 2008 at 5:15 PM, Steve Holden <[EMAIL PROTECTED]> wrote: >> precision than the usual 56-bit mantissa. Do modern 64-bit systems >> implement anything wider than the normal double? > > I may have misinterpreted your question. Ar

Re: [Python-Dev] Floating-point implementations

2008-12-10 Thread Steve Holden
Lie Ryan wrote: > On Tue, 09 Dec 2008 12:15:53 -0500, Steve Holden wrote: > >> Is anyone aware of any implementations that use other than 64-bit >> floating-point? I'd be particularly interested in any that use greater >> precision than the usual 56-bit manti

Re: [Python-Dev] Python-3.0, unicode, and os.environ

2008-12-11 Thread Steve Holden
something that > everybody else here seems to agree upon. I just know that using a distinct > path type has helped me in C++ in the past, and I don't see why it shouldn't > in Python. > Seems to me this just threatens to add to the confusion. If you know what your filesystem

Re: [Python-Dev] Python-3.0, unicode, and os.environ

2008-12-11 Thread Steve Holden
Ulrich Eckhardt wrote: > On Thursday 11 December 2008, Steve Holden wrote: >> Ulrich Eckhardt wrote: >>> What I'd just like some feedback on is the approach to return a distinct >>> type (neither a byte string nor a Unicode string) from readdir(). In >>>

Re: [Python-Dev] The endless GIL debate: why not remove thread support instead?

2008-12-13 Thread Steve Holden
er-process communication mechanisms. On a single-processor computer synchronization was much less of a problem. regards Steve Guido van Rossum wrote: > Yes, this is what threads were designed for. As an abstraction to have > multiple "threads of control" on a *single* processor (i

Re: [Python-Dev] Reindenting the C code base?

2008-12-15 Thread Steve Holden
ed the code, and it's a pain to go back. > > I believe "svn blame -x -w" ignores whitespace changes. > Sounds like Uncle Timmy's whitespace management needs to become a little more draconian. regards Steve -- Steve Holden+1 571 484 6266 +1 80

Re: [Python-Dev] How to force export of a particular symbol from python.exe?

2008-12-15 Thread Steve Holden
ly spent a half-hour trying to find rules on the uses in English of > infinitives versus gerunds and did not find anything definitive. I realize > now, to my disgust, that English usage is very badly afflicted with > "special casing." > This is only significant because Mar

Re: [Python-Dev] extremely slow exit for program having huge (45G) dict (python 2.5.2)

2008-12-20 Thread Steve Holden
ty a simplistic approach that redefines all space reclamation activities as null functions won't work. I hate to think of all the cycles that are being wasted reclaiming space just because a program has terminated, when in fact an os.exit() call would work just as well from the user's point o

[Python-Dev] 2.6.1 license

2008-12-20 Thread Steve Holden
ease manage PEP? regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] extremely slow exit for program having huge (45G) dict (python 2.5.2)

2008-12-20 Thread Steve Holden
/ free() functions. I'm no expert enough to find out more on the > subject. > I believe the OP engendered a certain amount of confusion by describing object deallocation as being performed by the garbage collector. So he perhaps didn't understand that even decref'ing all the ob

Re: [Python-Dev] Should there be a way or API for retrieving from a code object a loader method and package file where the code comes from?

2008-12-23 Thread Steve Holden
iven a line and file. (In other words and invalid > location for a debugger line breakpoint, such as because the line > part of a comment or the interior line of a string that spans many > lines) > Looks like that start of some necessary attention to this issue. The inspect module migh

Re: [Python-Dev] A wart which should have been repaired in 3.0?

2008-12-31 Thread Steve Holden
/a/b' when >> passed the following paths list: >> >> paths = ['/a/b/c', '/a/b/cd'] > > Change that to [os.path.normpath(p)+'/' for p in paths] and you've got > yourself a winner. > Or possibly [os.path.normpath(p)+os.path.sep fo

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread Steve Holden
"sitting with Nellie" - doing the work next to, and directly supervised by, someone who had been doing it a long time and who knew all the wrinkles of the job. Quite how to achieve a similar effect in today's distributed development environment is less obvious. Could we talk abo

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread Steve Holden
Georg Brandl wrote: > Steve Holden schrieb: > >> I think it was courageous of Brett to tackle this issue head-on as he >> did, and of Victor to respond so positively to the various comments that >> have been made on this thread. It would be a pity to lose a developer

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread Steve Holden
e a simple bloody blog entry ... i-can-say-this-now-the-entry-is-published-ly y'rs - steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] I would like an svn account

2009-01-03 Thread Steve Holden
y prime! Hey, isn't Ubuntu Debian-based? ... Don't we know people who work for the vendor? ... Maybe they could offer some support if we switched? ... regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenw

Re: [Python-Dev] I would like an svn account

2009-01-04 Thread Steve Holden
Barry Warsaw wrote: > On Jan 3, 2009, at 11:29 PM, Steve Holden wrote: > >> Brett Cannon wrote: >> [...] >>> I have been using bzr for all of my importlib work. It's worked out >>> well sans the problem that SOMEONE Barry has not >>> upgrad

Re: [Python-Dev] python.org OS

2009-01-04 Thread Steve Holden
upgrade since Red Hat went from HJ Liu libc to glibc > 2. Ubuntu is a victim of its own success. They now have to deal with the same diversity of hardware environments as Windows. I hope that Canonical will find a way to stabilize things. regards Steve -- Steve Holden

Re: [Python-Dev] improvements for mmap

2009-01-08 Thread Steve Holden
ny object supporting buffer > protocol as well as string. > > 2) buffer (mmap_obj) gives a read_only buffer. There should be a way to make > this read_write. > > 3) mmap_obj does not support weak ref. > Can you add these to the tracker as a feature request, please? rega

Re: [Python-Dev] Meet your next release manager: Benjamin Peterson

2009-01-10 Thread Steve Holden
ed him before he >>> agreed? >> Anthony and I have just had so much fun whitewashing the last few >> releases, we just couldn't in good conscious keep it to ourselves! > ^ > That proves my point, I think. ;-) No, that demonstr

[Python-Dev] Python 3.0 Porting information

2009-01-12 Thread Steve Holden
d it" they will not come unless and until they are led by the nose. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ ___ Python-Dev mailing list Python-Dev@python.org ht

Re: [Python-Dev] [Pydotorg] Python 3.0 Porting information

2009-01-13 Thread Steve Holden
gt; right away. > > There is also > > http://wiki.python.org/moin/Early2to3Migrations > > although I'm not sure how useful this is (if the "upstream" package > supports 3.0, and is listed in PyPI, then the PyPI listing is better. > This page might help to collect

Re: [Python-Dev] socket.create_connection slow

2009-01-14 Thread Steve Holden
the other end might come back up > between SYN's. How often could that possibly happen? > When I read it I was tempted to observe they must have been testing Microsoft network services. It is a truly bizarre rationalization of a default that appears to have been taken from DOS-era netwo

Re: [Python-Dev] Single Sign-On for *.python.org

2009-01-18 Thread Steve Holden
you need to ensure that various services can be separately authorized - someone may have permission to log in to one server but not others? regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ __

Re: [Python-Dev] __del__ and tp_dealloc in the IO lib

2009-01-22 Thread Steve Holden
around to implementing Python 3? Clearly (since both teams are already committed to implementing it) the more we can do to accommodate them the better it will be for cross-implementation compatibility. Or did I miss something? You are, of course, free to make whatever assumptions you like about the en

Re: [Python-Dev] __del__ and tp_dealloc in the IO lib

2009-01-23 Thread Steve Holden
but it's still a good goal in the cases where it *is* possible. Given that your sample code will generally work even for implementations where garbage collection is used rather than reference counting I fail to understand why you insist so hard that a more restrictive rule should be implemented.

Re: [Python-Dev] __del__ and tp_dealloc in the IO lib

2009-01-23 Thread Steve Holden
givable >> sin in a small program that opens a few files only. It only becomes a >> program when this is itself inside a loop that loops over many >> filenames -- you could run out of file descriptors. > > I do understand this, but I'm sure you realize that there other

<    9   10   11   12   13   14   15   16   >