code to
3.x, please let me know.
Thanks,
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
in of comments, cc's requestors, etc.
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
Christian> CPython has a stricter policy than most other Python related
Christian> projects.
Indeed. I'd be willing to grant you checkin privileges for SpamBayes simply
because because Christian recognized you and you seem willing to roll up
your sleeves. Do you do Windo
>> Indeed. I'd be willing to grant you checkin privileges for SpamBayes
>> simply because because Christian recognized you and you seem willing
>> to roll up your sleeves. Do you do Windows?
Chris> The irony that Thunderbird put this in my spam folder based on
Chris> its he
oo?
I believe so, but you should still get a real OS.
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
Python core "slot". I will probably have little time
before the sprint to do much, but any brain dumps or Twisted pointers people
could give me in the interim would be appreciated.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mai
in the Chicago area.)
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
h.
* Probably small documentation changes as well.
I'm wiped out this evening. I'll try to look into it, but I suspect it
might require a bit more time than I have in the next day or two.
Skip
___
Python-Dev mailing list
Python-Dev@pytho
David> I just noticed that the python-3000 list is still mentioned on
David> http://www.python.org/community/lists/.
Thanks. I passed your note along to the postmaster(s).
Skip
___
Python-Dev mailing list
Python-Dev@python.or
est
things out on Solaris or let you look over my shoulder as we poke around the
machines at work if you need.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.or
Is setuptools/distutils/whatever on the agenda for the tomorrow's language
summit? Or is there some other get-together at PyCon for this?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/pytho
erent
opinion about installing stuff into /usr without working with the system's
packaging mechanism:
http://bugs.python.org/setuptools/issue63
I don't understand how that can possibly be manageable.
Skip
___
Python-Dev mailing li
>> http://bugs.python.org/setuptools/issue63
>>
>> I don't understand how that can possibly be manageable.
>>
Steve> Note that the issue contains a broken link.
Fixed. Looks like a Roundup bug.
Skip
___
s an --i-am-an-idiot flag which would have
to be used to force it to install packages in to the system's space.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.
g-commit.py --repository "$REPOS" --revision "$REV"
Does Python's post-commit.tmpl do more (or less) than this? If it's
substantially different, can someone mail me a copy of what's installed?
Thanks,
Skip
___
Python-Dev
Steve> Careful, Glyph. Nobody likes a smart-ass ;-)
I think he'll be ok. He escaped the language summit with only minor wounds
yesterday.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
mal> Zip files are great for shipping packages to the end-user, but
mal> there's no need to keep them zipped once they get there.
I thought one of the arguments for zip files was a performance increase
(reduced stat(2) calls, etc). I may misremember th
;except Foo as exc")?
Thx,
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/py
hit a bug? This is a fully updated
2.7a0 build, trunk:70878M.
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
skip> Am I missing something obvious or have I hit a bug? This is a
skip> fully updated 2.7a0 build, trunk:70878M.
After noting that thread.get_ident() returned a thread id but that
threading.currentThread().ident was None I concluded that it is, in fact, a
bug in the threading
>> Having read through the ticket, it seems that a CSV file must be (and
>> 2.6 was) treated as a binary file, and part of the CSV module's job
>> is to convert that binary data to and from strings.
Antoine> IMO this interpretation is flawed. In 2.6 there is no tangible
Antoi
Sounds like you have a budding test case.
Of course, the problem with CSV files is that there is no standard. In the
above paragraph you named three. The CSV authors chose Excel's behavior as
the measuring stick. Still, that's not written down anywhere. You have to
read the tea leave
se of my problems. Still, until
people are real familiar with what is going on, especially people like me
who have little or no familiarity with dVCSs I think it's best to just treat
it like Subversion if at all possible.
Skip
___
Python-Dev mailing l
ugh that once,
Dirkjan> maybe twice.
Maybe once for each currently active Subversion branch (2.6, 2.7, 3.0, 3.1)?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.pyth
esired.
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
ly, the opportunity for
constant folding is minimal and probably introduces more opportunities for
bugs than performance improvements.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
ne about cmake, but if it's good for the goose (building
Python proper) would it be good for the gander (building extensions)?
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
"XML sucks, dictionaries rock" - Dave Beazley
_
I think I have to call *bt* here. This is a common technique used
during debugging. Insert a 1/0 to force an exception (possibly causing the
running program to drop into pdb). I think you have to leave that in.
Skip
___
Python-Dev mailing list
Pyt
>> I don't know thing one about cmake, but if it's good for the goose
>> (building Python proper) would it be good for the gander (building
>> extensions)?
Antoine> African or European?
I was thinking Canadian...
Skip
___
I know the subject of external dependencies came up here in the discussion
about Mercurial. I just saw this on the Mercurial mailing list. Perhaps it
will be of interest to our hg mavens.
Skip
--- Begin Message ---
Hi,
I've recently cloned the deps extension, originally developed by
>> - registration to pypi
Alex> No idea what this is .
http://pypi.python.org/
It is, in some ways, a CPAN-like system for Python.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/p
>>> date(2008, 1, 30) + monthdelta(1)
datetime.date(2008, 2, 29)
What would this loop would print?
for d in range(1, 32):
print date(2008, 1, d) + monthdelta(1)
I have this funny feeling that arithmetic using monthdelta wouldn't always
be in
reasonable functionality.
(I'm a bit behind on this thread. Hopefully someone else has already
suggested these two 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
uarantee an instant user base. From there, if it
is found to be useful it could make the leap to be part of the datetime
module.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:
st of them. Bake, baby, bake.
pillsbury-doughboy-ly, y'rs,
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
h." Unfortunately, the drama
of that scene tends to be lost on modern audiences. Upon hearing that
famous utterance they tend to break out in laughter, especially if the
audience is made up mostly of boys under the age of twelve.
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
e I'm
thinking of trailing non-numeric, non-whitespace characters.
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/arch
the decimal module. :-/
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> As for volumes to backup: I think /srv needs regular backup.
Martin> Not sure about any of the others
Backup of /usr/local/spambayes-corpus would be very helpful.
Skip
___
Python-Dev mailing list
Python-Dev@python.or
ef functions.
I suspect it's not really germane to this discussion but if the
incref/decref functions were defined as inline would that effectively be
like using the macro versions vis a vis ABI compatibility?
Skip
___
Python-Dev mailing list
Python
2 m
Also, check out the magnitude module (in PyPI). I use it to specify the
units of the computation but allow users to input values using units which
are meaningful to them. So, for example, if a value has units of time they
could enter 1m or 60s and get the same internal value.
Skip
_
mentioned in the major news outlets...
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
7;s worth of archived postings.
(Maybe someone create a BestOfTutor wiki page?)
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
Getting old sucks, but it beats dying young
___
Python-Dev mailing list
Python-Dev@python.org
http://ma
Martin> I think it's too early to tell. It may be that they have not yet
Martin> achieved their purpose - just let's wait fifty more years (and
Martin> I'm only half-joking).
So what you're really saying is we only h
;validation suite" was maintained as a separate project all implementations
could use and contribute to.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman
ld go along with it.
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
ith versions of Python < 2.6 I see no
reason to make such a change. This would just introduce needless
differences between the version delivered with Python and the PyPI version
and make it more difficult for the author to keep the two code bases
rtin> optparse/argparse: this code has only a single function call,
...
Agreed. I have never completely wrapped my brain around optparse. Getopt I
just remember.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.or
Ronald> I'll write some documentation on the build options on OSX, but
Ronald> don't know what's the best location to do so.
The top-level README file of the distribution has a "Platform specific
notes" section. Seems like that would be the most logical
It's been awhile since I rebuilt Python and ran the test suite. This
evening I noticed this on my Mac (OS X 10.5):
test_thread
Unhandled exception in thread started by >
Traceback (most recent call last):
File "/Users/skip/src/python/trunk/Lib/test/test_thread.py&
>> It's been awhile since I rebuilt Python and ran the test suite. This
>> evening I noticed this on my Mac (OS X 10.5):
Sorry, trunk.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/li
s sort of stuff in greater detail. I'm thinking more of
a smoke test than a comprehensive test suite covering all external packages.
Setuptools is particularly important because so many extension authors use
it. If it breaks it implicitly breaks a lot
tutils.
As I said, I was completely unaware of the problems you're addressing with
Distribute. My guess is that many extension writers and almost certainly
those people who install extensions will be similarly unaware of the issues.
Skip
___
Pyth
ell over 100 at this point.
Moral of the story: If you have something to announce, announce it in the
proper channel: python-announce-l...@python.org.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/list
ls-sig or
python-ideas, but that seems to have been ignored.) I mostly tuned the
entire thread out until I saw that Guido had joined in the fray (sort of).
Maybe since I don't distribute a lot of Python packages it's not as
important to me.
Let me know
while to prioritize all outstanding bugs which have
been mentioned in the context of 2.6.[345] and run a bug day with the top
priority being to fix those bugs. If that task is completed, then move onto
other stuff. Once those primary bugs are tackled schedule
I notice that WITHOUT_COMPLEX still appears in Python.h and several .c files
but nowhere else in the 2.6, 2.7 or 3.1 source, most particularly not in
configure or pyconfig.h.in. Are builds --without-complex still supported?
Has it been tested at any time in the recent past?
Skip
but that
script doesn't know about it and it's not mentioned in pyconfig.h.in, where
the various --with-* flags work their magic.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/pyt
a "Replace Patch" button next to all
uploaded patches instead of adding a new one then deleting a previous
one.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
htt
toine> branch after all.
No, because 2.6 is in feature freeze (bug fixes only). 2.7 is the current
version of 2.x where new features are allowed to be added.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listi
d from trunk and there would be no
further 2.x releases.
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
comfortable with Review Board and like the tool support for code reviews.
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
ore the
first 2.7 alpha release.
If you want to accelerate release of 2.7 (fewer alphas, compressed schedule,
etc) that's fine, but I don't think you can turn back the clock at this
point and decree that 2.7 is dead.
Skip
___
Python-Dev mailin
listbox.htm
I pull this quote:
In versions before Python 1.5, use string.atoi instead of int.
:-)
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/
Guido> I've checked draft (!) PEP 3003, "Python Language Moratorium",
Guido> into SVN.
LGTM.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://ma
once a module is found isn't too hard to grasp.
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
2to3.
The usage is pretty straightforward. For example, a string literal
might contain the bytes for a GIF image:
data = "GIF89a(..."
Is there a potentially automated path from where the code is today to
something Python 3 (and 2to3) w
Guido> But if you're happy with only supporting 2.6, you can use b"..." and
Guido> the right thing will happen.
SpamBayes still supports 2.4...
Thanks for the feedback. I'll update the source manually, then run 2to3.
S
___
Python-Dev mailing
tin. It then took me awhile to figure out how to actually see
comments about my packages.
https://sourceforge.net/tracker/?func=detail&aid=2897527&group_id=66150&atid=513503
At the very least I think the feature needs to be easier for package
authors to use.
Skip
_
rt to reduce the chance that the system would be
subverted. Similar to a free software site such as PyPI (and unlike a
for-profit system such as the iTunes App Store), I think almost all people
realized that the rating system was there to help the community and that by
polluting the da
Guido> Of course, as a user, I might not trust a module that has no
Guido> reviews or ratings.
I suspect the vast majority of projects will never acquire ratings or
reviews.
Skip
___
Python-Dev mailing list
Python-Dev@python.or
gged into any website with them, at least
not as far as I can recall. I realize that maybe this is something that
just doesn't click with me (maybe I'm an OpenID Luddite), but it seems to me
that OpenID needs to be a bit easier (or obvious?) to use if it's to become
some so
Martin> That's indeed what PyPI attempts to do. At the "claim openid"
Martin> place, follow the Launchpad link. It should guide you through
Martin> the procedure.
Well, since I use Google a lot more I'd prefer to use that. If I click the
Google OpenID link I now get
OpenID is al
automatically log into PyPI. So without
Martin> further questions, they redirect you back to PyPI. PyPI finds
Martin> your account, and displays a logged-in page.
Thanks. Makes sense now...
Skip
___
Python-Dev mailing list
Python-Dev@pyt
pad Nan (or Inf, for that matter)?
Stefan> The advantage of decimal is that the user has the option to
Stefan> suppress commas. The behaviour of float is slightly easier to
Stefan> implement in C.
Why? If the user asked for them why would you want to suppress (some of)
them?
the
Mark> leading zero, as in '020,g'. Why would you use '0=20,g' instead?
Note to the implementers: '0=20,g' has no mnemonic significance as far as I
can tell. I thought it was my mail program failing to properly decode a bit
of quoted printable text.
Skip
__
st:
http://mail.python.org/mailman/listinfo/new-bugs-announce
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
How much of the Unladen Swallow cPickle speedups have been incorporated into
2.7 & 3.1? I'm working on trying to develop patches for 2.4 and 2.6 (the
two versions I currently care about at work - we will skip 2.5 entirely).
It appears some of their speedups may have already been merged
Philip> They've documented their upstream patches here:
Philip> http://code.google.com/p/unladen-swallow/wiki/UpstreamPatches
Thanks. That will help immensely.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail
>>>>> "Antoine" == Antoine Pitrou writes:
Antoine> pobox.com> writes:
>>
>> If a patch to merge this to 2.7 is already under
>> consideration I won't look at it,
Antoine> Why won't you lo
. autoload modules/symbols (pokes around in common modules from
sys.excepthook function).
Oh, and I've had no particular trouble keeping it working in Python 1, 2 or
3.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.
Just out of curiosity, is the static build stuff (use the old Modules/Setup
file to build modules) exercised at all any more?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
How about explaining why you're not going to give Collin a pony?
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%4
y apps as .py or .pyc files... And it could have significant
performance benefits if type annotation was used (and was accurate).
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscri
ed with it, but if I ever do it may well save my butt.
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
n in some way.
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
den Swallow moves out of active development into a more
stable phase of its existence that it will probably stop embedding LLVM.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://
at run-time is pretty much the starting
point. It just goes up from there. We'd probably not notice an extra 20MB
if it was shared.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
on the blog post before noticing all the replies here. I'll
embellish that suggestion by suggesting that instance attributes can be as
valuable when debugging instance methods. Perhaps __trace_self__ (or
similar) could be fed from self.__dict__ if it exists?
Skip
ith wpython:
http://unladen-swallow.googlecode.com/svn/tests
--
Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail
thon on my Mac or is it Windows only?
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
ct that only to have an archive
expand into the current directory without creating a directory of its own.
I've been burned often enough that I always check before expanding source
archives from new (to me) sources, so no harm, no foul in this case.
Skip
_
(coarse-grained subdivision) then create threads (finer
grained threads of control) in those processes.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/
Tres> Some applications may seem to work when violating this rule, but
Tres> their developers are doomed to hair loss over time.
Then for us bald guys it should be okay, right? ;-)
Skip
___
Python-Dev mailing list
Python-Dev@python.or
Maybe an alternate sprint idea would be to incorporate dateutil into the
Python core: http://labix.org/python-dateutil
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
thinking of pytz: http://pytz.sourceforge.net/
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
Lennart> The timezone database is updated several times per year. You
Lennart> can *not* include it in the standard library.
My guess is the data are updated several times per year, not the code. Can
they not be separated?
Skip
___
Pyth
2.7 or 3.2 and distributes it outside the normal distribution channel (say,
as a patch on PyPI).
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/o
Guido> Maybe the best thing is to make optparse *silently* deprecated,
Guido> with a big hint at the top of its documentation telling new users
Guido> to use argparse instead, but otherwise leaving it in indefinitely
Guido> for the benefit of the many existing users.
Would a 2to3
Some of you have probably already seen this, but in case you haven't:
http://www.staringispolite.com/likepython/
:-)
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
1 - 100 of 1295 matches
Mail list logo