Re: idle glitch while building python 3.4 from sources

2014-05-07 Thread Ned Deily
In article <536a8c95.6050...@gmail.com>, Mark H Harris wrote: > On 5/7/14 1:19 PM, Ned Deily wrote: > > If the Python build (the "make sharedmods" build step) can't > > successfully build the _tkinter extension module (because, for example, > > it could

Re: utcoffset v. _utcoffset

2013-08-21 Thread Ned Deily
sent? I believe the problem is that you are using them incorrectly. IAMNADatetimeExpert, but I think you are trying to normalize a non-tz-aware datetime object returned from dateutil.parser.parse. -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: PEPs should be included with the documentation download

2013-08-23 Thread Ned Deily
> infrastructure in most countries makes it preferable – at least some of > the time, for some significant, even if small, number of users – to read > the documentation on local storage instead of on the internet. In any case if you want to see this happen, someone needs to open an issue

Re: What version of glibc is Python using?

2013-10-12 Thread Ned Deily
In article , John Nagle wrote: [...] > Why is the info from "plaform.libc_ver()" so bogus? The code is here: http://hg.python.org/cpython/file/2.7/Lib/platform.py#l141 Perhaps you could open an issue on the Python bug tracker. -- Ned Deily, n...@acm.org -- https://ma

Re: ANN: matplotlib 1.3.1

2013-10-18 Thread Ned Deily
tcl.h from > Tcl 8.5 This is a bit of a long shot since I have no personal experience with building matplotlib but it may be an SDK symlink issue. IIRC, Xcode 3.2.6, the last Xcode 3 release, creates a faulty directory / symlink structure within the 10.6 SDK. What you need to have is

Re: Screenshots in Mac OS X

2013-10-19 Thread Ned Deily
d store the name as the webpage's link. I'm not sure how much what you want to do differs from what OS X already provides out of the box but perhaps this reference can give you some ideas: http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Error Testing

2013-10-19 Thread Ned Deily
In article , Chris Angelico wrote: > Pascal tried to create a new operator, := to be read "becomes", to > deal with the whole equality-vs-assignment issue. Um, Pascal was just following the lead of ALGOL 60, roughly a decade earlier. -- Ned Deily, n...@acm.org -- https:/

Python interactive segfaults on OS X 10.9 Mavericks

2013-10-25 Thread Ned Deily
e so far. Please open issues on the Python bug tracker for any new problems you encounter (after doing a quick search to see if it has already been reported!). -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python interactive segfaults on OS X 10.9 Mavericks

2013-10-28 Thread Ned Deily
In article , Ned Deily wrote: > SInce OS X 10.9 Mavericks is now out, people are running into a severe > problem > when using some Python interpreters interactively. The symptom is that the > interpreter in interactive mode crashes after typing two lines: [...] > The fix for

Re: How do I update a virtualenv?

2013-10-28 Thread Ned Deily
In article , Skip Montanaro wrote: > I have a virtualenv I'm using for some Django development. Today I > switched from MacPorts to HomeBrew on my Mac. Any particular reason for doing that? That seems like a step backwards, especially for Python-related work. -- Ned Deily, n

Re: Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Ned Deily
s.python.org -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.3.2 Shell Message

2013-11-07 Thread Ned Deily
taller for OS X and install it on your machine. Restart IDLE and the message should no longer appear and your experience with IDLE should be much better. http://www.activestate.com/activetcl/downloads -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: What to make of 'make test' for python3 install from source (beaglebone angstrom install).

2013-11-07 Thread Ned Deily
the normal results in your environment, and then use the tests to find regressions as you make changes or pull in upstream updates. You can also get more information about regrtest options: ./python -m test -h (Note, for Python 2.7, replace "test" by "test.regrtest"). -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: To whoever hacked into my Database

2013-11-08 Thread Ned Deily
lly discussion remains civil. In case of an actual flamebait posting, you can ignore it, quietly plonk the offending poster in your killfile or mail filters, or write a sharp but still-polite response, but at all costs resist the urge to flame back." http://www.python.org/community/lists/

Re: Python 2 to 3 conversion - embrace the pain

