Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
trees. As Python continues to grow in importance[1], the number of people interacting with Python on the distribution development teams[2] increases, and therefor the number of people likely to run alphas for testing increases. So even if Larry were right *now*, he isn't right for the future, and

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
though their suitability for specific projects depends on the bugs found. I think Python *could* be in this camp, if we wanted to be. (I'm not addressing release-team load here, I'm just making an observation.) --David [1] I am *not* advocating running an alpha in production, but for

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
ere *were* bug reports during the alpha phase. A number of regressions were caught. Also, there were more alpha-phase bug reports than I remember getting for 3.2. I remember thinking, "wow, cool, we're actually getting regression bug rep

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread R. David Murray
mewhere? I'd like to know more about it. I believe it was discussed at the Language Summit at the last Pycon. As I recall there was at least one other person interested in helping with it, but I don't remember who. --David ___ Python-Dev

Re: [Python-Dev] Bumping autoconf from 2.68 to 2.69

2012-10-16 Thread R. David Murray
onf that the committer used. My understanding is that we use a specific version of autoconf. The reason is that otherwise we end up with useless churn in the repo as the generated file changes when different committers use different versions. In the past we have had issues with a new autoconf ve

Re: [Python-Dev] accept the wheel PEPs 425, 426, 427

2012-10-21 Thread R. David Murray
installer / > runtime does not need formatted fields at all (only parsing the name, > version, requirements to do dependency resolution). Well, if you did want to maintain extensibility, you could go whole hog and allow MIME types and Content-Type: mulitpart/mixed :) --David ___

Re: [Python-Dev] Segmentaion fault with wrongly set PYTHONPATH on Windows

2012-10-22 Thread R. David Murray
You are more likely to get action on bugs by posting to the bug tracker. That said, since 8766 was fixed, your issue is most likely a new one. Please open a new bug report. --David On Mon, 22 Oct 2012 16:31:34 +0300, anatoly techtonik wrote: > Could anybody reopen http://bugs.python.

Re: [Python-Dev] Python Bug Day in October

2012-10-23 Thread R. David Murray
cused on Python bug fixing this Saturday from some time in the AM until about 18:00, GMT -4. If no one else shows up I'll just have a personal bug day, but I'm guessing at least a few people might show up despite the lack of a wider formal announcement. --David __

Re: [Python-Dev] Improve error message "UnboundLocalError: local variable referenced before assignment"

2012-10-31 Thread R. David Murray
cal variable referenced before assignment" *is* a pointer to the concept of when global variables become local...perhaps there is a better wording, do you have a suggestion? --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Cut/Copy/Paste items in IDLE right click context menu

2012-11-02 Thread R. David Murray
IDLE in general is an interesting idea, but is not the immediate question. --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] ctypes is not an acceptable implementation strategy for modules in the standard library?

2012-11-05 Thread R. David Murray
past, I would guess). --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] chained assignment weirdity

2012-11-06 Thread R. David Murray
On Tue, 06 Nov 2012 18:14:38 +0200, Serhiy Storchaka wrote: > Another counterintuitive (and possible wrong) example: > >>>> {print('foo'): print('bar')} >bar >foo >{None: None} http://bugs.python.org/issue11205 --David ___

Re: [Python-Dev] Improve error message "UnboundLocalError: local variable referenced before assignment"

