473,543 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dr. Dobb's Python-URL! - weekly Python news and links (Jul 12)

QOTW: "Python's a language you can swear by, not at." - Chris

"Every sufficiently advanced LISP application will eventually reimplement
Python." - Hodgson's Law
Chad Himeda asks for a nested loop limit and Peter Hansen answers
with a quick test on the commandline. A discussion on the merits of
code approaching this limit entrails.

Karl Pech wants to calculate PI using the Monte Carlo method - and fast.

Chris recollects how he fell in love with Python.

Marco Aschwanden asks for opinions on the use of multiple return
statements in a single function.

Bryan Olson searches for the longest matching prefix of a string using
regular expressions. Michael Hudson offers an alternate approach.

Contrary to the current documentation, the open() builtin is not
retained for compatibility only. It may even grow some extra logic and
no longer be confined to ordinary files.

Guido van Rossum is less concerned about variable names shading
builtins than many posters on c.l.py.

Anthony Baxter announces release of the first alpha version of
Python 2.4. You are invited to download and participate in the test.
=============== =============== =============== =============== ============
Everything Python-related you want is probably one or two clicks away in
these pages:

Python.org's Python Language Website is the traditional
center of Pythonia
Notice especially the master FAQ

PythonWare complements the digest you're reading with the
marvelous daily python url
Mygale is a news-gathering webcrawler that specializes in (new)
World-Wide Web articles related to Python.
While cosmetically similar, Mygale and the Daily Python-URL
are utterly different in their technologies and generally in
their results.

comp.lang.pytho n.announce announces new Python software. Be
sure to scan this newsgroup weekly.

Brett Cannon continues the marvelous tradition established by
Andrew Kuchling and Michael Hudson of intelligently summarizing
action on the python-dev mailing list once every other week.

The Python Package Index catalogues packages.

The somewhat older Vaults of Parnassus ambitiously collects references
to all sorts of Python resources.

Much of Python's real work takes place on Special-Interest Group
mailing lists

The Python Business Forum "further[s] the interests of companies
that base their business on ... Python."

The Python Software Foundation (PSF) has replaced the Python
Consortium as an independent nexus of activity. It has official
responsibility for Python's development and maintenance.
Among the ways you can support PSF is with a donation.

Cetus collects Python hyperlinks.

Python FAQTS

The Cookbook is a collaborative effort to capture useful and
interesting recipes.

Among several Python-oriented RSS/RDF feeds available are
For more, see
The old Python "To-Do List" now lives principally in a
SourceForge reincarnation.

The online Python Journal is posted at pythonjournal.c ognizor.com.
ed****@pythonjo urnal.com and ed****@pythonjo urnal.cognizor. com
welcome submission of material that helps people's understanding
of Python use, and offer Web presentation of your work.

*Py: the Journal of the Python Language*

Archive probing tricks of the trade:

Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
http://purl.org/thecliff/python/url.html (dormant)
http://groups.google.c om/groups?oi=djq&a s_q=+Python-URL!&as_ugroup= comp.lang.pytho n
Suggestions/corrections for next week's posting are always welcome.
E-mail to <Py********@pha seit.net> should get through.

To receive a new issue of this posting in e-mail each Monday morning
(approximately) , ask <cl****@phaseit .net> to subscribe. Mention
-- The Python-URL! Team--

Dr. Dobb's Journal (http://www.ddj.com) is pleased to participate in and
sponsor the "Python-URL!" project.
Jul 18 '05 #1
3 1718
"Peter Otten" <py********@pha seit.net> writes:
Guido van Rossum is less concerned about variable names shading
builtins than many posters on c.l.py.

This gives a message about python.org's mail system moving (and that
it is expected to finish 10 days ago).

Anybody know a convenient alternative way of seeing this message ?
Jul 18 '05 #2
Jacek Generowicz wrote:
"Peter Otten" <py********@pha seit.net> writes:
Guido van Rossum is less concerned about variable names shading
builtins than many posters on c.l.py.
This gives a message about python.org's mail system moving (and that
it is expected to finish 10 days ago).