2015-03-13 Thread Ned Deily
In article , John Nagle wrote: >All the bugs I'm discussing reflect forced package > changes or upgrades. None were voluntary on my part. You would have run into the SSL certificate issue if you upgraded your Python 2 instance to the current Python 2.7.9. -- Ned Deily, n

Re: Python 2 to 3 conversion - embrace the pain

2015-03-18 Thread Ned Deily
ibe a good chunk of the pain you've experienced to the more common pain of upgrading any major software system that depends on multiple third-party components. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: sys.exec_prefix doesn't seem to reflect --exec-prefix path

2015-03-26 Thread Ned Deily
And --exec-prefix isn't needed in this case as it defaults to the value of --prefix. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Gpg python installer

2015-04-02 Thread Ned Deily
atically verified by the Windows installer program. (Likewise, for the Mac OS X installer files.) Hope this helps! -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: installing matplotlib

2015-04-13 Thread Ned Deily
n _cmp > if self.version < other.version: > TypeError: unorderable types: str() < int() > > any idea? If you are running on OS X 10.10 (Yosemite), try upgrading to a current Python 3.4.x. 3.3.x is no longer supported and was released long before Yosemite was. http://

Re: Installing Python

2015-04-15 Thread Ned Deily
lowing: 1. Uninstall the 2.6 version of aws: sudo pip uninstall aws 2. Install aws with the 2.7 version of pip: python2.7 -m pip install aws In the future, whenever something suggests using "pip" or "sudo pip", just use "python2.7 -m pip" instead to be (more

Re: need help with an accessibility prototype

2015-05-22 Thread Ned Deily
nter documentation, more up-to-date material is available at Mark Roseman's TkDocs website and in his e-book "Modern Tkinter". http://www.tkdocs.com -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: need help with an accessibility prototype

2015-05-23 Thread Ned Deily
In article <201505230925.t4n9pnz8028...@fido.openend.se>, Laura Creighton wrote: > In a message of Fri, 22 May 2015 23:31:19 -0700, Ned Deily writes: > >Tcl/Tk 8.4 is quite old and no longer maintained; 8.6.x is current, > >although 8.5.x is also still in use. > &g

Re: Fixing Python install on the Mac after running 'CleanMyMac'

2015-05-28 Thread Ned Deily
ch as provided by the python.org OS X installers, but without knowing more information, like what particular version of Python is needed, it would only be speculation. Perhaps the best thing to do is to suggest the OP to participate directly here or an Apple users' forum like http://appl

Re: Fixing Python install on the Mac after running 'CleanMyMac'

2015-05-29 Thread Ned Deily
from the recovery partition and use the Migration Assistant to restore user files and settings from the backup. But that's a very long and somewhat risky process so should only be done as a last resort. https://support.apple.com/en-us/HT201314 -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to find python34.lib from within Python?

2015-05-29 Thread Ned Deily
ovide all the necessary flags.) -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Fixing Python install on the Mac after running 'CleanMyMac'

2015-05-29 Thread Ned Deily
In article , Skip Montanaro wrote: > On Fri, May 29, 2015 at 11:11 AM, Ned Deily wrote: > > > Well, she could just download a current Python 2.7.x for OS X from > > python.org, install it, and see if that solves the problem. That would > > be likely the easiest thi

Re: Fixing Python install on the Mac after running 'CleanMyMac'

2015-05-29 Thread Ned Deily
s more than one version of Python frameworks with OS X. There are actually three versions of the system Python frameworks there: you should see that "Current" is actually a symbolic link to "2.7". All of those versions are shipped as part of OS X 10.7. -- Ned Deily, n...@

Re: Detect if specific Python.app instance is already running

2015-06-07 Thread Ned Deily
https://developer.apple.com/library/mac/documentation/General/Reference/I nfoPlistKeyReference/Articles/LaunchServicesKeys.html -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: XCode and Python

2015-06-12 Thread Ned Deily
> Anyone? > Or I need to configure something in Xcode? Wild guess: did you by any chance delete the Apple-supplied system python? What is the result of: $ /usr/bin/python -c 'import sys;print(sys.version)' -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Detect if specific Python.app instance is already running

