Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Programming IT Technology

Python 2.3.1 Just Released 18

PSF writes "The Python Software Foundation (PSF) has announced the release of version 2.3.1 of the Python programming language. This minor release introduces a number of enhancements based on two months of experience since release of version 2.3. For more information see www.python.org/2.3.1."
This discussion has been archived. No new comments can be posted.

Python 2.3.1 Just Released

Comments Filter:
  • Boost.Python Library (Score:5, Interesting)

    by Henry V .009 ( 518000 ) on Wednesday September 24, 2003 @01:21PM (#7046721) Journal
    I have been thinking of learning Python ever since I found the Boost.Python [boost.org] library at http://www.boost.org [boost.org].

    I suppose that it is time to go find a good tutorial. Anybody had luck using C++ and Python together with this?
    • I will be learning Python
      It should be someone's first computer language, but I'll just hafta learn it later.
      Like in the next few weeks.
    • by kraut ( 2788 )
      There's a good tutorial for python at python.org, and I think there's some link to others. I've head people recommend Bruce Eckel's Thinking in Python, which is available online as well, but I found the tutorial enough to get going. It is a really easy language to pick up, certainly if you are capable of handling Boost ;)

      Re Boost.Python - a colleague of mine just picked it up and had his first extension going in half an hour, and most of that was spent on sorting out LD_LIBRARY_PATH.
    • by costas ( 38724 ) on Wednesday September 24, 2003 @06:05PM (#7049872) Homepage
      Here you go:
      • Everything's an object
      • Loops, if blocks and the like are marked by identation/whitespace. Put another way, there are no {} religious wars, coz there ain't any {}s. Trust me, it's a beautiful thing.
      • Code makes sense the first time you look at it. There are a few Python idioms that will take a bit if you're coming from the outside, but you will learn them fast and they are not that complicated.
      • You will never appreciate another language again. Proceed with caution, this may be detrimental to your employment :-)


      Sample code:

      myfile = open("data.csv")
      for line in myfile.readlines():
      columns = line.split(',')
      print "Column 2 is %s " % columns[1]

      myfile.close()

      Can you tell what this does? This is not the exception, this is the rule. Even deep-magic Python code is understandable by another developer after just a few looks. That's the main, big advantage over other high-level languages...
      • Back when I was on the adjunct faculty for USF [usfca.edu], I taught an "intro to programming" class for MIS students. In that class, I presented the classic "balance the checkbook" program to the students. At first, I would present a program written in Java but the students would get confused with the curly braces. I rewrote it in Python which made it much easier for the students to understand. Perhaps Python is also fantastic for pros too but I know for certain that programs written in Python are easy to grasp for th
    • Currently using sip and C++ together, and it works very nicely for me, for the most part.

  • by phch ( 398574 ) on Wednesday September 24, 2003 @01:32PM (#7046881)
    Python 2.3 was released this summer a bit early [python.org] to accommodate Apple's deadline for OS 10.3. Had there been no such deadline, I suspect this would have been the actual 2.3 release.

    That having been said, I haven't noticed any serious problems with the "rushed" 2.3 release.
  • What's the next big thing in upcoming Python releases? Any important library to be included to the vanilla distro package? Any serious language change? Any new concept?

    Is python achived the stable level and only bug fixes and performance improvements will come out?

  • whereas a similar release of a bugfix for perl 5.8.0 is getting far more attention?

    and no, I am not one of those crazed perl bashers, its just that in perl there are certain builtin functions and variables that are impossible for any person who is programming to replicate ($_[] and @_ ), whereas in python there are no builtin variables that violate the languages basic syntax

    I would like it if certain perl functionality relating to arrays were added to python without having to deal arrays as defined in li

Brain off-line, please wait.

Working...