is '-' followed by '3.41'. In
C it's a single token resolved at compile time. In the not-too-distant past
negative numeric constants were tried, but that caused some other grief. I
can't remember what.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
the product of a series. sum() obviously takes
care of the first use case. product() would take care of the second.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
://www.python.org/doc/2.5/lib/node266.html
I don't think they add anything useful to the documentation. Were they
added just for the csv module (and possibly a few others) or was this a
change to the entire libref documentation? That is, was this some sort of
policy change? Can they be removed?
Skip
, 45% dec).
Aren't most spammers' scrapers going to be intelligent enough by now
(several years since they first arrived on the scene) to see through these
sorts of common obfuscations?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
Justin Caches seem like they definitely might be a problem. Would you
Justin mind expanding on this a little? What gets cached and why?
I believe the integer free list falls into this category.
Skip
___
Python-Dev mailing list
Python-Dev
Brett We should probably document where all of these globals lists are
Brett instead of relying on looking for all file level static
Brett declarations or something.
I smell a wiki page.
Skip
Brett Or would there be benefit to moving things like this to the
Brett
. For uncommon ones this could use a lock
until someone gets around to writing the necessary couple lines of
assembler.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.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
Hrvoje deallocator are unlikely.
Maybe sys.maxint/2? You'd hate for the first incref to invoke the
deallocator even if it was a no-op.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
direction.
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
. At the very least, if something is
going to be new in 2.6, keep that. Maybe also keep the 2.5 versionadded
references. Older references can probably be deleted.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
)
f.write(a\rb\rnc\n)
7
f.close()
open(test.txt, rb).read()
b'a\rb\rnc\n'
I'd be open to such a change. Principle of least surprise?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Greg Maybe there should be a universal newlines mode defined for output
Greg as well as input, which translates any of \r, \n or \r\n
Greg into the platform line ending.
Skip I'd be open to such a change. Principle of least surprise?
Guido The symmetry isn't as strong
a
Michael mix of '\r\n' and '\r\r\n'.
So you need a translation layer between the UI component and your code.
Treat the component as a text file and perform the desired mapping. Yes?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
Fred,
Search the python-3000 archives for a subject started by Neal Norwitz in
late August with a subject of what to do with profilers in the stdlib. I
was the one who suggested removing hotshot (Armin's cprofile covers
basically the same ground).
Skip
yourself). The delayfunc is called and when it finishes, the action
function is called.
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
about just creating a page on the wiki and letting those people
participate who are interested?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman
descriptor for that file is closed by that process Flock(2) is
recommended for applications that want to ensure the integrity of their
locks when using library routines or wish to pass locks to their
children.
I guess the BSD folks were a bit upset when they wrote that.
Skip
that there is some both an underlying need for a
file locking mechanism but with a lack of consensus about the best way to
implement the mother-of-all-file-locking schemes for Python. Maybe the best
place for this is in the distribution. PEP?
Skip
-focused. For the open positions in our group I'd
much rather see experience doing scientific or database programming with
Python than web apps.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
test cases.
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 result
is here:
http://www.webfast.com/modindex/
I reset all the counters and seeded the cache with a few modules. Click
around in the index a few times then reload the above page. You'll get the
idea.
Skip
___
Python-Dev mailing list
Python-Dev
the work necessary to process the index
(and thus being a little slower than just going straight to the index
itself) but not seeing the proper anchors in the file which allowed it to
insert the table and rewrite URLs to allow counting clicks.
Skip
)
?
Guido I'd also like to change property so that the doc string defaults
Guido to the doc string of the getter.
How about defaulting it to the first argument to property() which has a doc
string?
Skip
___
Python-Dev mailing list
Python-Dev
:
http://www.webfast.com/~skip/python/
It took me a little longer to implement than I thought because I decided to
implement an SQLite-based _FileLock subclass, mostly as a proof-of-concept.
I'm still waiting for the name lockfile to free up in PyPI to put it
there.
Skip
skip Okay, this is up on my website:
skip http://www.webfast.com/~skip/python/
And on PyPI:
http://pypi.python.org/pypi/lockfile/
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python
reverted.
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 As I recall, the PEP was withdrawn because Skip didn't have the
Nick time and/or level of interest needed to champion it any more, and
Nick nobody else was interested in taking on the task.
Correct. I only implemented what I did because it seemed like an
interesting concept
Titus Skip, this set_trace rewrite fixes the problem in both 25-maint and
Titus trunk:
...
Thanks, Titus. Both the doctest and trace tests pass with your change.
Checked back in. I didn't run the full test suite, as test_sqlite causes a
bus error on my Mac which I've yet
I noticed that test_anydbm and test_bsddb seemed to hang, so I -x'd them.
Later on while test_whichdb was running and I was off doing something else
(so didn't notice the delay), it eventually spewed this traceback:
Traceback (most recent call last):
File /Users/skip/src/python/trunk
gives me some hope that I can try to narrow down the
problem with a little binary searching.
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
Guido I think I've seen this too when running the bsddb3 unittest. I
Guido think it's caused by a previous test ending badly and leaving
Guido junk behind that the test suite doesn't properly remove before
Guido starting. But I don't recall the details.
skip Thanks
from the Python Package Index:
http://pypi.python.org/pypi/bsddb185
Cheers,
--
Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
from him.
Is there some different method for getting sqlite changes into the trunk?
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
Guido Looks like in Python 2.6, round(0.5) right now returns 0.0,
Guido whereas in 2.5, it returns 1.0.
Guido I think it should return 1.0, for best compatibility with Python
Guido 2.5.
And for best compatibility with everything else! 0.5 wink
Skip
. But it should not bleed into
Guido Python 2.6.
Thanks for the pointer. Given that it's been an ASTM standard since 1940
and apparently in fairly common use since the early 1900s, I wonder why it's
not been more widely used in the past in programming languages.
Skip
is, not much, then I don't see why this is even an idle
thought.
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
, it
seems to me that we must waste some precious resources (mostly people)
maintaining two mostly disjoint trackers. There is also some functionality
overlap, mostly in the documentation area.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
?
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 previous four posts were dredged out of the holding pen in Mailman.
Sorry for the delay.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options
disrupted other external packages (which you can
always reinstall) but instead scribbles all over your home directory, wiping
out your almost finished Ph.D. thesis in Library Science which you had saved
to ~/lib.
Skip
___
Python-Dev mailing list
Python-Dev
directories). If I want to build a
package which relies on zlib, libpng, libtiff, libjpeg, etc., imagine what
my CPPFLAGS, CFLAGS and LDFLAGS arguments look like. :barf:
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
OlegWhy not use GNU stow?
Thanks for the reference. I'd never heard of it before. I suspect our IT
folks may not have as well.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
, for example, a personal version of gcc there? I wouldn't, but
that's just me.
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
Mike 2. Is this really the hard-coded behavior we want? I don't think
Mikemy use-case is that odd; in fact, what I find very odd is that
Mikethe prompt output is send to stderr. I mean, I'm printing the
Mikeprompt for a question, not some error message. Can there not
)
[GCC 3.4.1] on sunos5
Type help, copyright, credits or license for more information.
raw_input(?)
wer
^D
Same for 2.6a0 on my Mac at home. Mike, are you sure about it prompting to
stderr? If so, what's your setup?
Skip
___
Python-Dev
the documentation.
Guido Agreed.
http://bugs.python.org/issue1927
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
JavaScript to have increased in popularity,
not decreased. Hmmm... And they have both Delphi and COBOL jumping in
popularity by three rungs.
At any rate, there you have it.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
such short messages should be classified more accurately
as the training database grows.
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
Brett [fix setup.py search order]
Brett But should this be backported?
+1. Seems like a bug to me.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
GPL'd or some such. Which reminds me.
I should sync Misc/python-mode.el for both trunk and py3k branches with the
latest version from the SF python-mode project.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
development?
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
.
That might be a bit more challenging. I was thinking today that it would be
kind of nice to have a set of predefined settings for Python's new C style
(someone mentioned producing that). Should that go in the C/C++ mode or be
delivered somehow else?
Skip
skip I should sync Misc/python-mode.el for both trunk and py3k branches
skip with the latest version from the SF python-mode project.
Done only on trunk. I trust one of the mega-merges to the py3k branch will
copy it there and that backporting to 2.5 is not desired.
Skip
of that
package.
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
I'm having trouble with test_bsddb on my new MacBook Pro (OS X 10.5.1).
Many tests give this error:
Traceback (most recent call last):
File /Users/skip/src/python/trunk/Lib/test/test_bsddb.py, line 18, in
setUp
self.f = self.openmethod[0](self.fname, self.openflag, cachesize
now.
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
', 'LifoQueue']
I like the second one better.
How would you easily ask an object for all its attributes?
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org
Why not just skip the specifics except to say 80 characters for all
lines? Don't mention 72, 79 or any other number than 80:
Amaury I often run svn diff in a console limited to 80 characters.
Amaury Because of the leading +, lines longer than 78 wrap, and the
Amaury
This message has been popping up in the buildbot mails for several days:
Conflict detected in commontex/boilerplate.tex. Doc build skipped.
I have no idea what it means. I don't see it within the core distribution.
Can someone take a look at this?
Skip
Michael The downloads page on python.org shows 2.5.1 as the latest
Michael release:
Michael http://python.org/download/
Thanks. I just checked in a change. I'm not sure how long it takes to
update the website, but it should be fairly soon.
Skip
, at least according to port
search
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
Barry True, but it's just more moving parts to break, especially when I
Barry don't really feel a u/i buys you much[*].
Barry [*] Skip knows me as a diehard XEmacser so that statement can
Barry pretty much define my standard answer to all such questions. :)
So if we put together
optimizations:
http://bugs.python.org/
Studying them (and trying them out and attaching comments or reviews of
their efficacy) would be a good way to help understand the system.
--
Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip
for both parsing and
formatting if possible.
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
sometime today. Free
for lunch? Maybe this would be a good lunchtime discussion.
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
either spend more time with their families
or work on other things that need doing.
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
I don't see anyplace obvious where a value resembling a jump offset or
jump target was pushed onto the stack.
Duh. Found it about one minute after sending... CONTINUE_LOOP.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
*/
Reported to the tracker: http://bugs.python.org/issue4888
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
Raymond comments indicate that very few customizations are necessary).
+1. I would argue that Haiku OS is probably no more of a minority platform
at this point than OS2/EMX, which continues to be supported, at least at the
level if patches being applied to the source.
Skip
\
-Wstrict-prototypes -g -DPy_BUILD_CORE -DNDEBUG \
-I/Users/skip/src/python/py3k-t/Include \
-I/Users/skip/src/python/py3k-t -c dTd5cl.c \
-o /tmp/MwDLSf.o
gcc -L/opt/local/lib -bundle -undefined dynamic_lookup -g \
/tmp/dTd5cl.o -L/Users/skip/src/python
to use Python.
--
Skip Montanaro - s...@pobox.com - http://smontanaro.dyndns.org/
___
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
your diagnostic changes in on a
branch meant just for that purpose. Once you're done with your changes you
could simply delete the branch.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
I see output like this in several tests on my Mac:
test_array skipped --
dlopen(/Users/skip/src/python/trunk/build/lib.macosx-10.3-i386-2.7/cPickle.so,
2): Symbol not found: __PyObject_NextNotImplemented
Referenced from:
/Users/skip/src/python/trunk/build/lib.macosx-10.3-i386-2.7
in question the *installed* version of
libpython2.7.dylib didn't have the symbol:
% nm python.exe | grep PyObject_NextNotImplemented
% nm libpython2.7.dylib | egrep PyObject_NextNotImplemented
00054200 T __PyObject_NextNotImplemented
% nm /Users/skip/local/lib/libpython2.7.dylib | egrep
to be exactly what's gone wrong with the OS/X
community buildbot I run. I'll try to plop your solution in place when I
get home and see how it works after that.
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
use variable
expansion on the RHS of stuff. Can I do something like
if @WITH_DTRACE_SUN@ = 1
then
... Sun-style dependencies here ...
else
... Apple-style dependencies here ...
fi
where WITH_DTRACE_SUN is a macro defined in pyconfig.h by the configure
script?
Thanks,
Skip
http://bugs.python.org/issue4111
Jeez, I'm an idiot. Should be
http://bugs.python.org/issue5047
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org
on it and get back to you if I get completely stuck. I think I've
figured a way out of my current dilemma, but a little experimentation will
be required to see if I'm correct.
Thx,
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http
belongs in a separate argument
though.
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
___
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
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 Windows? wink
Skip
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? wink
Chris The irony that Thunderbird put this in my spam folder based on
Chris its
get a real OS./jab/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-archive.com
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://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
.)
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
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@python.org
http://mail.python.org/mailman
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.org
http
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.org/mailman/options/python
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 list
Python-Dev@python.org
http
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
___
Python-Dev mailing list
Python-Dev
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 mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
Steve Careful, Glyph. Nobody likes a smart-ass ;-)
I think he'll be ok. He escaped the language summit with only minor wounds
yesterday. wink
Skip
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python
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 though.
Skip
,
--
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/python-dev/archive%40mail
.
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 module. I
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
Antoine
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 leaves.
Skip
___
Python-Dev mailing list
Python-Dev
401 - 500 of 1164 matches
Mail list logo