2012-11-07 Thread R. David Murray
rack of the location of every assignment that makes a variable local and writing it in to the .pyc file is a very non-trivial change to how the Python bytecode compiler works, I think, and probably not worth the overhead in order to improve this error message. (And note that raising an error at compile

Re: [Python-Dev] cpython: Issue #16218: skip test if filesystem doesn't support required encoding

2012-11-07 Thread R. David Murray
NONASCII. > > This change should improve code coverage on heterogeneous environments. Alexandre's point was that the string did not appear to be arbitrary, but rather appeared to specifically be a string containing surrogates. Is this not the case? --David ___

Re: [Python-Dev] problems building python2.7

2012-11-09 Thread R. David Murray
way, the .close is only attempted if the open succeeds. Could you open an issue for this on the tracker, please? That way we won't forget to fix it. --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listin

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread R. David Murray
> > > > What convention and typing optimization is this? I hope you aren't > > suggesting it should be dict("x"=1) or dict("x":1)? > > Try the canonical {'x':1}. Only dict allows the special > initializat

Re: [Python-Dev] Failed issue tracker submission

2012-11-16 Thread R. David Murray
;python-dev" user that way: > http://bugs.python.org/user13902 I'm pretty sure it's because python-dev is the 'from' address used when the messages are sent...and the configuration of that user is what allows them to be accepted. I

Re: [Python-Dev] operator.attrgetter(attr[, args...]) etc.

2012-11-21 Thread R. David Murray
e you reading? He's reading the operator module documentation. I just ran into that same thing the other day, but didn't think to file a bug report. It looks like the ``args`` stuff was incorrectly copy and pasted from the methodcaller docs, where it is act

Re: [Python-Dev] Summary of Python tracker Issues

2012-11-30 Thread R. David Murray
mails. I'm not sure how one would go about integrating the above with an App Engine app. I suspect that not quite enough information is available through the XML-RPC interface to replicate that script, but maybe you could manage just the open-close counting part of it.

Re: [Python-Dev] More compact dictionaries with faster iteration

2012-12-10 Thread R. David Murray
did you end up with? --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Mercurial workflow question...

2012-12-13 Thread R. David Murray
The repo I worked on the email features in is still available, too, if anyone is crazy enough to want to know about those intermediate steps... --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] How old Python version should be supported in tests?

2012-12-27 Thread R. David Murray
wants it to stay backward compatible. I'm thinking specifically of the platform module, which I'm pretty sure has that restriction. So, it has to be considered on a case by case basis. --David ___ Python-Dev mailing list Python-Dev@python.org http://m

Re: [Python-Dev] test___all__ polluting sys.modules?

2012-12-30 Thread R. David Murray
s like > test_pydoc and test___all__ to a separate process might be worth the > effort. Adding something to regertest (or unittest?) so that certain nominated test modules are run in a subprocess has been discussed previously, but so far no one has stepped up to implement it :) (I think this came up originally for test_site, but I don't remember for sure.) --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] BDFL delegate for Daniel Holth's packaging PEPs?

2012-12-31 Thread R. David Murray
e. It would be nice if one of the past disutils maintainers > > > gave their approval too, but they don't seem very active. > > FWIW I think Nick is perfect for this job. > > I meant approval for the PEP, not for Nick :) Well, if Nick is "perfect" for the job, this

Re: [Python-Dev] Please review simple patch for IDLE documentation last updated 11/28/2012

2013-01-04 Thread R. David Murray
n extended period. It could be that the nosy committers have just forgotten about it. In the future, it best way to approach this situation (patch that seems ready but no action has been taken) is to ping the issue first, and if you don't get a response after

Re: [Python-Dev] Please review simple patch for IDLE documentation last updated 11/28/2012

2013-01-04 Thread R. David Murray
On Fri, 04 Jan 2013 10:40:10 -0500, Todd V Rovito wrote: > On Jan 4, 2013, at 10:23 AM, "R. David Murray" wrote: > > > On Fri, 04 Jan 2013 10:04:14 -0500, Todd V Rovito > > wrote: > >> I submitted a simple patch for updates to IDLE's documentation

Re: [Python-Dev] Please review simple patch for IDLE documentation last updated 11/28/2012

2013-01-04 Thread R. David Murray
On Fri, 04 Jan 2013 18:56:22 +0200, Serhiy Storchaka wrote: > On 04.01.13 18:51, R. David Murray wrote: > > (To automate such monitoring we would need some sort of 'commit ready' > > flag in the tracker and a protocol for when it gets set...which might > > not be a

Re: [Python-Dev] make test

2013-01-08 Thread R. David Murray
in a cut-and-pasteable fashion. Perhaps someone will be motivated to work on a fix :) --David PS: as long as I'm writing this, Xu, that error you got looks like a transient error possibly caused by your local name server...if that is the only failure you got, your Python is working perfectly

Re: [Python-Dev] is this the fault of import_fresh_module or pickle?

2013-01-08 Thread R. David Murray
the tests, because that > reminds me of what pickle does. Handling this case is why having a context-manager form of import_fresh_module was suggested earlier in this meta-thread. At least, I think that would solve it, I haven't tried it :) --David ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] cpython (3.3): #16919: test_crypt now works with unittest test discovery. Patch by Zachary

2013-01-11 Thread R. David Murray
has to be done in setUpModule for test discovery to work > > +global crypt > > +crypt = support.import_module('crypt') > > Yikes. > Couldn't unittest support SkipTest being raised at import instead? > setUpModule is an ugly way to do t

Re: [Python-Dev] Anyone building Python --without-doc-strings?

2013-01-26 Thread R. David Murray
is probably not the best language for > them. > > It is also ironic how the executable size went up since then (from 0.6 > to more than 1.5 MB) :-) 200K can make a difference. It does on the QNX platform, for example, where there is no virtual memory. It would be nice to reduce that

