> How should this issue be worked around or dealt with? Should users on
> Mac OS X 10.5 change the default value of LC_CTYPE? To what?
It would be best if a Mac user could propose a patch for that problem
before the release of Python 3.0.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo
> So each test would check the amount of memory available, call the
> function N times and then check the amount of memory available
> afterwards. If the amount of memory before and after changes by a
> certain amount then the test is failed.
Please take a look at the muppy package:
http://pypi.p
> How do I get zlib available to python?
Edit Modules/Setup, and uncomment the zlib line. At your choice, also
uncomment the *shared* line (otherwise, zlib would become a builtin
module).
When you install shared libraries somewhere that also live in /usr/lib,
do use ldd to verify that it always p
> 1) mimic glibc default behavior, i.e. if flags is unspecified or
>None, treat it as the default value of AI_V4MAPPED |
>AI_ADDRCONFIG).
Unfortunately, that contradicts with RFC 3493, which says
# If hints is a null pointer, the behavior
# shall be as if it referred to a structure co
> The codec is doing its job, but I want to override the codepoint for this
> character (plus others) to use the html entity instead (from \227 to
> — in this case).
>
> I see hints writing your own codec and updating the decoding_map, but I
> could use some more detail.
>
> Is that the best
Colin J. Williams wrote:
> Is _checkversion.py used at all currently?
I don't think so.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> I suggest that consideration be given to dropping it and and
> versionchecker from the distribution. I see that it still appears in
> versions 2.6 and 3.0.
Please submit a bug report to bugs.python.org to this effect.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Chris Rebert <[EMAIL PROTECTED]> wrote:
>> the term
>> "comprehension" for the concept was first used in the NPL programming
>> language (Wikipedia again).
>
> Ah, thanks... and does "comprehension" have any special computer
> science meaning?
Paul already explained the
> I've got some python xmlrpc servers and clients.
> What's the best way to accelerate them?
You mean, fastest?
> xmlrpclib.py attempts to import these modules:
>
> import _xmlrpclib
> import sgmlop
> from xml.parsers import expat
>
> and falls back to defining the SlowParser class.
> Not sure if this would qualify as a patch, but a workaround that seems
> to be working for me is to change the bash environment's default
> locale setting -- to a value acceptable to py3.
>
> I did this by adding the following line to /etc/profile:
>
> export LC_ALL="en_US.UTF-8"
It's not a pa
> def comp(x1, x2):
>try:
>if x1return -1
>else:
>return 1
>except TypeError:
>if str(x1)return -1
>else:
>return 1
>
Please correct me if I'm wrong, but I think this is not transitive. If
strings and ints are
Hallvard B Furuseth wrote:
> Terry Reedy writes:
>> If you want to duplicate 2.x behavior, which does *not* work for all
>> types...
>>
>> def py2key(item): return (str(type(item)), item)
>
> Nope.
> sorted((-1, 2, True, False)) == [-1, False, True, 2]
> sorted((-1, 2, True, False)
> Even in 2.x it doesn't work (I think I posted this earlier but I'm not
> sure anymore) as this example shows:
>
> 2 < 3j and 3j < True, but True < 2
What specific value of x have you been trying? For x=4,5,6, I get
py> 2 < 3j and 3j < True
Traceback (most recent call last):
File "", line
> Heh. Well it would, except the administrator user doesn't have a
> password (purely a VM) and this is unacceptable for runas. :-)
There is, unfortunately, no other way to install Python 2.6 on Vista.
So your choices are really:
1. activate the Administrator account
2. disable UAC
3. go back to X
> In any case, would it be possible to add a cmp= function which did more
> or less what the current default cmp does now?
As somebody pointed out, it's possible to create a key= function that
provides arbitrary ordering: just return an object custom type whose
__lt__ never fails:
class AlwaysOrd
> Hmmm, I seem to have engaged in a bit of topic drift, for which I
> apologize. I was commenting specifically on the issue of lists holding
> heterogeneous types, not on heterogeneous types being sortable.
Still, I don't think this is a valid counter-example: I claim that the
data in the list
> It installs fine for 'just me', so no problem.
It installs for 'just me', but it doesn't work. Just try starting
IDLE, or import the socket module.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Roy Smith wrote:
> Your
> choice of containers is not based on any theoretical arguments of what each
> type was intended to represent, but the cold hard reality of what
> operations they support.
Right. What seems missing is a "frozen list" type - the list needs to be
frozen in order to be use
>> Yes, key= lets you sort anything anyway you want.
>> >>> l=[1, '2', 3j]
>> >>> sorted(l, key = str)
>> [1, '2', 3j]
>
> The problem here is that str() is degenerate, i.e. a != b does not imply
> str(a) != str(b).
So why is this a problem? The sort algorithm is stable, so it gives a
determin
> Sure:
>
> if len(L1) == len(L2):
> return sorted(L1) == sorted(L2) # check whether two lists contain
> the same elements
> else:
> return False
>
> It doesn't really matter here what the result of the sorts actually is
> as long as the algorithm leads to the same result for all permuta
> I would like to apply fixes for some CVE's which are addressed in 2.5 but not
> yet in 2.4. this would include
>
> CVE-2007-4965
> CVE-2008-1679
> CVE-2008-1721
> CVE-2008-2315
> CVE-2008-3144
> CVE-2008-1887
> CVE-2008-4864
Can you identify the revisions that would need backporting?
I could o
> Sqlite3 is an optional part of Python. It has no dependencies on SQLite.
That's not true. To build the _sqlite3 module, you need the SQLite3
sources or binaries, in addition to the Python sources.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> The sorting is in a performance-critical part of the system, so the
> overhead of evaluating a key function is not insignificant.
Can you easily produce an example? It doesn't have to be real data,
but should have the structure (typewise) of the real data. I would
like to perform some measuremen
> That's not what I meant: the question is, do you need SQLite /after/
> you've built from source or if you install the Python binary.
Depends on how you built SQLite on your system. If it was a static
library, you won't need it - if it is a shared library, you certainly
need the shared library a
>> In principle, this is fine with me, so go ahead.
>
> Done.
Thanks for looking into these!
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> If you think making a distinction between the SQLite package and the
> libsqlite package is pedantic - I don't have a problem with that.
I think that is not only pedantic - it is also inaccurate. There is
no SQLite package, nor is there a libsqlite package, in the bigger+
world. From
http://
> print output.decode('utf-8')
> File "C:\Python25\lib\encodings\utf_8.py", line 16, in decode
> return codecs.utf_8_decode(input, errors, True)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe2' in
> position 47:
> ordinal not in range(128)
Notice that it complains abou
> I'm trying to build a regex in python to identify punctuation
> characters in all the languages. Some regex implementations support an
> extended syntax \p{P} that does just that. As far as I know, python re
> doesn't. Any idea of a possible alternative?
You should use character classes. You can
Gilles Ganault wrote:
> On Fri, 14 Nov 2008 11:01:27 +0100, "Martin v. Löwis"
> <[EMAIL PROTECTED]> wrote:
>> Add
>>print type(output)
>> here. If it says "unicode", reconsider the next line
>>
>>>
> Has anyone an idea?
You should not install "for all users" before copying it,
but "just for me".
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> - msvcr 9 is not publicly available on most computers (by publicly, I
> mean system-wide), but python 2.6 installs its own version in the Side
> by Side assembly folder.
Almost. If you chose "just for me", then it doesn't put the CRT into
SxS, but just places msvcr9.dll next to python26.dll (pl
>> I have Apache with mod_python installed as well. When Apache tries to
>> run a Python script, I think it's using the "wrong" python, and that's
>> because the /usr/local/bin path is before the /usr/bin path in the
>> $PATH variable.
>
> Unless you compiled the module yourself, I doubt that. Ubu
> Then why is there a link on the download site?
Where specifically did you spot that link? I can't see any.
> You are saying that
> for python 2.6 forward, there is no plan to support a stock python for
> IA64? Is there any particular reason why this is so?
Yes. It's too much effort to build,
> Copied from the download page:
It would have helped if you had provided the URL instead. I didn't
recognize that you were talking about
http://www.python.org/download/
as I rarely ever view this page. On
http://www.python.org/download/releases/2.6/
no such link is included.
I have now dele
> I need to compile that module for that release and platform, but I
> have been unable to discover which MS compiler version and runtime was
> used to generate the binaries. My understanding is that Python 2.5.2
> in general uses Visual Studio 2003, but MS does not appear to have
> shipped an I
> I guess that I don't understand why you feel there is so much effort
> involved. I developed a set of makefiles that build Python and all
> dependencies from the command line using nmake. The only thing you
> have to do is specify debug and cpu. The rest is taken care of by the
> Makefiles. O
> In any case, my concern with dropping a stock python itanium distro
> involves the vastly diminished probability that others will provide
> Itanium versions of, for example py2exe and pywin32.
Well, I had been providing Itanium binaries for 2.4 and 2.5, and neither
py2exe nor pywin32 ever emerge
>> Depends on how you write your code. If you use the bytearray type
>> (which John didn't, despite his apparent believe that he did),
>> then no conversion additional conversion is needed.
>
> According to PEP 3137, there should be no distinction between
> the two for read purposes. In 2.6,
> It's easy - the registry isn't used except to associate files. The
> associations are made with the most-recently-installed version.
>
> I currently have 2.4, 2.5, 2.6 and 3.0 on my Windows machine.
In addition, at install time, there is the choice of not creating
associations (i.e. links what
>> On a 32-bit system, the dictionary can have up to 2**31 slots,
>> meaning that the maximum number of keys is slightly smaller
>> (about 2**30).
>
> Which, in practice, means that the size is limited by the available memory.
Right. Each slot takes 12 bytes, so the storage for the slots alone
wo
> Neither of these values looks like 0x0001. Am I missing
> something or is the documentation just wrong? If so, how am I supposed
> to get a binary representation of an IPv6 address in the absence of
> socket.inet_pton? Should I write my I own version?
I do wonder why you need a binar
>> I do wonder why you need a binary representation of an IPv6 address...
> I'd like to subscribe to an IPv6 multicast address via
> socket.setsockopt(IPPROTO_IPV6, IPV6_JOIN_GROUP, binary_address).
I see.
>> Yes, writing your own routine is certainly an option.
> Is it the preferred one?
Prefer
lt?)
or
b) Why was the interpreter written to behave this way?
(i.e. what is the rationale for that algorithm?)
For a), the answer is in Object/codeobject.c:
/* Intern selected string constants */
for (i = PyTuple_Size(consts); --i >= 0; ) {
PyObject *v = PyT
> Regarding minidom, you might be happier with the xml.etree package that
> comes with Python2.5 and later (it's also avalable for older versions).
> It's a lot easier to use, more memory friendly and also much faster.
OTOH, choice of XML library is completely irrelevant for the issue at
hand. If
> For the described problem, maybe. But certainly not for the application.
> The background was parsing the XML dump of an entire web site, which I
> would expect to be larger than what minidom is designed to handle
> gracefully. Switching to cElementTree before major code gets written is
> almost
> In addition, the CVS version of pywin32 which I built in
> order to run the msi.py script has a small bug in genpy
> which prevents it from generating COM support in the way
> in which msi.py does it.
I'm using Python 2.4 to run msi.py; that has always worked
fine for me.
Regards,
Martin
P.S.
> Do you mean 3.1a0? As far as I know, 2.7a0 requires the use
> of the time machine, as it is expected to be 3 months out.
The current trunk calls itself 2.7a0. I think you might be referring
to 3.0a1.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> What does the merge do? I can't find mention of it
> in the docs.
It merges the msvcrt merge module into the installer (and then
monkey patches it, to revert the msm decision of setting
ALLUSERS). I tried to integrate it originally as a step
after creating the msi. Unfortunately, the merge objec
> merge.py attempts to import config.py but I can't find it...
Just create an empty one.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> First, it relies on config.py whose existence msi.py
> optionally ignores.
Feel free to create a patch for that.
> File "", line 2, in OpenDatabase
> pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None,
> None, None, 0, -2147024786), None)
This is 0x8007006e; 0x6E, in turn, mi
>> Just create an empty one.
>
> Won't quite work: merge tries to find full_current_version
> which is determined (if None) in msi.py from the rather
> involved current version stuff.
Only if you don't pass an msi file on the command line. So
I recommend that you do that.
> I'm going to give up
Graham Dumpleton wrote:
> I'd rather not have to download and install them as I don't want to be
> installing them into my actual system, so can someone please tell me
> whether the MacOS X dmg installers provided from www.python.org are
> still not full universal builds. That is, that the Python f
> Does this technical problem go beyond the lack of 64 bit safe tcl/tk,
> which is what I understood used to be part of the problem?
Yes, it does. See the python-dev archives for details.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> I attach the merge.log output but I'll try to do some
> research to understand what's going on here in any case.
> In particular it's not clear to me whether the thing
> has worked but has just tripped up over some non-essential
> part, or whether these are real errors. (I really need
> to set up
> BTW what are your feelings on a patch to msi.py to change the
> names of the directories it's looking for to pick up the Tk
> licenses? It's a bit of a grey area since the only "canonical"
> reference I can find is the externals checkout from within
> tools\buildbot: you might as well argue that
> Any Suggestions?
Read all of the responses you got the last time you posted the
very same article.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> it raises an interesting question about why doesn't it. I can think
> of practical answers to that, obviously, but in principle, if a
> function compiles to exactly the same byte code, you obviously do not
> need two copies of it, and like strings shouldn't an identical
> function have the same
> I am a bit lost with all the possible builds of python on Windoze. I
> am looking for a Visual Studio 2005 build of Python 2.4, 2.5 or 2.6
> incl. debug build of the python24.lib e.g. python24_d.lib ?
What's the problem with creating one yourself?
Regards,
Martin
--
http://mail.python.org/mailm
>>> The Python home page no longer sports a promotion from NASA. What
>>> happened, did we lose NASA. Where did they go?
>> The python.org guys just decided it would be nice to have some
>> different graphics.
>
> If they were so keen on new graphics, why did 2.6 revert
> to the same icons that 2.
rogerdpack wrote:
> It appears from sites like
> http://www.develer.com/oss/GccWinBinaries
> at the bottom that at least this developer made an effort to link
> against the same version of msvcrt.dll that the python exe was
> compiled with [ex: vc2008 -> msvcr90.dll]. Is this pain necessary?
It d
> I would have thought someone would have noticed by now. Am I
> the only person who uses Windows?
No, but perhaps the only person who still uses 2.6.0.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> It seems like id(list[]) == id(). However, I
> can't find anything in the python documentation that talks about it.
It's deliberately undocumented (outside of the source code, that is).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
(o,sentinel) builtin does the
> comparison itself, instead of being defined as iter(callable,callable)
> where the second argument implements the termination test and returns a
> boolean. This would seem to add much more generality... is
> it worthy of a PEP?
Just before you start writing a
>>> Is there a way to turn off (either globally or explicitly per
>>> instance) the automatic interning optimization that happens for small
>>> integers and strings (and perhaps other types) ? I tried several
>>> workarounds but nothing worked:
>> No. It's an implementation detail.
>>
>> What use
> Could someone help me in understanding what 64-bit python means?
While Chris' answer is correct, it doesn't show the consequences
of using a 64-bit Python. Primarily, these are:
- strings, Unicode objects, lists, dicts, and tuples can have more than
2**31 elements.
- you can load 64-bit DLLs i
of course gives
> Index error: list index out of range
>
> How can I generalize the print call in the myprintf() function to do this?
>
> print arg[0] % (arg[1])
> print arg[0] % (arg[1], arg[2])
> print arg[0] % (arg[1], ..., arg[n])
It's quite simple:
def print
> Any idea on why this is happening?
Can you provide a complete example? Your code looks correct, and should
just work.
How do you know the result contains only 't' (i.e. how do you know it
does not contain 'e', 's', 't')?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> I saw in a different post that psycopg2 does work on Python 3.x as
> long as a patch is applied (by Martin v. Löwis):
>
[...]
> Do you know where can I find this patch
It's linked in
http://wiki.python.org/moin/Early2to3Migrations
and lives in
http://www.dcl.hpi.uni-potsd
> The actual backend of CPython requires garbage-collected container
> types to implement tp_inquiry and tp_clear methods, but user-defined
> types apparently aren't required to conform.
tp_inquiry doesn't exist, you probably mean tp_traverse. tp_traverse
is completely irrelevant for python-define
m is c.myMethod
> False <--- What? Why is that?
I think nobody has said this plainly yet (although Terry
points it out also): You cannot rely that
foo.bar is foo.bar
for any object foo and any attribute bar. In some cases,
that relation may hold, in other cases, it may not.
It depends on
> /data/home/nwagner/local/lib/python2.5/pyport.h:734:2: #error
> "LONG_BIT definition appears wrong for platform (bad gcc/glibc
> config?)."
>
>
> Can anyone offer any advice as to what I might be missing or
> misunderstanding?
You need to understand where the error comes from:
1. what is the
Rob Clewley wrote:
> I got my colleague (Nils) to run exactly the gcc call you described in
> your post (see below for what he ran) but it only returns the
> following:
Sehr seltsam. Welche gcc-Version ist das denn? (gcc -v)
> /home/nwagner/svn/PyDSTool/PyDSTool/tests/d
> So, both Py_UNICODE and wchar_t are 4 bytes and since it contains 3
> \0s after a char, printf or wprintf is only printing one letter.
No. printf indeed will see a terminating character. However, wprintf
should correctly know that a wchar_t has four bytes per character,
and print it correctly. M
> So, for example, if I upgrade to libpython2.6.so.1.1
How do you do that? There won't ever be such a library. They
will always be called libpython2.6.so.1.0.
So no, no minor revision gets encoded into the SONAME.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
I propose the following PEP for inclusion to Python 3.1.
Please comment.
Regards,
Martin
Abstract
Namespace packages are a mechanism for splitting a single Python
package across multiple directories on disk. In current Python
versions, an algorithm to compute the packages __path__ must
>> So no, no minor revision gets encoded into the SONAME.
>
> Then what's the significance of the .1.0 at the end of the SONAME? Is
> it just nipples for men? (I hope no one objects to my extending the
> Monty Python theme to Time Bandits).
Some systems require that shared libraries have a vers
So what were these "strong antipathies" towards Git, exactly?
>>> i haven't read the article you link to, but compared to what i've read
>>> on
>>> dev "strong antipathies" sounds a bit over-hyped.
>> That was the phrase used by GvR.
>
> well if you find any, please do report back.
I don't l
> Perhaps we could add something like a sys.namespace_packages that would
> be updated by this mechanism? Then, pkg_resources could check both that
> and its internal registry to be both backward and forward compatible.
I could see no problem with that, so I have added this to the PEP.
Thanks fo
Chris Withers wrote:
> Martin v. Löwis wrote:
>> I propose the following PEP for inclusion to Python 3.1.
>> Please comment.
>
> Would this support the following case:
>
> I have a package called mortar, which defines useful stuff:
>
> from mortar impor
> I'd like to extend the proposal to Python 2.7 and later.
I don't object, but I also don't want to propose this, so
I added it to the discussion.
My (and perhaps other people's) concern is that 2.7 might
well be the last release of the 2.x series. If so, adding
this feature to it would make 2.7
> Note that there is no such thing as a "defining namespace package" --
> namespace package contents are symmetrical peers.
With the PEP, a "defining package" becomes possible - at most one
portion can define an __init__.py.
I know that the current mechanisms don't support it, and it might
not be
> -0
>
> My main concern is that we'll start seeing all kinds of packages with
> names like:
>
> com.dusinc.sarray.ptookkit.v_1_34_beta.btree.BTree
>
> The current lack of global package namespace effectively prevents
> bureaucratic package naming, which in my mind makes it worth the
> cost. Ho
Neal Becker wrote:
> While solving this problem, is it possible also to address an issue that
> shows up in certain distributions? I'm specifically talking about the fact
> that on Redhat/Fedora, we have on x86_64 both /usr/lib/pythonxx/ and
> /usr/lib64/pythonxx. The former is supposed to be
>> I don't like git because it is too difficult for me. In many cases,
>> git would refuse to do operations like updating or local committing,
>> producing error messages I was not able to understand ...
>
> Post an example of what you were trying to do, with the exact messages, and
> we can walk
>> I don't like git because it is too difficult for me. In many cases,
>> git would refuse to do operations like updating or local committing,
>> producing error messages I was not able to understand ...
>
> Post an example of what you were trying to do, with the exact messages, and
> we can walk
Brandon Craig Rhodes wrote:
> When I visit ...
>
>http://www.python.org/doc/lib/lib.html
>
> ... I get redirected to ...
>
>http://www.python.org/doc/2.5.2/lib/lib.html
>
> ... which seems a bit old.
That is intentional. Use
http://docs.python.org/library/
instead.
Regards,
Martin
-
> -If I have the source to a single function definition and I pass it to
> ast.parse, I get back an ast.Module. Why not an ast.FunctionDef?
Because it is easier for processing if you always get the same type of
result. Typically, you don't know what's in the source code, so you
need to parse, then
> I see how it avoids needing to look at the parent node in general, but
> if we were compiling by recursively descending through the AST, then
> we would know whether Name's would be loads or stores by the time we
> got to them (we would already had to have visited an encompassing
> assignment or
> PyObject* key = PyList_GetItem(moduleKeys,idx);
> PyObject* module = PyDict_GetItem( interp->modules, key );
> char* theKeyName =
> PySys_WriteStdout("Module '%s'\n", theKeyName);
> }
> I was not able to obtain theKeyName, knowing that the "key" PyObject
> is
> The issue is that all PyUnicode* functions are returning PyObjects.
> PyString_AsString return value was char*. Is there any real equivalent
> of this function?
Ah, right. PyString_AsUTF8String returns a bytes object, to which you
need to apply PyBytes_AsString to. At the end, you need to decref
> I'm not 100% sure what you're trying to do, but the above is horribly
> non-portable. You probably want to be looking at socket.getpeername() and
> socket.getsockname().
This only works if you are actually connected. I think he wants to find
out the local address without actually connecting.
> which works great. But i am not enough into python to port that to
> ipv6. It has to work under linux only. Any help is appreciated.
Not sure how universal this is, but I would read /proc/net/if_inet6.
At least, that's what ifconfig does, and it seems to work fine.
mar...@mira:~$ cat /proc/net/
> I assumed there were some decisions behind this, rather than it's just
> not implemented yet.
I believe this assumption is wrong - it's really that no code has been
contributed to do that.
For gdbm, you can also use the firstkey/nextkey methods.
Regards,
Martin
--
http://mail.python.org/mailma
>>> I assumed there were some decisions behind this, rather than it's just
>>> not implemented yet.
>> I believe this assumption is wrong - it's really that no code has been
>> contributed to do that.
>
> But doesn't the issue at http://bugs.python.org/issue662923 imply that
> there *was* suitable
> Does the ZipFile class correctly handles directories contained within
> zip files?
That depends on the version of Python you are using. See
http://bugs.python.org/4710
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
http://mail.python.org/mailman/listinfo/python-list
>
--
Wbr, Andrii V. Mishkovskyi.
He's got a heart of a little child, and he keeps it in a jar on his desk.
--
http://mail.python.org/mailman/listinfo/python-list
Kai Timmer wrote:
> I am trying to send and receive packages via an ipv6 multicast. But I
> can't get it working. What I thought was, that on the listener site, I
> just need to bind my socket to the interfaces ipv6 local link address
> and on the sender site, to the multicast address (in my case f
> I get the following error: "socket.error: [Errno 22] Invalid
> argument". So it complains about the multicast address.
The fragment
py> import socket
py> s = socket.inet_pton(socket.AF_INET6, "ff02::1")
py> sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
py> sock.bind(('', 9090))
py> s
> 1) Rake - is there an equivalent of Rake? I've seen a bit about SCons,
> and it looks really nice, but it seems geared towards being a Make
> replacement for C/C++ rather than something that's used to work with
> Python itself. Is there anything like a Python build tool?
Depends on what you want
> Thanks, Kay. Of course, the workaround would be better known if the
> setuptools web page had those instructions instead of "install using
> the [non-existent] .exe file." :-)
The instructions were written before Python 2.6 was released. They
haven't be updated since.
Regards,
Martin
--
http:
1801 - 1900 of 2484 matches
Mail list logo