On 5/23/07, Georg Brandl <[EMAIL PROTECTED]> wrote:
> Also, try
>
> http://pydoc.gbrandl.de:3000/os.path.exists
Beautiful!
STeVe
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
_
Georg Brandl <[EMAIL PROTECTED]> wrote:
> Nick Craig-Wood schrieb:
> > Being a seasoned unix user, I tend to reach for pydoc as my first stab
> > at finding some documentation rather than (after excavating the mouse
> > from under a pile of paper) use a web browser.
> >
> > If you've ever used py
Am Wed, 23 May 2007 08:30:17 +0200
schrieb Georg Brandl <[EMAIL PROTECTED]>:
> [...]
> Also, try
>
> http://pydoc.gbrandl.de:3000/os.path.exists
> [...]
Looks good. But should the source pages really use syntax highlighting?
I think if somebody is interested in the source then they should get
th
Hoi,
Dennis Benzinger gmx.net> writes:
> Looks good. But should the source pages really use syntax highlighting?
> I think if somebody is interested in the source then they should get
> the real source without any highlighting. If you decide to keep the
> syntax highlighting then the highlightin
Nick> If you type "pydoc re" at the moment then it says in it
Nick> MODULE DOCS
Nick> http://www.python.org/doc/current/lib/module-re.html
Nick> which is pretty much useless to me when ssh-ed in to a linux box
Nick> half way around the world...
I get quite a bit of i
2007/5/23, Nick Craig-Wood <[EMAIL PROTECTED]>:
> Georg Brandl <[EMAIL PROTECTED]> wrote:
> > Nick Craig-Wood schrieb:
> > > Being a seasoned unix user, I tend to reach for pydoc as my first stab
> > > at finding some documentation rather than (after excavating the mouse
> > > from under a pile of
On Wednesday, May 23, 2007, at 12:40PM, <[EMAIL PROTECTED]> wrote:
>
>Nick> If you type "pydoc re" at the moment then it says in it
>
>Nick> MODULE DOCS
>Nick> http://www.python.org/doc/current/lib/module-re.html
>
>Nick> which is pretty much useless to me when ssh-ed in t
Dear all,
I am writing to seek information about the socket.fileno() method, and
opinions on how best to implement it on jython.
On cpython, socket.fileno() returns a file descriptor, i.e. an integer
index into an array of file objects. This integer is then passed to
select.select and select.p
Nick Craig-Wood schrieb:
>> > It is missing conversion of ``comment'' at the moment as I'm sure you
>> > know...
>>
>> Sorry, what did you mean?
>
> ``comment'' produces smart quotes in latex if I remember correctly.
> You probably want to convert it somehow because it looks a bit odd on
> the
Bug #1722485 reports that Py 2.5+ doesn't ignore docstrings anymore if
used with -OO.
Attached patch should fix this.
Georg
Index: Python/compile.c
===
--- Python/compile.c (Revision 55526)
+++ Python/compile.c (Arbeitskopie)
@@ -111
On 5/23/07, Neal Norwitz <[EMAIL PROTECTED]> wrote:
> On 5/22/07, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote:
> >
> > As you see, cStringIO's code also needs a good cleanup to make it,
> > at least, conforms to PEP-7.
>
> Alexandre,
>
> It would be great if you could break up unrelated changes
Nick Craig-Wood wrote:
> ``comment'' produces smart quotes in latex if I remember correctly.
> You probably want to convert it somehow because it looks a bit odd on
> the web page as it stands. I'm not sure what the reST replacement
> might be, but converting it just to "comment" would probabl
Nick Craig-Wood wrote:
> ``comment'' produces smart quotes in latex if I remember correctly.
> You probably want to convert it somehow because it looks a bit odd on
> the web page as it stands. I'm not sure what the reST replacement
> might be, but converting it just to "comment" would probably be
Martin Blais wrote:
> On 5/22/07, Martin Blais <[EMAIL PROTECTED]> wrote:
>> ReST works well only when there is little markup. Writing code
>> documentation generally requires a lot of markup, you want to make
>> variables, classes, functions, parameters, constants, etc.. (A better
>> avenue IMHO
> -Original Message-
> From: "Martin v. Löwis" [mailto:[EMAIL PROTECTED]
>
> That couldn't work for me. I try avoid building on a network drive, and
> with local drives, I just can't have a Windows build and a Linux build
> on the same checkout - they live on separate file systems, after a
http://www.python.org/dev/buildbot/all/x86%20W2k%20trunk
Is my buildbot the only reliable Windows buildbot machine?
It is possible that within a couple of weeks or so I'll have to take
this one offline.
Are there others that can provide a Windows buildbot? It would probably
be good to have two
Nick Craig-Wood wrote:
> Georg Brandl <[EMAIL PROTECTED]> wrote:
>> Nick Craig-Wood schrieb:
>>> Being a seasoned unix user, I tend to reach for pydoc as my first stab
>>> at finding some documentation rather than (after excavating the mouse
>>> from under a pile of paper) use a web browser.
>>>
>
Laurent Gautier wrote:
> 2007/5/23, Nick Craig-Wood <[EMAIL PROTECTED]>:
>> Georg Brandl <[EMAIL PROTECTED]> wrote:
>>> Nick Craig-Wood schrieb:
Being a seasoned unix user, I tend to reach for pydoc as my first stab
at finding some documentation rather than (after excavating the mouse
>>
Trent Mick schrieb:
> http://www.python.org/dev/buildbot/all/x86%20W2k%20trunk
>
> Is my buildbot the only reliable Windows buildbot machine?
> It is possible that within a couple of weeks or so I'll have to take
> this one offline.
>
> Are there others that can provide a Windows buildbot? It wo
Thomas Heller wrote:
>> Are there others that can provide a Windows buildbot? It would probably
>> be good to have two -- and a WinXP one would be good.
>
> How much work is it to set one up, and to maintain it? Maybe I can offer an
> XP VMWare image.
It has been a while since I set it up. Tim
On Wed, May 23, 2007 at 12:08:52PM -0700, Trent Mick wrote:
-> Thomas Heller wrote:
-> >> Are there others that can provide a Windows buildbot? It would probably
-> >> be good to have two -- and a WinXP one would be good.
-> >
-> > How much work is it to set one up, and to maintain it? Maybe I c
[MarkH]
>> I'm guessing vsextcomp doesn't use the Visual
>> Studio 'ReleaseAMD64' configuration - would it be OK for me to check in
>> changes to the PCBuild projects for this configuration?
>
[Martin v. Löwis]
> Please don't. It exclusively relies on vsextcomp, and is only useful
> if you have th
Trent Mick wrote:
> It has been a while since I set it up. Tim did so at about the same time
> and wrote down his steps to setup... but I can't find the reference to
> those instructions right now.
http://wiki.python.org/moin/BuildbotOnWindows
If you run into problems setting it up, feel free t
It seems the
best thing might be to modify the PCBuild8 build process so the output
binaries are in the ../PCBuild' directory - this way distutils and others
continue to work fine. Does that sound reasonable?
I think Kristjan will have to say a word here: I think he just likes
it the way it is
On 5/23/07, Kristján Valur Jónsson <[EMAIL PROTECTED]> wrote:
> > > Install in the ProgramFiles folder.
> > Only over my dead body. *This* is silly.
> Bill doesn't think so. And he gets to decide. I mean we do want
> to play nice, don't we? Nothing installs itself in the root anymore,
> not sinc
> Very well, leaving linux aside, I don't see why this:
> /win32mount/trunk/PCbuild/
> /x64mount/trunk/PCbuild/
>
> Is any different from
> /winmount/trunk/PCBuild/win32
> /winmount/trunk/PCBuild/x64
>
> I don't understand this extraordinary reluctance to add a single extra
> directory.
> The wi
Trent Mick schrieb:
> http://www.python.org/dev/buildbot/all/x86%20W2k%20trunk
>
> Is my buildbot the only reliable Windows buildbot machine?
Tim Peter's machine comes and goes, depending on whether he starts
the buildbot. Alan McIntyre's machien should be mostly he reliable,
but nobody really no
> I use this patch in ActivePython to get distutils to find the correct
> PCbuild dir (see attached).
Would you like to commit this to 2.6? (or perhaps 2.5 even?)
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/m
> - Run the appropriate environment setup for the correct compiler. E.g.,
> for the Platform SDK AMD64 compiler and with the current Platform SDK
> this is:
>
>C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd /X64 /RETAIL
>
> - Run the solution file with "devenv.com" (IIRC, devenv.exe doe
>> Are there others that can provide a Windows buildbot? It would probably
>> be good to have two -- and a WinXP one would be good.
>
> How much work is it to set one up, and to maintain it? Maybe I can offer an
> XP VMWare image.
Setting it up essentially requires to put all the software into
> Very well, leaving linux aside, I don't see why this:
> /win32mount/trunk/PCbuild/
> /x64mount/trunk/PCbuild/
>
> Is any different from
> /winmount/trunk/PCBuild/win32
> /winmount/trunk/PCBuild/x64
In the former case, assuming python is running from the 'trunk' directory,
all architectures kno
Martin v. Löwis wrote:
>> I use this patch in ActivePython to get distutils to find the correct
>> PCbuild dir (see attached).
>
> Would you like to commit this to 2.6? (or perhaps 2.5 even?)
Sure, if others think it is a good thing. Will do tomorrow unless I hear
a -1 before then.
Trent
--
T
> Martin v. Löwis wrote:
> >> I use this patch in ActivePython to get distutils to find
> the correct
> >> PCbuild dir (see attached).
> >
> > Would you like to commit this to 2.6? (or perhaps 2.5 even?)
>
> Sure, if others think it is a good thing. Will do tomorrow
> unless I hear
> a -1 before th
> I'm not quite a '-1', but am a little confused about where this would leave
> us. To some extent, this would formalize PCBuild8 and VC6 directories.
> External tools would then slowly start growing support for these additional
> directories and the previous benefits of "PCBuild is the canonical
Hi
I often have the need for a generic object to use as the default value
for a function parameter, where 'None' is a valid value for the
parameter. For example:
_sentinel = object()
def first(iterable, default=_sentinel):
"""Return the first element of the iterable, otherwise th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On May 23, 2007, at 8:08 PM, Martin Blais wrote:
> I often have the need for a generic object to use as the default value
> for a function parameter, where 'None' is a valid value for the
> parameter.
I do the same thing for 'get' calls, where None i
On 5/23/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Trent Mick schrieb:
> > http://www.python.org/dev/buildbot/all/x86%20W2k%20trunk
> >
> > Is my buildbot the only reliable Windows buildbot machine?
>
> Tim Peter's machine comes and goes, depending on whether he starts
> the buildbot. Alan
Alan Kennedy wrote:
> I am writing to seek information about the socket.fileno() method, and
> opinions on how best to implement it on jython.
I would hope that the new i/o system will make it
unnecessary to use fileno() in portable code. It's
really a unix-specific thing.
> So the question I'm
On 5/23/07, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Alan Kennedy wrote:
> > I am writing to seek information about the socket.fileno() method, and
> > opinions on how best to implement it on jython.
>
> I would hope that the new i/o system will make it
> unnecessary to use fileno() in portable code
Georg Brandl wrote:
> Ahh, now the dime has fallen ;) (sorry, German phrase)
In English it's "the penny has dropped", so it's
not much different. :-)
Although I thought dimes were an American thing,
and Germans would be more likely to use a different
coin.
--
Greg Ewing, Computer Science Dept,
Talin wrote:
> As in the
> above example, the use of backticks can be signal to the document
> processor that the enclosed text should be examined for identifiers and
> other Python syntax.
Does this mean it's time for "pyST" -- Python-structured
text?-)
--
Greg Ewing, Computer Science Dept,
Martin Blais wrote:
> I don't know
> what lives in the iterable, so why should I make assumptions?
>
> I think Python needs a builtin for this very purpose. I propose
> 'nodef', a unique object whose sole purpose is to serve as a default
> value.
If the aforementioned iterable can yield *anythin
From: "Greg Ewing"
> If the aforementioned iterable can yield *anything*,
> then it might yield this 'nodef' value as well.
>
> For this reason, there *can't* exist any *standard*
> guaranteed-unambiguous sentinel value. Each use
> case needs its own, to ensure it's truly unambiguous
> in the con
Greg Ewing wrote:
> Talin wrote:
>> As in the above example, the use of backticks can be signal to the
>> document processor that the enclosed text should be examined for
>> identifiers and other Python syntax.
>
> Does this mean it's time for "pyST" -- Python-structured
> text?-)
I wasn't goin
44 matches
Mail list logo