Re: [Python-Dev] PEP 433: Choose the default value of the new cloexec parameter

2013-01-27 Thread R. David Murray
urllib.urlopen raising > exceptions and only afterwards realize that you called into some third > party library code that decided to change the timeout. What is stopping some some third party library code from calling socket.settimeout(0.1)? --David ___

Re: [Python-Dev] PEP 433: Choose the default value of the new cloexec parameter

2013-01-27 Thread R. David Murray
On Sun, 27 Jan 2013 21:56:06 +0100, Ralf Schmitt wrote: > "R. David Murray" writes: > > > On Sun, 27 Jan 2013 19:42:59 +0100, Ralf Schmitt wrote: > >> Guido van Rossum writes: > >> > >> > It's like calling socket.settimeout(0.1)

Re: [Python-Dev] Fwd: I was just thinking that os.path could use some love...

2013-01-30 Thread R. David Murray
http://bugs.python.org/issue11344 evolved into a patch for 'splitpath', similar to splitall. Antoine's pathlib (PEP 428) is also mentioned at the end, which is probably what Guido is thinking of. --David On Wed, 30 Jan 2013 13:26:08 -0800, Guido van Rossum wrote: > Thought

Re: [Python-Dev] mingw32 port

2013-01-30 Thread R. David Murray
these that the way to make progress on it was to break everything down into the to smallest independent patches possible. So far no one has followed through on it, obviously. [And no, I'm not interested in the port myself, either :)] --David ___ Py

Re: [Python-Dev] os.path.join failure mode

2013-02-09 Thread R. David Murray
checks is that we prefer to operate via "duck typing", which means that if an object behaves like the expected input, it is accepted. Here, if we did an explicit type check for str, it would prevent join from working on an "act alike" object that had

Re: [Python-Dev] os.path.join failure mode

2013-02-09 Thread R. David Murray
On Sat, 09 Feb 2013 14:35:33 +, Thomas Scrace wrote: > R. David Murray bitdance.com> writes: > > > The reason we avoid such type checks is that we prefer to operate via > > "duck typing", which means that if an object behaves like the expected > > input

Re: [Python-Dev] os.path.join failure mode

2013-02-09 Thread R. David Murray
On Sat, 09 Feb 2013 13:57:41 -0500, Terry Reedy wrote: > On 2/9/2013 8:31 AM, R. David Murray wrote: > Changing AttributeError to TypeError only requires try-except, which is > cheap if there is no error, not an early type check. > > > The reason we avoid such type checks is

Re: [Python-Dev] Question regarding: Lib/_markupbase.py

2013-02-11 Thread R. David Murray
If these don't get reported as tracker issues they will probably get lost. --David On Mon, 11 Feb 2013 14:47:00 +, Developer Developer wrote: > Same thing in the function: "_parse_doctype_attlist": > > if ")" in rawdata[j:]: >     j = rawdata.find(

Re: [Python-Dev] Usage of += on strings in loops in stdlib

2013-02-12 Thread R. David Murray
build a string doesn't mean that "".join() is the clean > idiomatic way to do it. If 'idiomatic' (a terrible term) means "the standard way in this language", which is how it is employed in the programming community, then yes, "".join() is the idio

Re: [Python-Dev] efficient string concatenation (yep, from 2004)

2013-02-13 Thread R. David Murray
eal > documentation that explains things in more detail. > Maybe that could be a way to get people to actually read. There used to be a HOWTO with this goal, but its opinions were considered outdated and/or contentious, and it was deleted: http://docs.python.org/2.6/howto/doanddont.html -

[Python-Dev] Re: MS VC compiler versions

2004-12-03 Thread Scott David Daniels
piler Version 13.10.3077 for 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved. -- -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

[Python-Dev] Re: 2.4 news reaches interesting places

2004-12-09 Thread Scott David Daniels
This is the place to say things like "operating on every character of a string is seldom efficient." -- -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubs

[Python-Dev] Re: proto-pep: How to change Python's bytecode

2004-12-24 Thread Scott David Daniels
Brett C. wrote: A few things can be done to make sure that development goes smoothly when experimenting with Python's bytecode. One is to delete all .py(c|o|w) Don't you mean ".pyc or .pyo (remember such files in zips as well)" .pyw is normal python source. -- Scott

[Python-Dev] Re: proto-pep: How to change Python's bytecode

2004-12-25 Thread Scott David Daniels
s a new place to pool knowledge. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Zipfile needs?

2004-12-27 Thread Scott David Daniels
PEP. I can open a pseudo-file for STORED files in binary read mode, for example, to allow reading zip-in-zip files without fully occupying memory. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.

[Python-Dev] Re: Zipfile needs?

2004-12-27 Thread Scott David Daniels
Josiah Carlson wrote: Scott David Daniels <[EMAIL PROTECTED]> wrote: I'm hoping to add BZIP2 compression to zipfile for 2.5. My primary motivation is that Project Gutenberg seems to be starting to use BZIP2 compression for some of its zips. What other wish list things do people aroun

[Python-Dev] Re: Zipfile needs?

2005-01-03 Thread Scott David Daniels
Brett C. wrote: Scott David Daniels wrote: I'm hoping to add BZIP2 compression to zipfile for 2.5. My primary motivation is that Project Gutenberg seems to be starting to use BZIP2 compression for some of its zips. What other wish list things do people around here have for zipfile? I th

[Python-Dev] Recent IBM Patent releases

2005-01-12 Thread Scott David Daniels
tents.)" This means to me we can put these in Python's library, but it is definitely something to start deciding now. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