2015-06-12 Thread Ned Deily
In article <6651a781-abe1-4f25-b1f3-1f849776d...@googlegroups.com>, Andrei wrote: > On Monday, June 8, 2015 at 1:08:07 AM UTC+2, Ned Deily wrote: > > In article <11e093d5-b78e-4ac6-9a7f-649cb2c2c...@googlegroups.com>, > > Andrei wrote: > > > Alright, I have

Re: (unknown)

2015-06-20 Thread Ned Deily
standard Python distribution. Scott, James: The best place to have a discussion about adding new features to Python is on the python-ideas mailing list: https://mail.python.org/mailman/listinfo/python-ideas -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug in floating point multiplication

2015-07-02 Thread Ned Deily
> (homebrew). I don't have any 32 bit Python implementations on the mac. Sure you do! $ /usr/bin/python2.7 -c 'import sys;print(sys.maxsize)' 9223372036854775807 $ arch -i386 /usr/bin/python2.7 -c 'import sys;print(sys.maxsize)' 2147483647 -- Ned Deily, n...@acm.

Re: beginners choice: wx or tk?

2015-07-11 Thread Ned Deily
>work to get recent Tcl/Tk (i.e. 8.6) running on OSX. The most recent > >ActiveTcl release is 8.6.4.1. I'm using exclusively Tk 8.6 on the Mac > >without problems. > Unless I was misinformed 2 weeks or so ago when I asked, that is the > problem. Tcl/Tk 8.6 works (and is shipped

Re: beginners choice: wx or tk?

2015-07-11 Thread Ned Deily
In article , Kevin Walzer wrote: > On 7/11/15 10:48 AM, Laura Creighton wrote: > > Unless I was misinformed 2 weeks or so ago when I asked, that is the > > problem. Tcl/Tk 8.6 works (and is shipped with) OSX, but tkinter > > and idle don't work with it. We wi

Re: Fixing Python install on the Mac after running 'CleanMyMac' (fwd)

2015-09-26 Thread Ned Deily
> > Any idea what that means for my system? Since the original reply, Apple has updated the version of the OS X 10.10.x system Python 2.7 to 2.7.10. So that looks good. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: any wheel experts

2014-06-05 Thread Ned Deily
Else you'll probably get more info here: > https://groups.google.com/forum/?pli=1#!forum/python-virtualenv Actually, the Distutils-SIG would be a better place to ask about packaging issues, including wheels: https://mail.python.org/mailman/listinfo/distutils-sig -- Ned Deily, n..

Re: Unicode and Python - how often do you index strings?

2014-06-05 Thread Ned Deily
to deal with encodings. BTW, don't upgrade to OS X 10.9 Mavericks if you're dependent on MT-NW; it finally stops working there because what was left of Open Transport support in OS X has finally been ripped out of 10.9. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Unicode and Python - how often do you index strings?

2014-06-05 Thread Ned Deily
In article , Roy Smith wrote: > In article , > Ned Deily wrote: > > Roy is using MT-NewsWatcher as a client. > Yes. Except for the fact that it hasn't kept up with unicode, I find > the U/I pretty much perfect. I imagine at some point I'll be force to >

Re: Regarding Python official website

2014-06-06 Thread Ned Deily
ps://mail.python.org/mailman/listinfo/pydotorg-www -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.4.1 install failure on Yosimite

2014-06-20 Thread Ned Deily
ess name: the crash is in the Apple-supplied Installer.app, not Python. You should report the issue to Apple. Also, note that Yosemite is under non-disclosure at the moment. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: python 3.44 float addition bug?