Anybody know a convenient alternative way of seeing this message ?

I checked it just now, maybe you need to clear some cache?

For now (GvR answering Skip Montanaro):

<quote> That was probably a checkin I made. I would have left it alone except the
code was

file = open(...)

As long as I was changing the variable name to not mask the builtin I
changed the call as well. Had it been

f = open(...)

I probably would have kept my hands off.
Hm... I'm not particularly concerned over fixing all code that uses
file as a local variable name, unless it actually is likely to need to
reference the file class by name; builtins are in the last scope
searched for the very reason that no programmer is expected to keep up
with all additions to the built-in library, so locals hiding built-ins
is okay. (Not that it isn't a good idea to avoid obvious clashes --
'str' for string variables and 'type' for type variables being the
most obvious stumbling blocks.)
In any case, I was under the impression that file() was the wave of the
future and open() a nod to the past.

Now you know better...

--Guido van Rossum (home page: http://www.python.org/~guido/)

Jul 18 '05 #3
Peter Otten <__*******@web. de> writes:
I checked it just now, maybe you need to clear some cache?

Bah, yes, it's some sort of local problem.

Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: dmbkiwi | last post by:
I am new to this group, and relatively new to python programming, however, have encountered a problem I just cannot solve through reading the documentation, and searching this group on google. I have written a theme in python for the superkaramba theme engine on kde (see http://netdragon.sourceforge.net - if you are a kde/linux user, it is...
by: Holly | last post by:
Hello List, My windows laptop configured as: XP, Python 1.5.2, MySQL 4.0.9 and Appache 1.3.17 A form ("Post" has been used) has a product list with about 400 products. The user checks each item he wants and place an order. NOw when they hit "Place Order" or "Cancel Order" , apache pops an error in log:
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
by: Dave Sampson | last post by:
hey folks, A simple question hopefully. despite all my searching I have not found a satisfactory response. The goal. Interact with a command line program. Simple enough, but the key is INTERACT. I tried the shell and comand approaches but that initiates, it does not allow interaction with the programs.
by: Jeffrey Froman | last post by:
Hello All, I have two python versions installed, one in /usr/bin, and one in /usr/local/bin. However, when invoking python without a full path, I get the wrong executable with the right sys.executable string! ---------------------------------------------------------------------------- # ls -l /usr/local/bin/python* -rwxr-xr-x 2 root root...
by: Ivan Ven Osdel | last post by:
Not really, I have just worked with them more. ----- Original Message ----- From: "Ali Servet Dönmez" <asd@pittle.org> To: python-list@python.org Sent: Wednesday, July 2, 2008 1:15:04 PM GMT -06:00 US/Canada Central Subject: Re: Freesoftware for auto/intelligent code completing in Python On Jul 2, 7:55 pm, Ivan Ven Osdel...
by: david | last post by:
You learn something new every day: On my ubuntu, update-manager is supposed to use the python2.5 installed on /usr/bin. Well, I had subsequently installed a whole bunch of stuff in /usr/local (/usr/local/bin/python and /usr/local/lib/ python2.5 etc), which I have happily been using for development for a year. I had thought that the two...
by: Thomas Troeger | last post by:
Hi, Sorry I've posted a similar question some weeks ago, but I got no answers. I want to embed a Python application on a device with limited resources, esp. storage limitations. Is there a way to reduce the Python interpreter to a set of modules that's urgently needed? Or is there a method to have gzipped modules that are unzipped on the...
by: Jaco Naude | last post by:
Hi there, This is my first post over here and I hope someone can give me some guidance. I'm trying to embed Python into a Visual C++ 2008 application and I'm getting linker problems. I've compiled a DLL of the Python source code using the pythoncode VC++ project in the PCbuild folder of the source download and this works 100% without any...
by: Jordan | last post by:
Hi everyone, I'm a big Python fan who used to be involved semi regularly in comp.lang.python (lots of lurking, occasional posting) but kind of trailed off a bit. I just wrote a frustration inspired rant on my blog, and I thought it was relevant enough as a wider issue to the Python community to post here for your discussion and...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.