[Python-Dev] Re: Recent IBM Patent releases

2005-01-12 Thread Scott David Daniels
." I believe our current policy is that the author warrants that the code is his/her own work and not encumbered by any patent. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

[Python-Dev] Re: Recent IBM Patent releases

2005-01-13 Thread Scott David Daniels
Terry Reedy wrote: "Scott David Daniels" <[EMAIL PROTECTED]> I believe our current policy is that the author warrants that the code is his/her own work and not encumbered by any patent. Without a qualifier such as 'To the best of my knowledge', the latter is an impossibl

[Python-Dev] Re: string find(substring) vs. substring in string

2005-02-16 Thread Scott David Daniels
one-time-only overhead you can afford to reduce the per-search-character cost. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.

[Python-Dev] Re: string find(substring) vs. substring in string

2005-02-16 Thread Scott David Daniels
do about 300 probes once the table is set (the underscores below): not the xyznot the xyznot the xyz... not ther_ not the__ not ther_ not the__ not ther_ ... -- Scott David

[Python-Dev] Confusing "hasattr" behaviour

2005-02-24 Thread J. David Ibanez
cause much code would get broken. But, is it going to be considered for sometime in the future? 3.0 maybe? And, would it really break so much code? Wouldn't it instead bring to the day light many bugs that are already there (but failing in a more silent way)? Tha

[Python-Dev] Re: OK, time to retire

2005-03-02 Thread Scott David Daniels
erhaps your final summary could be a personal view of PyCon for those of us unable to get there. If you make no more contribution to Python than you have so far, you will have done us a great service. Hip-hip-hooray-ly y'rs --Scott David Daniels

[Python-Dev] Re: docstring before function declaration

2005-03-21 Thread Scott David Daniels
a twenty-two page document with no real content. Really, the twenty two pages included an introduction, conclusion, table of contents, appendix, and index. It just didn't have anything but section headings. It was a thrilling triumph of form over function; a real Suahuab aesthetic, to coi

[Python-Dev] Re: @decoration of classes

2005-03-28 Thread Scott David Daniels
he data structures with: converter('flour', 'bread')(BakingClass) _But_ (at least for the app I was fiddling with) decorating at the top of declaration helps show the purpose of the class. Have a look at: http://aspn.activesta