2014-06-21 Thread Ned Deily
o repr() for floats. It's important to keep in mind that the actual binary values stored in float objects are the same across all of these releases; only the representation of them as decimal characters varies. https://docs.python.org/2.7/whatsnew/2.7.html#other-language-changes http://bugs

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-06-24 Thread Ned Deily
e package that would allow the default python.org 8.5-linked _tkinter to be overridden with an 8.6 version. There may be some news on that front in the near future. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-06-24 Thread Ned Deily
g? P.S. Yes, in general, issues with the python.org binary installers for Windows and OS X can be addressed through bugs.python.org. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-06-25 Thread Ned Deily
34-matplotlib, py34-Pillow, etc. http://www.macports.org/ports.php > So I will impatiently expect the changes "on that front" and I will hope > that they will come till August 2014. Keep your fingers crossed. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-06-26 Thread Ned Deily
newer Tcl/Tk 8.5.x, like from ActiveTcl, and use a python that links with it, like from the python.org installers. The ActiveTcl installer also installs "teacup" which allows you to easily install additional Tcl packages. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Is pip being automatically installed for Python 3.4.0?

2014-07-02 Thread Ned Deily
Like many other third-party package managers, MacPorts has chosen to continue to distribute pip as a separate item. To install it and the MacPorts Python 3.4: sudo port install py34-pip -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: threading.Condition.wait() is not catching SIGTERM

2014-07-03 Thread Ned Deily
notify on un-acquired lock After a quick glance, I'm not sure why Python 2.7 is behaving differently, e.g. not raising an error, since both versions of Condition.notify have the same test so the difference is elsewhere. Feel free to open an issue for not catching the error in 2.7 but y

Re: patch request for os.urandom()

2014-07-17 Thread Ned Deily
In article <7xlhrrkf6h@ruckus.brouhaha.com>, Paul Rubin wrote: > I've stopped posting to the Python bug tracker because the password > management issues became too annoying. Can you elaborate on the problems you are having? -- Ned Deily, n...@acm.org -- https://mail.p

Re: Python package index in elasticsearch

2014-07-17 Thread Ned Deily
s you can give Donald a hand. https://warehouse.python.org https://pypi.python.org/pypi/warehouse -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to install Python on a network?

2014-07-23 Thread Ned Deily
lt = /usr/local), e.g. ./configure --prefix=/path/to make make install As long as you are producing a package that will be installed into the same path on each system and each system has a compatible architecture, you should be OK. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Idle crashes when using accentuated letters in Mac OS X

2014-08-10 Thread Ned Deily
bug. One way to avoid it is to use either one of the current python.org installers (Python 2.7.8 or 3.4.1) and the current ActiveTcl 8.5.15.0 from ActiveState (using 8.6.x will not help). There is more information here: https://www.python.org/download/mac/tcltk/ -- Ned Deily, n...@acm.org

Re: Linux distros w/o Python in "base" installation

2014-08-11 Thread Ned Deily
Python 3 its default, that is, when everything is installed, `python` invokes `python3`, rather than `python2`. So you may need to change shebang lines in scripts, etc. https://wiki.archlinux.org/index.php/python -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Linux distros w/o Python in "base" installation

2014-08-12 Thread Ned Deily
ence PEP 394. http://legacy.python.org/dev/peps/pep-0394/ -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Test failure while building cpython

2014-08-20 Thread Ned Deily
rtant point is that the values from the distutils.sysconfig version are what will be used during C extension module builds when you install third-party packages and, if necessary, most of them can be overridden, either in the package's setup.py or by setting environment variables. Also, be aware that Python 3.3.2 is obsolete. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Installing Python 3

2014-09-08 Thread Ned Deily
roup here. You can also just try launching Python itself and verify that it works without IDLE: /usr/local/bin/python3.4 Good luck! -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python docs not accessible from IDLE

2014-09-17 Thread Ned Deily
ble, faster, and secure services. These have included moving servers to new hosts, adding a commercial content delivery network to the frond-end of high traffic sites, and default use of encrypted connections (https). As such, there are a number of moving parts and possible loose ends. If you are still having issues, chances are you aren't the only one. If so, please contact the PSF infrastructure team via email or IRC: https://wiki.python.org/moin/PSFInfrastructure -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python docs not accessible from IDLE

2014-09-17 Thread Ned Deily
no reason not to add both at this point, although the old url *should* continue to work. Using those changes avoids a couple of redirects. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: hashlib suddenly broken

