u
elsewhere. For mod_wsgi, Graham Dumpleton offers exemplary thorough
documentation here:
http://code.google.com/p/modwsgi/
http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX
http://code.google.com/p/modwsgi/wiki/WhereToGetHelp
Good luck.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
on't understand is if the path is there, why doesn't it find
> the module?
Perhaps it is just a permissions problem since Apache is probably
running under a different user name. Check the owner/group and
permissions of the various module directories and files. Make sure the
directo
In article
<109c960c-656b-4ea7-b69f-100e30804...@m16g2000yqc.googlegroups.com>,
stopchuckingstuff wrote:
> On Jan 17, 5:52 pm, Ned Deily wrote:
> > In article
> > <94e8cfd8-d299-4c23-9e9e-d3f17d4c9...@e16g2000yqc.googlegroups.com>,
> > > What I don'
rgument string passed to it and that shell starts another process
(17574) to run 'ps'.
For a more detailed explanation of what's going on, see, for example:
http://tldp.org/HOWTO/Unix-and-Internet-Fundamentals-HOWTO/running-progra
ms.html
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
on (or add to shell profile)
export VERSIONER_PYTHON_PREFER_32_BIT=yes
/usr/bin/python
or you can use the defaults command to permanently prefer 32-bit. See
Apple's python man page for details.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
moving thread, replies
will often cross in the pipeline, adding another level of confusion
("Didn't they read first before posting??"). It's sort of amazing that
it all works as well as it does.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ython.org mailing list,
gmane.org, Google Groups, etc) and that those of us *not* reading
through Google Groups aren't seeing this spam.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
m with
your version of tar or ... ?
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
roup itself, the base python.org mailing list, gmane.org (NNTP
newsgroup from the mailing list, various web interfaces, RSS feed),
google groups, and others.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
permanent
device name for the serial converter using a udev rule. Then your code
won't need to be dependent on the /dev/ttyUSBx device name.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
any way I can get 2.6 to behave like 2.5?
Perhaps you don't want to be using the -i option?
"-i
When a script is passed as first argument or the -c option is used,
enter interactive mode after executing the script or the command ..."
http://docs.python.org/using/cmdline.html#gen
sudo port install py26-mysql
You might need to tweak the variants of some of the packages if you want
32-bit only, etc, depending on what version of OS X you're running on.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ink or something when discussing a
> relatively obscure module that seems not to even be listed in pypi.
http://docs.python.org/library/plistlib.html
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ts the
installation from creating the .pyc compiled byte-code files for the
python files in the standard library. Python 3.1.1 should run just
fine, albeit sometimes a bit slower, without them.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
shelve.
http://docs.python.org/library/shelve.html
"As a side-effect, an extension may be added to the filename ..."
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
filtering the spam.
http://dir.gmane.org/gmane.comp.python.general
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
by Scrapy...But
> doesn't say which version of OS X.. I am wondering if the version of
> libxml2 is also not compatible..
A similar question came up on Stack Overflow recently:
http://stackoverflow.com/questions/2353957/do-i-need-32bit-libxml2-for-py
thon-on-snow-leopard/
--
Ned Deil
'/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/PIL/_imaging.so'
# or something like that
Make sure the file is located within the expected PIL directory. Also
make sure there aren't any file permission problems on any of the PIL
directories an
don't know. I wasn't able to locate anything about it in a quick scan
> of the Python 3000 PEPs.
The exceptions module doesn't exist in Python 3 but the documentation
had not been cleaned up until recently:
http://bugs.python.org/issue7590
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
sessions
are normally automatically started with the COMMAND_MODE environment
variable set:
$ echo $COMMAND_MODE
unix2003
Adding an "env={"COMMAND_MODE": "unix2003"}" argument to your subprocess
Popen call should do the trick.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
is also works for me,
> and I think I'm more inclined to go this route unless you can think of
> a good reason not to do so.
That analysis seems correct. So it comes down to whether there are any
environment variable settings the user could make that would positively
or negatively affect the operation of your script.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
r issues.
> Should I open a new one?
There have been a lot of changes going into Python 3.2, currently in
alpha testing, in the areas of encodings and how they affect the
interfaces to/from the various platform operating systems Python 3 runs
on. It would be very useful if you could try the
a.org/wiki/Rich_Text_Format
There are some Python packages out there for dealing with rtf format
files. You might try rtf2xml to convert the file, preserving style
attributes: http://pypi.python.org/pypi/rtf2xml/
Or look at the Mac OS X command line utility textutil (man 1 textutil)
to
ply a version of the GNU
readline library, which is not supplied by Apple in OS X, during the
build. Python 2.7 and 3.2 are able to make use of the BSD editline
libedit which does comes with OS X.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ind("bind ^I rl_complete")
else:
readline.parse_and_bind("tab: complete")
http://docs.python.org/py3k/library/readline.html
Also, see: man 5 editrc
BTW, python.org 3.2a4 installers for OS X are now available so you might
not need to build your own:
http://www.python.org/download/releases/3.2/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
gument without an encoding
>
> You could trace through copy.py and copyreg.py to see where bytes and
> atom get treated differently.
>
> This might be a bug that should be reported on the tracker, but I do not
> know. Let see what anyone else says.
FWIW, the example still fails with Python 3.1.3 but seems to work OK
with a recent alpha build of Python 3.2. What specific change might
have fixed it doesn't come immediately to mind.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Ned Deily wrote:
> In article
> ,
> Vincent Davis wrote:
> > On Tue, Oct 19, 2010 at 3:55 PM, Philip Semanchuk
> > wrote:
> > > On Oct 19, 2010, at 5:38 PM, Hexamorph wrote:
> > >> On 19.10.2010 23:18, Vincent Davis wrote:
> > &
ir.gmane.org/gmane.comp.python.general
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
64-bit version. If so, until
the problem is resolved in the next maintenance release of Python 2.7, I
suggest you download and install the 32-bit-only version of Python 2.7.1
which does not have those problems.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
about which targets are installed (and some additional
versioning endcases are being addressed in the upcoming Python 3.2
release), all python3-related scripts and libraries are generally
installed with different names (i.e. by adding a "3" somewhere) than
their Python 2 counterparts.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
7;s
bin directory at the head of the $PATH env variable. Modifying a shell
profile is clearly not a particularly clean solution but it does
actually work whereas python_select, in general, does not.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article
,
Garland Fulton wrote:
> I don't understand what I'm doing wrong i've tried several different cases
> for what i am doing here. Will someone please point my error out.
> 15 print("counter: ", counter
Missing ")" on line
your additional Pythons via Fink or MacPorts.
Or the python.org installers for OS X:
http://www.python.org/download/releases/2.7.1/
http://www.python.org/download/releases/3.2/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ting at
line 487, in other words, always use gcc to make the framework library
and not libtool, and then rerun configure. I'll make sure the issue
gets resolved.
Another solution is to use the 3.2 32-bit installer for Mac OS X from
python.org:
http://www.python.org/download/releases/3.2/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
latter is included in the 10.6 Xcode
distribution as a separate package but is not installed by default; to
build a Python C extension module for that Python, you need to go back
to the Xcode installer for Snow Leopard (or download a new one from
Apple) and do a custom installation of that SDK.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
bit Mac Installer
for 2.7. The IDLE that it installs *should* work OK on 10.6.
http://python.org/download/releases/2.7/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
Double-clicking on the .py files themselves can be made
to work but it's a bit of a crap shoot which version of IDLE or other
app might actually be launched; it's best to avoid depending on that
mechanism.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
tension
that would easily work, if at all, with the most common ones. For
instance, the Apple-supplied Python 2.6 is built with gcc 4.2, uses the
10.6 ABI (SDK deployment target), and x86_64 / i386 / ppc architectures
(default 64-bit on capable machines). The python.org 2.6 uses gcc 4.0,
th
varieties: the second will be only for 10.6 or later
and will link with Tk 8.5. The next new release of Python 3 is likely
months away, though. In the meantime, a simpler solution might be to
download and install the ActiveState Python 3.1 for OS X which does use
Tk 8.5. And your test case works for me with it.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
does the right thing, the burden on end users isn't
particularly onerous (see, for example,
http://appscript.sourceforge.net/py-appscript/install.html).
Now, adding SWIG and C++ to the mix may result in a different answer. I
don't have any practical experience with them to have an opn
.2 (r312:79360M, Mar 24 2010, 01:33:18)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> None < -9.9
Traceback (most recent call last):
File "", line 1, in
TypeError: unorderable types: NoneType() < float()
>>>
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
#x27;/System/Library/Frameworks/Python.framework/Versions/2.6/Resources/English.lp
> roj'
> [...]
This was a bug that has been fixed in subsequent maintenance releases of
Python 2.6. See http://bugs.python.org/issue4937
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
I dont even know where that name '/favicon.ico' comes from. Any insight into
> this weird behavior would be greatly appreciated.
It's not the server's doing, it's the web browser requesting the
favicon. See http://en.wikipedia.org/wiki/Favicon
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
c 'print(repr(34.52))'
34.523
$ python2.7 -c 'print(repr(34.52))'
34.52
$ python3.1 -c 'print(repr(34.52))'
34.52
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
owing you the exact approximation. It doesn't get rid of rounding
> errors.
> >>> 34.52
> 34.52
> >>> >>> _ * 10**10
> 3452.6
Yes, as discussed earlier in this thread and I didn't mean to imply
otherwise. I should have worded
ntil a replacement installer is
made available, the simplest workaround is to just re-install 2.7 using
the 32-bit OS X installer "for OS X 10.3 and later" (available here
http://www.python.org/download/releases/2.7/).
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Ned Deily wrote:
> In python 3.x, of course, the encoding happens automatically but you
> still have to tell python, via the "encoding" argument to open, what the
> encoding of the file's content is (or accept python's default which may
> not be v
ell.
There are a number of ways to do that. The simplest might be to
download pre-built frameworks containing those libraries from here:
http://www.kyngchaos.com/software:frameworks
There are also build scripts there for building your own versions from
scratch.
--
Ned Deily
talling OS X. If
you have an unused external drive or partition, it might be easiest to
do a vanilla install of Leopard and all software updates, then, from the
terminal, do a ditto of that directory subtree back to your regular /.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
bookmark it for later use).
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
esn't it?
http://pypi.python.org/pypi/setuptools#id1
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ss.myfunc2 = myclass.myfunc
>>>
>>> for name in dir(myclass):
... obj = getattr(myclass, name)
... if obj == myclass.myfunc:
... print " %s is %s" % (name, obj)
...
myfunc is >
myfunc2 is >
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
te of the "Activity"
element. The documentation for the Element interface lists several ways
to access element attributes; in your example,
>>> elem = root[0][0]
>>> elem.get("Sport")
'Running'
>>> elem.attrib
{'Sport': 'R
In article
,
Prateek wrote:
> Can somebody please provide me link to a good online resource or e-
> book for doing natural language processing programming in Python.
Check out the Natural Language Toolkit:
http://www.nltk.org/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/m
he Apple-supplied python2.5 (linked to from /usr/bin/python)
in 10.5.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
cy syntax in the lambda does
> not work either. I want to avoid using a def if possible. Thanks.
The problem is that in Python 2 print is a statement, not a function.
That should work fine in Python 3 where print *is* a function. In 2.x,
you can wrap print in a function or use something like:
>>> import sys
>>> print1 = lambda: sys.stdout.write("Foobar\n")
>>> print1()
Foobar
or the pprint library module or various other solutions.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
gt;print( "Hello World" )
For the same reason you can do this:
>>> x = ( "Hello World" )
>>> type(x)
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
response to a
250-STARTTLS response to an EHLO).
To make this work, either the logging module or, perhaps better, the
smptlib module needs to be smarter about this case. I didn't see an
open issue on the Python bug tracker about this; you might want to open
one. In the meantime, som
In article
<87236fb1-c09f-46e8-8492-514ba000c...@24g2000yqm.googlegroups.com>,
Bev in TX wrote:
> On Aug 22, 7:07 pm, Ned Deily wrote:
> > [...] Or on OS X it's
> > not *too* difficult to set up a local host mailer using the
> > Apple-supplied prefix that would
t3.py
UTF-8
b'\xe2\x82\xac'
¤
$ export LANG=C
$ python3.1 t3.py
US-ASCII
b'\xe2\x82\xac'
Traceback (most recent call last):
File "t3.py", line 7, in
print(s)
UnicodeEncodeError: 'ascii' codec can't encode character '\u20ac' in
position 0: ordinal not in range(128)
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
y on stackoverflow (alas, will result in
urloverflow):
http://stackoverflow.com/questions/1352922/why-is-usr-bin-env-python-supp
osedly-more-correct-than-just-usr-bin-pyth/1352938#1352938
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
> >
> > >>> import nltk
> > >>> import re
> > >>> from nltk_lite.utilities import re_show
> >
> > Traceback (most recent call last):
> > File "", line 1, in
> > ImportError: No module named nltk_lite.utilities
G
ame
> CPU.
Be aware that the io module in Python 2.6 is written in Python and was
viewed as a prototype. In the current svn trunk, what will be Python
2.7 has a much faster C implementation of the io module backported from
Python 3.1.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article
,
Kristoffer Follesdal wrote:
> *Forgot to tell that I am using a Mac with Snow Leopard.
Which version of Python 3.1.2? From the python.org installer?
MacPorts? Built from source - if so, which version of Tk?
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mail
ile, to do that for you. Then you can use
that easy_install (also available as easy_install-2.7) to install
whatever packages you need for 2.7. Or you can use pip. Or just
manually installing using the package's setup.py script. All of them
use the Python instance's versio
In article
,
Nicholas Cole wrote:
> On Sun, Sep 5, 2010 at 10:20 AM, Ned Deily wrote:
> > I'm not sure why you think it is broken. The Apple 2.6 and the
> > python.org 2.7 have different site-package directories in different
> > locations. That is to be expected.
for bug fixes. (2.6 only for any
security issues that might arise.) It's easy enough to see this if you
take a glance at current activity on any of several Python development
related mailing lists:
http://www.python.org/community/lists/
--
Ned Deily,
n...@acm.org
--
http://mail.py
2.6/smtplib.py", line 46, in
> import email.utils
> File "/Users/Bob/Code/email.py", line 5, in
> from email.mime.text import MIMEText
> ImportError: No module named mime.text
Your module email.py is hiding the standard library's email package.
Rename your
; > text. That is the major issue for many porting projects.
>
> In other words, we're in the version suckage period.
It took me all of one minute to find where a similar issue was reported
previously (http://bugs.python.org/issue1349732). One of the comments
on the i
in list
If the problem is that the socket object in question no longer exists,
you can protect your code there by enclosing the remove operation in a
try block, like:
try:
self.__Sockets.remove(socket)
except ValueError:
pass
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
> You need to post your _exact_ code. I had to change:
> from queue import Queue
> into
> from Queue import Queue
> So: _do_ you have a "queue" (lowercase) module? Is it buggy?
The OP is probably using Python 3.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article <20100917052259.ga28...@cskk.homeip.net>,
Cameron Simpson wrote:
> On 16Sep2010 22:14, Ned Deily wrote:
> | In article <20100917043826.ga21...@cskk.homeip.net>,
> | Cameron Simpson wrote:
> |
> | > On 16Sep2010 09:55, mark.pellet...@asrcms.com
dule readline not available.")
else:
import rlcompleter
readline.parse_and_bind("tab: complete")
Note the print() form which works with either Python 2 or 3.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Lawrence D'Oliveiro wrote:
> In message , Ned Deily
> wrote:
> > try:
> > import readline
> > except ImportError:
> > print("Module readline not available.")
> > else:
> > import rlcom
desired TAB behavior, so something like
this:
$ cat > $HOME/.pystartup
import readline
if 'libedit' in readline.__doc__:
readline.parse_and_bind("bind ^I ed-insert")
^D
$ export PYTHONSTARTUP=$HOME/.pystartup
Thanks for reporting this!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
2.6.6
and 3.1.2 packages in Debian testing with current Python 2.7 and Python
3.2 alpha coming along in Debian experimental.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article , de...@web.de (Diez B. Roggisch)
wrote:
> Ned Deily writes:
> > In article <87zkvbytnk@web.de>, de...@web.de (Diez B. Roggisch)
> > wrote:
> >> The point is that the distro doesn't care about the python eco
> >> system. Which is what I
problem in this area is almost surely due to contamination of the build
environment by an environment variable setting or possibly something in
$HOME/.pydistutils.cfg or not starting with a clean If you still have
the build directory, examine the configured Makefile for suspicious
values, particularly DESTSHARED.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
p://bugs.python.org/).
It's not likely to progress without a supplied patch and even then maybe
not.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ion page and submit it to the Python bug tracker
(http://bugs.python.org/).
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
current SSL module "lets you talk
> encrypted to your attacker".
I'll just note in passing that Issue1589 is being discussed again. Feel
free to contribute.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ke it should be mentioned elsewhere, too, like in sys.exit()
itself. Doc patches would be welcomed, I'm sure.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
B adapter implementations are typically
wrappers around a lower-level client library for a particular DB
implementation and that most of those client APIs - written in C - will
likely require all of the items to be passed in one call. If so, the DB
adapter would need to immediately evaluate the iterable and produce a
list in memory anyway.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
/bin/gcc-4.0). For a framework
build, throw in --enable-framework.
Distutils should ensure that the right settings will get passed on to
any extension module builds.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
lly done
> this? Is there some trick to it that I've missed?
You'll also need to specify the appropriate SDK using Apple's gcc
-sysroot option.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
s also mirrored at gmane.org under the group name
gmane.comp.python.general. You can use gmane's Xapian-powered search
engine here: http://search.gmane.org/
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article <8hmpchfsh...@mid.individual.net>,
Gregory Ewing wrote:
> Ned Deily wrote:
> > You'll also need to specify the appropriate SDK using Apple's gcc
> > -sysroot option.
> Are you sure? I'm not asking for ppc + i386, I'm
> aski
missing-in-action in the initial 2.6 releases but subsequently fixed (as
of 2.6.5 or so).
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
In article <8hpgn7fho...@mid.individual.net>,
Gregory Ewing wrote:
> Ned Deily wrote:
> > Perhaps you're
> > calling ld(1) directly? To link multiple-arch executables (etc), the
> > Apple gcc driver does the dirty work of calling ld multiple times and
> &
hitecture mismatch or ABI mismatch. The "maci64" in
the path suggests to me that libeng.dylib might be a 64-bit-only library
while the framework path and the fact that the (presumably
MacPorts-derived) Python you are using was built with gcc 4.0.1 suggests
you are running on OS X 10
n OS X. For Python 3, substitute sys.maxsize.
> Yes that looks like the right way of doing it. Interesting though that
> platform.machine()=i386 and not something about 64.
> >>> print platform.machine()
> i386
> >>> print platform.architecture()
> ('64bit', '')
> >>> import sys; sys.maxint
> 9223372036854775807
Currently on OS X (10.6 and earlier), uname returns 'i386' for any Intel
platform, 32-bit only or 32-bit /64-bit capable.
$ uname -p
i386
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
some folk say you can set a breakpoint by right-clicking on
> the desired line in the source window to get a popup menu. This does
> not work for me on my MacBook (external 3-button USB mouse), it only
> adds a line-break into the source code. Any suggestions?
Right-click (control-click) menus currently don't work in IDLE on OS X.
I hope to get that fixed eventually.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
a set.
>>> type({'', 1})
>>> type({'': 1})
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
bout "spam" might consider 2 lines less of an evil than
5 lines.
But I'm not, so I won't.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
shed, but the necessary bits to build these modules
> were not found:
> _bsddb dl gdbm
> imageoplinuxaudiodev ossaudiodev
> spwd sunaudiodev
Yes, all of those are to be expected on an OS X 64-bit build.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
ng
> on this seemingly incorrect behavior.
I suggest you open an issue at http://bugs.python.org/.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
" errors. Those
aren't "compile" errors in the sense of C compiler errors; rather they
are from one of the final install steps that produces optimized .pyc and
.pyo versions of all of the standard library .py files. The ._ files
aren't python files but they do end in .p
place. They shouldn't be on the python.org tarball so it would
seem most likely they are due to some operation on the OS X machine that
causes extended attributes to be created. Nothing wrong with that, just
kind of interesting.
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
Python
Standard Library manual where built-in types and the methods supported
by them are documented. For bit string operations:
http://docs.python.org/library/stdtypes.html#bit-string-operations-on-int
eger-types
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for calling this problem to our attention!
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/listinfo/python-list
401 - 500 of 505 matches
Mail list logo