[Python-Dev] Re: python-dev Summary for 2005-03-16 through 2005-03-31 [draft]

2005-04-01 Thread Scott David Daniels
Brett C. wrote: ... I figured I would take up the idea. So hear ^^ here ^^ we go. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.p

[Python-Dev] marshal / unmarshal

2005-04-08 Thread Scott David Daniels
#x27;f\x061.#INF') == 1.0 Should loads raise an exception? Somehow, I thing 1.0 is not the best possible representation for +Inf. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

[Python-Dev] Re: marshal / unmarshal

2005-04-08 Thread Scott David Daniels
detect code if that is what is wanted. I just want to know what the consensus is on the "should." If we cause exceptions, should they be one encode or decode or both? If not, do we replicate all NaNs, Infs of both signs, Indeterminates? --Scott David Daniels [EMAIL PROTECTED] __

[Python-Dev] Re: marshal / unmarshal

2005-04-10 Thread Scott David Daniels
"not all marshalled float text read"); + return NULL; + } return PyFloat_FromDouble(dx); } -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org h

[Python-Dev] RFC: rewrite fileinput module to use itertools.

2005-05-16 Thread David M. Wilson
rrent Python "best practice" for what it does, and it could be really simply made into a live demo of the itertools module. David. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] Is PEP 237 final -- Unifying Long Integers and Integers

2005-06-17 Thread Scott David Daniels
to PEP > 3000 instead. Since PEP 313 has been rejected, the trailing L no longer introduces ambiguity in the representation of roman(40) vs. roman(10L). --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] bytes.from_hex()

2006-03-01 Thread Scott David Daniels
Chermside, Michael wrote: > ... I will say that if there were no legacy I'd prefer the tounicode() > and tostring() (but shouldn't itbe 'tobytes()' instead?) names for Python 3.0. Wouldn't 'tobytes' and 'totext' be better for 3.0 where text == un

Re: [Python-Dev] Coverity Open Source Defect Scan of Python

2006-03-13 Thread Scott David Daniels
stock profits, rather than a solid value proposition. Trying to satisfy the profit-lust of angels has redirected more than one company. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/l

Re: [Python-Dev] Expose the array interface in Python 2.5?

2006-03-18 Thread Scott David Daniels
t; I certainly have use for implementations that can give better guarantees, and I'd like to be able to distinguish the two. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] Discussing the Great Library Reorganization

2006-03-29 Thread Scott David Daniels
ackage "py". Would 'std' do as well for the top level, or should we use "python" for the python-coded versions? -- -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.p

Re: [Python-Dev] tally (and other accumulators)

2006-04-05 Thread Scott David Daniels
ke groupby() for this sort of > thing, with the aforementioned caveats. Functional code seems a little > clearer to me, although I realize that preference is not held > universally. However, sorted requires ordering. Try seq = [1, 1j, -1, -1j] * 5 Alex's tally works, but yours does no

Re: [Python-Dev] Should issubclass() be more like isinstance()?

2006-04-05 Thread Scott David Daniels
ame ancestors as CheeseShop, but is True simply because issubclass(SillyWalks, Sketch) is True. More a document issue than anything, but to be considered. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org htt

Re: [Python-Dev] PyRange_New() alternative?

2006-06-23 Thread Scott David Daniels
ot sure about your compiler, but if I remember the standard correctly, the following code shouldn't complain: PyObject_CallFunction((PyObject*) (void *) &PyRange_Type, "lll", start, start+len*step, step) -- Scott David Daniels [EMAIL PROTECTED]

Re: [Python-Dev] PyRange_New() alternative?

2006-06-24 Thread Scott David Daniels
Martin v. Löwis wrote: > Scott David Daniels wrote: >> ... if I remember the standard >> correctly, the following code shouldn't complain: >> >> PyObject_CallFunction((PyObject*) (void *) &PyRange_Type, >> "lll"

Re: [Python-Dev] doc for new restricted execution design for Python

2006-06-27 Thread Scott David Daniels
the code based on old behavior (it might be nice only when the jailer is around). So, reading your restrictions is a capability I'd like to be able to control. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python

[Python-Dev] Joke: Rush Limbaugh (a joke in and of himself)