2014-09-18 Thread Ned Deily
10.8.5 Security Update for 10.8 (Security Update 2014-004, http://support.apple.com/kb/ht6443) which was just released today; that includes an updated OpenSSL. But, I tried this today just before installing the update and it worked the same way, with older modification dates. The python.org Python 2.7.x should look very similar but with /Library/Frameworks paths instead of /System/Library/Frameworks. Other Pythons (e.g. MacPorts or Homebrew) may be using their own copies of OpenSSL libraries. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: hashlib suddenly broken

2014-09-18 Thread Ned Deily
In article , Larry Martell wrote: > Do you think I should install this update? Perhaps that would restore > whatever is missing. Yes. You should install the update in any case and it's unlikely to make the hashlib situation worse :=) -- Ned Deily, n...@acm.org -- https://mail

Re: Question about uninstallation.

2014-09-28 Thread Ned Deily
Ports has backported these fixes to their older versions of Python, if you need them; no idea about other third-party distributors. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Question about uninstallation.

2014-09-28 Thread Ned Deily
In article , Chris Angelico wrote: > On Mon, Sep 29, 2014 at 9:17 AM, Ned Deily wrote: > > That's odd advice. > > ... And, while OS X 10.10 Yosemite is still a few weeks away from its > > expected official release data, you can be sure that the current > > rel

Re: Weird SSL problem

2014-09-29 Thread Ned Deily
server certificate and Python 2's urllib (and underlying httplib and ssl modules) do not support SNI extensions to TLS. The request above works fine with Python 3 (which has supported client-side SNI since Python 3.2). See http://bugs.python.org/issue5639 for more discussion of the matter. If Python 3 is not an option for you, the requests package available via PyPI should help. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-01 Thread Ned Deily
In article , "Peter Tomcsanyi" wrote: > "Ned Deily" wrote in message > news:nad-d2ddcb.14070824062...@news.gmane.org... > It's October... > So I tried Python 3.4.2rc1 and it seems that it still links to Tk 8.5 on > Mac. > Does it mean that there is n

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-02 Thread Ned Deily
In article , "Peter Tomcsanyi" wrote: > "Ned Deily" wrote in message > news:nad-40cb03.10344701102...@news.gmane.org... > > The python.org 3.4.x series of installers will likely never change from > > linking with Tk 8.5 by default. That would break a numb

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-03 Thread Ned Deily
ty version 8.5.0, current version 8.5.15) -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-03 Thread Ned Deily
In article , Kevin Walzer wrote: > On 10/3/14, 3:55 PM, Ned Deily wrote: > > Even if there were no incompatibilities, on OS X with Tcl and Tk (and > > other) frameworks, the version number is embedded in the path to the > > shared library and the linker normally creates an

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-05 Thread Ned Deily
tend Tck/Tk, it might be helpful to open an issue with suggested code on the various projects' issue trackers if someone cares to pursue this. -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: stressing problem with Python < 3.3.3 / 2.7.6 and Mac OS 10.9 Mavericks

2014-10-14 Thread Ned Deily
maintenance release. However, we did add a warning about this particular issue to the release page of the final security release of 2.6.x. That warning is now copied into the 3.2.6 release page. In the future, if you encounter problems with the python.org website, follow the Help link at

Re: OS X Menubar in Tkinter

2014-10-19 Thread Ned Deily
remove-default-python-submenu- with-tkinter-menu-on-mac-osx http://wiki.tcl.tk/12987 -- Ned Deily, n...@acm.org -- https://mail.python.org/mailman/listinfo/python-list

Re: Installing Python 2.6.7 on Windows

2011-09-28 Thread Ned Deily
ntend to provide source-only security fixes for the Python 2.6 series until October 2013 (five years after the 2.6 final release). For ongoing maintenance releases, please see the Python 2.7 series." http://www.python.org/getit/releases/2.6.7/ (And I think you may be just s

Re: MySQLdb on Mac Lion

2011-10-12 Thread Ned Deily
ckoverflow to see how dismayingly often this topic comes up. -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: sysconfig on OS X 10.7 (Lion) and XCode 4.2

