Reinhold Wouldn't that be \versionadded{2.4}?
Yes, thanks. Corrected.
Skip
___
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
is that picking off such
low-hanging fruit is worthwhile.) What do other people think?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python
Why does math have an fabs function? Both it and the abs builtin function
wind up calling fabs() for floats. abs() is faster to boot.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
CentOS 4, Apache+mod_perl, Python, Mason, MySQLdb, Mailman, etc). Their
service has been absolutely awesome. Sean is one of the python.org
webmasters to boot, so he knows our culture very well already.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
,
Skip
___
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
with a Python interpreter. If it's that platform-independent, perhaps it
will work on some systems that don't support CVS. It does require Python
2.4, though I doubt that would be a great hardship for many people
interested in Python development.
Skip
further, tips would be appreciated.
Skip
___
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
Martin Like Skip, I tried experimenting with it. While that may be the
Martin right model, I don't think it is the right software. [problems
Martin elided]
Martin So I assume that using bazaar-ng right now would cause problems
Martin in day-to-day usage.
Granted. What
that to do a one-time convertsion from cvs to bzr I
will need to also install arch and baz as well as any other packages they
depend on.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
as a
convenience for use at the interpreter prompt. They include quit, exit
and copyright. I could care less if I override them in my code, and don't
think pychecker should either.
Skip
___
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org
the same
machine with different IP addresses? If they are different machines, why
would we want to host svn repositories on multiple machines?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
migrated
to svn I will simply let other people fuss with things.
Skip
___
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
Guido It's never too early to start deprecating a feature we know will
Guido disappear in 3.0.
Though if it's a widely used feature the troops will be highly annoyed by
all the deprecation warnings. (Or does deprecation not coincide with
emitting warnings?)
Skip
question on the style thing. (I'll leave others to
answer MAL's question about optimization.) If I want to raise an exception
without an argument, which of the following is the proper form?
raise ValueError
raise ValueError()
Skip
___
Python-Dev
in the projects I'm
involved with at my day job in a couple rounds of grep/emacs macro sessions.
It took all of about 20 minutes, so I don't think the conversion will be
onerous.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
Nick What about simply str.parts and str.rparts?
-1 because parts is not a verb. When I see an attribute that is a noun I
generally expect it to be a data attribute.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
list.
Skip
___
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
and caching them
for you.
Skip
___
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
Unrelated comment: maybe 'cut()' and rcut() would be nice short names.
Barry FWIW, +1 on .cut(), +0 on .partition()
As long as people are free associating: snip(), excise(), explode(),
invade_iraq()...
wink
Skip
___
Python-Dev mailing list
. Use '_' or 'dummy' if there
is some element you're not interested in.
Skip
___
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
. If not NULL, it refers to another string
object which is INCREFed in the usual way. At string deallocation, if the
referent is not NULL, the referent is DECREFed. If the referent is NULL,
ob_sval is freed.
Skip
___
Python-Dev mailing list
Python-Dev
the ob_referent. This is because of the NUL termination guarantee.
I wonder if the use of views would offset the overhead of returning to a
double-malloc allocation.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
is suitable for
the majority of my output.
Skip
___
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
version more
Steven obviously prints to a single line.
Yes, you're right. My bad.
So, is the proposal that you would need an explicit \n to terminate the
output or not?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
, , stream=sys.stderr)
That seems a bit like magic, but probably no less magic than the current
trailing comma.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman
skip print(foo, bar, baz, , stream=sys.stderr)
skip That seems a bit like magic, but probably no less magic than the
skip current trailing comma.
Make that no *more* magic ...
Skip
___
Python-Dev mailing list
Python-Dev@python.org
if output redirection had been
available from the start.
Skip
___
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
of code out there that does use print
statements already. Again, I know you're prepared for breakage, but that
doesn't necessarily mean a completely blank sheet of paper.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
Emacs macros.
Skip
___
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
...
d = Dumb(5)
d
__main__.Dumb instance at 0x11042d8
print d
Dumb val=5
It's just repr() vs. str(), but the difference can be significant in many
circumstances.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
Greg If a Python function is clearly wrapping a C function, one doesn't
Greg expect to be able to pass strings with embedded NULs to it.
Isn't that just floating an implementation detail up to the programmer (who may
well not be POSIX- or Unix-aware)?
Neal The only way I could see to fix it was by setting a continue flag
Neal and testing it. Does anyone know a better way to fix this
Neal problem?
Certainly looks reasonable until we figure out how (if at all) GDB's command
language implements a break-like statement.
Skip
Greg If a Python function is clearly wrapping a C function, one doesn't
Greg expect to be able to pass strings with embedded NULs to it.
Skip Isn't that just floating an implementation detail up to the
Skip programmer (who may well not be POSIX- or Unix-aware)?
Fredrik so
Fredrik backquotes are a PITA to type on many non-US keyboards.
Interesting. On US keyboards they are often easier to type than parens...
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
that goes between pre and
/pre (where newlines do matter)?
Skip
___
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
have been incorporated into the core had they
yielded speedups on multiprocessors and not hurt performance on
uniprocessors.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
test__locale still fails for me on Mac OS X 10.3.9. This is on both the 2.4
branch and HEAD. Does it succeed for anyone on 10.4? If not, perhaps we
should list that as an expected failure on that platform?
Skip
___
Python-Dev mailing list
Python-Dev
clear value to the current semantics and it's so easy to get a boolean if
you want it, I see no reason for a change.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
Guido After all there's nothing wrong with and/or.
Especially if it's correct. wink
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options
(C) That scheduler is non-preemptive. A single greedy generator can
starve all the others.
Antoine Instead of looking at this as a problem, you could look at it
Antoine as a feature.
Apple looked at it as a feature for years. Not anymore. wink
Skip
recovering somewhere further downstream.
Skip
___
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
Andrew Umm... Is this a joke?
I hope so. I must admit the OP's intent didn't make itself known to me with
the cursory glance I gave it. Jp's formulation is how I would have written
it. Assuming of course, that was the OP's intent.
Skip
understood what objects were shared
and needed to be locked. Oh, and I took Aahz's admonition to heart and
pretty much stuck to using Queues for all synchronization. It ain't rocket
science, but it can be subtle.
Skip
___
Python-Dev mailing list
Python
if so, a note to that affect
on the wiki page might be worthwhile.
Skip
___
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
being where it
is.)
Skip
___
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
the thread module
(currently threading) and use its Thread and Queue objects. For specialized
use the threadutils programmer can import the threadutils module to get at
the synchronization primitives it contains.
Skip
___
Python-Dev mailing list
Python-Dev
have no idea
what a QueueThread's outbox queue would be used for. Queues are generally
multi-producer, single-consumer objects. It makes sense for a thread to
have an inbox. I'm not so sure about an outbox.)
Skip
___
Python-Dev mailing list
Python-Dev
access.
Skip
___
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
use lots of SWIG-wrapped C++
libraries. Whole lotta dynamic linking goin' on... In our case I don't
think autoloading would help all that much. We actually use all that stuff.
The best we could do would be to defer the link step for a couple seconds.
Skip
Neal We all know Guido likes Python. But the real question is do
Neal pythons like Guido?
Neal http://python.org/neal/
Like Steve (and unlike Oleg), I get 404s for this page. I also tried
www.python.org and ~neal.
Skip
___
Python
Neal This URL should work for a while longer.
Neal http://creosote.python.org/neal/
Ah, the vagaries of URL redirection. Thanks...
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Martin If people want to test the installation before the switch
Martin happens, this would be the time to do it.
Martin,
Can you let us know again the magic incantation to check out the source from
the repository?
Thx,
Skip
___
Python-Dev
):
def __init__(self):
pass
and thought that
function myfunc(arg1, arg2):
pass
would be equivalent to
def myfunc(arg1, arg2):
pass
where function a builtin that when called returns a new function.
Skip
equal to any DateTime with
its time equal to 11PM. Under the rule, in the face of ambiguity, refuse
the temptation to guess, I'm inclined to dump support for marshalling and
comparison of time objects altogether. Do others agree that was a bad idea?
Thx,
Skip
at
http://python.org/sf/1330538
I went ahead and assigned it to Fred since he's worked with that code fairly
recently.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
martin == martin [EMAIL PROTECTED] writes:
martin The Python source code repository is now converted to
martin subversion; please feel free to start checking out new
martin sandboxes.
Excellent... Thanks for all the effort.
Skip
in the Subversion FAQ:
http://subversion.tigris.org/faq.html
Just grep around for cvs.
Skip
___
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
Jim And can you remind us where to send our public keys? :)
Jim,
Send your keys to [EMAIL PROTECTED] Unless you specify otherwise, your
login will probably be jim.fulton.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
is no more than five (Martin, Barry,
Anthony, Sean, maybe one or two others).
Skip
___
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
more easily. Anyone with cvs and svn experience, but without the
ability to check stuff into the pydotorg repository could contribute.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
Fred Shouldn't we simply remove the .cvsignore files? Subversion
Fred doesn't use them, so they'll just end up getting out of sync with
Fred the svn:ignore properties.
Is there some equivalent? If so, can we convert the .cvsignore files before
deleting them?
Skip
:
'8611dc5f592e7cbc6070524a1437db9b', actual: '2d28838f2fec366fc58386728a48568e'
What's that telling me?
Thx,
Skip
___
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
Tim Excellent suggestions! I have a few to pass on:
skip These are precisely the things the Wiki would be good for.
I went ahead and used Tim's note as the basis for a page on the wiki:
http://wiki.python.org/moin/CvsToSvn
It's linked from the PythonDevelopers page (a page
about Misc. The next
about Lib. After that, the next svn up ran to completion.
Skip
___
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
alternative would be to rewrite Pychecker (or Pychecker
2) to operate from the AST representation.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options
. I think Martin announced the demise of the SF repository
around 20 October, with a cutover date of 26 October.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org
the situation that existed with sys.exitfunc before
the creation of the atexit module. Can't we develop an API similar to that
so that many different event-loop-wanting packages can play nice together?
(Then again, maybe I'm just being too simpleminded.)
Skip
(to), host, time.ctime(), err)
Skip
___
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
hurdles
for the various package writers/Python wrappers.
Skip
___
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
infer the revision number because I know Neal made the change and roughly
where in the given file(s) he was making changes, but I doubt that would
always be true. I guess, did cvstosvn save that mapping somewhere?
Thx,
Skip
___
Python-Dev mailing list
,
release24-maint, peps), though see my next message...
Skip
___
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
2005)
Properties Last Updated: 2005-11-12 12:00:07 -0600 (Sat, 12 Nov 2005)
I was running 1.2.0. I just downloaded and built 1.2.3. It made no
difference.
This is getting kinda frustrating. I haven't got a lot of confidence in
Subversion at this point.
Skip
in Include/.svn/entries.
Skip
___
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
source. I'll give the prebuilt 1.2.3 a try.
Martin I would also recommend to throw away the sandbox completely and
Martin check it out from scratch. Please report whether this gives you
Martin code.h.
Yes, it does (still with my built-from-source 1.2.3).
Skip
it for next time...
Skip
___
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
and the atexit module for a simple example.
Skip
___
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
lsprof yet. I would think having something readily available
(whether in the standard library or not) would be handy when needed,
hopefully with nothing more than python setup.py install required to make
it available.
Skip
___
Python-Dev mailing list
when a package is
added to the standard library, so we probably shouldn't be adding every
candidate that comes along until we have a better idea of the best way to do
things.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
:
extras = LogRecord.get_default_extra()
while True:
... compute ...
... maybe override some values in extras ...
logging.info(..., extra=extras)
... compute some more ...
Skip
___
Python-Dev mailing list
Python
to be something specific to this
command or revision.
Thx,
Skip
___
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
. For that,
see here:
http://python.org/sf/1374063
Skip
___
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
Guido abandon SF?
Fine with me. Is it ready to go though? If not, what more needs to be
done? I was under the assumption that it wasn't ready for prime time and
solicited inputs on c.l.py in a couple messages yesterday and today.
Skip
___
Python-Dev
work with new-style clsses? If so, this should
probably be noted.
Skip
___
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
sooner?
Dunno.
Skip
___
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
Nick Any old code could be fixed by putting from types import
Nick ClassType as __metaclass__ at the top of the affected modules.
Which would be, what, 90% of all Python code written that defines classes?
Skip
___
Python-Dev mailing list
update the
.upstream version and patch it to get the candidate version.
Skip
___
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
is reduced and you can be more confident that the
only place an object's state is modified directly is in its own code.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
is in its own code.
pje So?
So I'm saying I encounter it in practice and makes code harder to maintain.
It's not a hypothetical problem for me.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
/packages
* Third-party modules/packages
* Local modules/packages
I can't explain why I do it that way. I guess it just satisfies some inner
hobgoblin.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
an attribute with an underscore doesn't mean I've implicitly declared
it public. I assume that people will familiarize themselves with the
callable methods of an object and only use direct attribute access if I
haven't provided the necessary methods.
Skip
by DOM and SAX. I couldn't tell you what they do, just that they
were Too Hard (tm) for me to bother with XML in most situations. Then
ElementTree came along.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
do. (trunk is the
Armin last part of the path returned by svn info.)
What was your directory path when you got trunk from svn info? In my
sandbox I get this:
% pwd
/Users/skip/src/python-svn/trunk
% svn info
Path: .
URL: svn+ssh://[EMAIL PROTECTED]/python/trunk
text editors.
Skip
___
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
Fredrik check the bug and patch trackers, you don't find many
Fredrik contributions. Something's definitely broken.
People find it easier to complain than to contribute. Maybe we should fix
that problem...
Skip
___
Python-Dev mailing list
Python
need to do to squash this meme?
Tony other python-dev summarizers (and maybe Cameron Laird for the c.l.py
summaries): please make a note of this in your next summary. The
I-can't-contribute-because-I-don't-know-LaTeX notion has to die, die, die.
Skip
:
http://www.trentm.com/python/dailyhtml/api/unicodeObjects.html
Is it up-to-date? If so, your changes have made it into the documentation
source.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Robey out, and may be too late to help anyone anyway. :)
So for at least the time being they go up nightly
(http://www.trentm.com/python). I don't know what Trent did to make that
happen, but he did it fairly quickly. I doubt it would be hard to replicate
on the docs server.
Skip
Neal I guess you might have to binary search by date to try and find
Neal the problem.
Probably needs to be a binary search by revision. I believe Martin
indicated a side effect of the conversion to subversion was that date-based
updates don't work.
Skip
Steve Alternatively, is there any mileage in trying to either get
Steve Sourceforge to provide Windows machines in the compile farm, or
Steve get Microsoft to provide more software fee to Windows testers?
How about seeing if Microsoft has or will create a compile farm?
Skip
right on that Windows thing. Where can I download that again?
wink
Skip
___
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
1 - 100 of 1164 matches
Mail list logo