2006-06-29 Thread Scott David Daniels
Rush Limbaugh was detained and questioned for transporting a possible illegal Viagra prescription into the country. Well... a least we know his back is feeling better. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] Joke: Rush Limbaugh (a joke in and of himself)

2006-06-29 Thread Scott David Daniels
Aahz wrote: > On Thu, Jun 29, 2006, Scott David Daniels wrote: >> . > I'm hoping this was a typo of an e-mail address for sending, because > this is not appropriate for python-dev. This absolutely was a matter of clicking the wrong spot. I completely agree it would be in

Re: [Python-Dev] xturtle.py a replacement for turtle.py(!?)

2006-06-29 Thread Scott David Daniels
> >> Maybe 'turtleplus' or something? > > When it goes into Python, it will be 'turtle'. > Perhaps in the meantime (if xturtle is not loved), you could go with "turtle_" as in "like the standard turtle, but my definition." -- -- Sco

Re: [Python-Dev] Possible C API problem?

2005-06-27 Thread Scott David Daniels
Michael Hudson wrote: > Gary Robinson <[EMAIL PROTECTED]> writes: >>... bus error 100% of the time ...: We've boiled it down pretty far, and I've sent him off to the mac-python folks (looks gcc-compilerish to me, or maybe fallout from slight changes in C function call s

Re: [Python-Dev] Chaining try statements: eltry?

2005-07-08 Thread Scott David Daniels
.html --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] zlib 1.2.3 is just out

2005-07-23 Thread Scott David Daniels
dynamic blocks with no distance codes * Fix crc check bug in gzread() after gzungetc() * Do not return an error when using gzread() on an empty file I'd guess this belongs in 2.5, with a possible retrofit for 2.4. --Scott David Daniels [EMAIL PROT

Re: [Python-Dev] PEP 348 (exception reorg) revised again

2005-08-15 Thread Scott David Daniels
ass of KeyboardInterrupt or SystemExit. -- Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Bare except clauses in PEP 348

2005-08-25 Thread Scott David Daniels
may start generating something silly like divide-by-zero. Not the end of an App, but the end of a Phase. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubsc

Re: [Python-Dev] empty string api for files

2005-08-27 Thread Scott David Daniels
s reading from compressed data sources unnecessarily inefficient. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/opti

Re: [Python-Dev] GIL, Python 3, and MP vs. UP

2005-09-19 Thread Scott David Daniels
Michael Hudson wrote: > How does a copying gc differ much from a non-copying non-refcounted gc > here? One important issue for C coded modules is that addresses may change when a GC is invoked, so no remembering addresses in your module; you must recalculate before each use. -- Scott

Re: [Python-Dev] int(string) (was: DRAFT: python-dev Summary for 2005-09-01 through 2005-09-16)

2005-11-09 Thread Scott David Daniels
emselves: Installer: http://members.dsl-only.net/~daniels/dist/to_int-0.10.win32-py2.4.exe Just the 2.4 dll: http://members.dsl-only.net/~daniels/dist/to_int-0.10.win32.zip Sources: http://members.dsl-only.net/~daniels/dist/to_int-0.10.zip --Scott David Daniels [EMAIL PROTEC

[Python-Dev] to_int -- oops, one step missing for use.

2005-11-09 Thread Scott David Daniels
Well, wouldn't you know it. I get the code right and mess up the directions. Scott David Daniels wrote: > if you build this module, I'd suggest using > "from to_int import chomp" to get a function that works like int > (producing a long when needed and so on). We

Re: [Python-Dev] to_int -- oops, one step missing for use.

2005-11-12 Thread Scott David Daniels
t directory, cd to that dir, and run test_hi_powers.py. Let me know if the tests pass or fail. Thanks. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

[Python-Dev] Behavoir question.

2005-11-15 Thread Scott David Daniels
Since I am fiddling with int/long conversions to/from string: Is the current behavior intentional (or mandatory?): v = int(' 5 ') works, but: v = int(' 5L ') f

Re: [Python-Dev] Deprecate __ private (was Re: PEP 8 updates/clarifications)

2005-12-12 Thread Scott David Daniels
ated feature > - Generate deprecation warnings when it is used? >(This might be too much.) Perhaps "The __ name convention is designed for 'mixins'; as a means of enforcing "private" it is both ineffective and annoying. For example, distutils.msvccompiler uses a