2011-10-20 Thread Ned Deily
Now that Xcode 4.2 has been released and has deleted gcc-4.2, that's a problem. A thorough building and testing cycle using the various compiler options (llvm-gcc and clang) is needed for Lion; there have been problems already reported and corrected for clang with Xcode 4.1. I'm star

Re: Design Pattern and Python: Any book recommendation? Your view?

2011-11-04 Thread Ned Deily
Search for presentations and videos by Alex Martelli. He's the goto (so to speak) person on Python design patterns. Here, for instance: http://code.google.com/edu/languages/#_python_patterns -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: file extension while saving Python files

2011-11-08 Thread Ned Deily
e script with .py extension automatically (as > Test.py)? If the IDE you are referring to is IDLE, there is an issue recently opened that requests this change: http://bugs.python.org/issue10364 -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: No matter what I do, IDLE will not work...

2011-11-10 Thread Ned Deily
r python.org 2.7.2 installer, the 32-bit-only one, which is linked to the older Tcl/Tk 8.4, which uses Carbon interfaces rather than Cocoa, and see what happens with it. In any case, please report back what you find and, if necessary, open an issue on the Python bug tracker: http://bugs.python.org/ Thanks! -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: No matter what I do, IDLE will not work...

2011-11-10 Thread Ned Deily
*something* on your system that interferes with the Cocoa Tcl/Tk 8.5. If you want to pursue it, you might ask on the OS X Tcl mailing list. Good luck! http://dir.gmane.org/gmane.comp.lang.tcl.mac -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python on OS X Lion

2011-12-11 Thread Ned Deily
ythons. If you install another version of Python, you'll need to install another easy_install and pip for it as well. -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion

2011-12-19 Thread Ned Deily
". http://sourceforge.net/tracker/index.php?func=detail&aid=2907388&group_id =12997&atid=112997 -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion

2011-12-20 Thread Ned Deily
In article , Franck Ditter wrote: > In article , > Ned Deily wrote: > > In article , > > Franck Ditter wrote: > > > All is in the subject. I'm starting to use Python with Idle 3.2.2 > > > on MacOS-X Lion (French). I can't get "Option-N space

Re: installing matplotlib in MacOs 10.6.8.

2011-12-26 Thread Ned Deily
n the mean time, you could try to configure Eclipse to invoke the python with `python2.7-32`, which is included with distributions like the python.org one to force Python to run in 32-bit mode on OS X. -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: installing matplotlib in MacOs 10.6.8.

2011-12-26 Thread Ned Deily
hitecture() reports 64-bit. What's wrong here? platform.architecture() is not accurate for OS X 64-/32-bit builds. Use sys.maxsize instead. I have no experience with Eclipse so I really can't say how Eclipse might be launching the interpreter. Sorry! -- Ned Deily, n...@acm.org --

Re: importing MySQLdb

2011-12-30 Thread Ned Deily
full path. The MySQL project has a pretty dismal record for releasing faulty OS X binaries. There are a few workarounds, the best being either to use install_name_tool to fix the path or to set the DYLD_LIBRARY_PATH environment variable. See, for example, this blog post: http://www.blog.bridgeutopiaweb.com/post/how-to-fix-mysql-load-issues-on- mac-os-x/ -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Python3 on MacOsX Lion?

2012-01-02 Thread Ned Deily
safest approach is to continue to build on OS X 10.6 with Xcode 3 installed. -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: readline for mac python? (really, reproducing mac python packages)

2012-01-02 Thread Ned Deily
ted on PyPI that supplies pre-compiled versions of the Python readline module linked with GNU readline. I believe they are intended primarily for the system Pythons; I have not tried them myself with the python.org versions. http://pypi.python.org/pypi/readline -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Python3 on MacOsX Lion?

2012-01-02 Thread Ned Deily
trivial to install and remove without fear of corrupting your base system. The whole process is documented here: http://guide.macports.org/chunked/installing.macports.uninstalling.html -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: multiple 2.7.3 versions?