Re: [Python-Dev] Deprecate __ private (was Re: PEP 8 updates/clarifications)

2005-12-12 Thread Scott David Daniels
Jeremy Hylton wrote: > On 12/12/05, Scott David Daniels <[EMAIL PROTECTED]> wrote: >> Perhaps "The __ name convention is designed for 'mixins'; as a means of >> enforcing "private" it is both ineffective and annoying. For example, >> distutils.m

Re: [Python-Dev] Sharing expat instances

2005-12-14 Thread Scott David Daniels
can then easily go in a Python25.zip). My (admittedly weak) understanding of how packages work is that all parts of a package should lie off the same node of the PYTHONPATH. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] Sharing expat instances

2005-12-14 Thread Scott David Daniels
Barry Warsaw wrote: > On Wed, 2005-12-14 at 09:56 -0800, Scott David Daniels wrote: >> One good reason for this is that the .pyd's or .so's cannot necessarily >> be used from zip files > When you say "cannot necessarily", are the situations where they can be

Re: [Python-Dev] Sharing expat instances

2005-12-14 Thread Scott David Daniels
more than a single process. If the .egg strategy is followed, I expect that either the file shared is in a user(or even process)-specific location or there is a shared folder that is writable by many processes from which executable code can be run. The one solution reduces sharing, the othe

Re: [Python-Dev] ElementTree in stdlib

2005-12-14 Thread Scott David Daniels
Michael Chermside wrote: > ... a meme will spread which says (and PLEASE don't quote this!) > "ElementTree has a great API, but it's just too slow for real work." +1 DNQOTW :-) (Do Not Quote Of The Week) --Scott Davi

Re: [Python-Dev] Incorporation of zlib sources into Python subversion

2005-12-18 Thread Scott David Daniels
g zip formats that are starting to be created from other sources). Would it make sense to include bzip2 in here as well (if the zipfile changes go in)? --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] Keep default comparisons - or add a second set?

2005-12-27 Thread Scott David Daniels
ing an explicit __lt__ > isn't much of an extra burden, and will make > the ordering much more useful for debugging > and output. Tell me: >>> a = [0] * 3 >>> b = [0] * 3 >>> a[0] = b >>> b[0] = a What order should a and b have? --Scott David

Re: [Python-Dev] a quit that actually quits

2005-12-29 Thread Scott David Daniels
"license" for more information. >>> Let's add another line that says >>> Type "quit()" to exit >>> ... Or, perhaps: class _Quitter(str): def __call__(self): raise SystemExit quit = _Quitter('The quit command. Typ

Re: [Python-Dev] Checking in a broken test was: Re: [Python-checkins]r41940 - python/trunk/Lib/test/test_compiler.py

2006-01-08 Thread Scott David Daniels
ttest.TestCase.failureException: pass else: raise BrokenTest(test_method.__name__, reason) return replacement wrapper.todo = reason return wrapper So your use looks like: class SomeTests(unittest.TestCase

Re: [Python-Dev] Checking in a broken test was: Re: [Python-checkins]r41940 - python/trunk/Lib/test/test_compiler.py

2006-01-13 Thread Scott David Daniels
rator function in unittest. Here is where the recipe is, for those who want to comment further: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466288 --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Checking in a broken test was: Re: [Python-checkins]r41940 - python/trunk/Lib/test/test_compiler.py

2006-01-13 Thread Scott David Daniels
Fredrik Lundh wrote: > Scott David Daniels wrote: >> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/466288 > > my main nit is the name: the test isn't broken in itself, and doesn't need > to be fixed; it's just not expected to succeed at this time

Re: [Python-Dev] Checking in a broken test was: Re: [Python-checkins]r41940 - python/trunk/Lib/test/test_compiler.py

2006-01-14 Thread Scott David Daniels
Fred L. Drake, Jr. wrote: > Scott David Daniels wrote: > > Would "expect_fail", "expect_failure", "expected_fail", or > > "expected_failure", work for you? > > None of these use the same naming convention as the other unittest

Re: [Python-Dev] str with base

2006-01-19 Thread Scott David Daniels
erting to base-64 and other weird formats, as well as providing decimal conversion into some unicode number ranges outside the ASCII group. --Scott David Daniels [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

<    16   17   18   19   20   21   22   >