2013-02-15 Thread Ned Deily
an hg checkout or if the build is from an official tagged source tarball. In this case, "default" doesn't tell much. But if it had the hg rev used for the checkout, you have some indication of what it contains. The official rev tags for each release are available here: h

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ned Deily
would be nice if you could open an issue on the Python bug tracker (http://bugs.python.org) and attach to it the contents of the config files in the old idlerc-disabled directory. There has been some fixes to IDLE since 2.7.3 to make it more resilient; those will be in 2.7.4 which should be

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ned Deily
In article , Ned Deily wrote: > In article <9d367487-4846-4caa-85e7-08ac570b4...@googlegroups.com>, > Ash Courchene wrote: > > So I've actually had this problem for awhile, and I cant seem to get > > anything > > to work. I've followed all the st

Re: Tkinter, IDLE keeps crashing

2013-02-17 Thread Ned Deily
k ./Tk-DISABLED When finished testing, you can restore them by: cd /Library/Frameworks/ sudo mv ./Tcl-DISABLED ./Tcl.framework sudo mv ./Tk-DISABLED ./Tk.framework -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Read arrow keys

2013-02-20 Thread Ned Deily
which o/s platform(s) you are interested in but, if they are all unix-y and you don't mind running from a shell terminal session, you could just use the venerable curses module in the Python standard library. http://docs.python.org/3/library/curses.html -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Read arrow keys

2013-02-20 Thread Ned Deily
In article , Chris Angelico wrote: > On Thu, Feb 21, 2013 at 2:36 PM, Ned Deily wrote: > > the venerable curses module > > See, now, curses is *definitely* venerable. I think that means Python > is venerable too. Wp sez that a Curses was released with 4BSD in 1980

Re: What happened to 2.7.4 and 3.2.4 ??

2013-02-23 Thread Ned Deily
In article <9d5b3646-2952-49a1-b8ad-3b44d37ea...@googlegroups.com>, Perica Zivkovic wrote: > Any ideas on timelines? I was waiting on this to push out another Portable > Python release. I suggest asking on the python-dev list. There have been no announced new release dates as ye

Re: installation

2013-02-26 Thread Ned Deily
your .bash_profile or other relevant shell startup file: PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}" export PATH -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

On topic, please [Was:Re: Regular expression problem]

2013-03-11 Thread Ned Deily
group/list a place where people enjoy participating, without fear of gratuitous personal sniping. Thanks! -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-Help] idle doesn't work

2013-03-12 Thread Ned Deily
erminal > window. python 3.3 has not taken place and idle gives the above > mentioned error.. Try typing the following in a terminal window: idle3.3 or, possibly /usr/local/bin/idle3.3 and see if there is a more useful error message. If that doesn't work, try

Re: Performance of int/long in Python 3

2013-03-26 Thread Ned Deily
ers, or write a sharp but still-polite response, > but at all costs resist the urge to flame back." > > http://www.python.org/community/lists/ > > It's up to all of us to help keep this group/list a place where people > enjoy participating, without fear of gratuitous p

Re: Performance of int/long in Python 3

2013-03-26 Thread Ned Deily
In article , Mark Lawrence wrote: > On 27/03/2013 00:00, Ned Deily wrote: [...] > > I repeat the friendly reminder I posted a few weeks ago and I'll be a > > little less oblique: please avoid gratuitous personal attacks here. It > > reflects badly on the group and

Re: honking great ideas

2013-03-26 Thread Ned Deily
e a look at Raymond Hettinger's keynote address from the recent PyCon. Any of Raymond's talks are worth viewing but this one in particular is a higher-level sales pitch for Python: "Show the specific features that make Python more than just another scripting language."

Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]

2013-03-28 Thread Ned Deily
eaningful, hard-nosed discussions without resorting to personal insults, i.e. flaming. I think the discussion in this topic over the past 24 hours or so demonstrates that. -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Installation on Mac OSX 10.6.8 doesn't create the folder: /System/Library/Frameworks/Python.framework/Versions/2.7/

2013-04-02 Thread Ned Deily
ve the "/System" part. > Another option is to grok the MacPorts Portfile for Python 2.7 to figure > out how they compile it using the Mac Framework and emulate that process > when you build Python 2.7 from source (but don't install to /opt/local). I'm not sure what you

<    1   2   3   4   5   6   >