I am trying to build latest python on Windows XP and ran into the
"c1 : fatal error C1083: Cannot open source file: '.\getbuildinfo2.c':
No such file or directory"
I am using Visual C++ 2005 Express Edition to build. I opened
"PCbuilld8/pcbuild.sln" and did a "release" build of "pythoncore".
I didn't find getbuildinfo2.c in the source. Can some one tell me if
I am missing some thing here? Are there any additional steps need to
follow on windows?
The lib ref claims that minidom supports DOM Level 1. Does anyone
know what parts of Level 2 are not implemented? I wasn't able to find
anything offhand. It seems to be more a matter of what's not
documented, or what's not covered by the regression tests.
So. I'd be happy to do some diffing between the implementation,
documentation, tests, and the Recommendation, and submit patches for
whatever needs it. If anyone thinks that's worthwhile. Anyone?
On behalf of the Python development team and the Python community,
I'm happy to announce the release of Python 2.5.1 (release
This is the first bugfix release of Python 2.5. Python 2.5 is now
in bugfix-only mode; no new features are being added. According to
the release notes, over 150 bugs and patches have been addressed
since Python 2.5, including a fair number in the new AST compiler
(an internal implementation detail of the Python interpreter).
For more information on Python 2.5.1, including download links for
various platforms, release notes, and known issues, please see:
Highlights of this new release include:
Bug fixes. According to the release notes, at least 150 have
Highlights of the previous major Python release (2.5) are available
from the Python 2.5 page, at
Enjoy this release,
Python Release Manager
(on behalf of the entire python-dev team)
urllib2.py, after receiving an HTTP response, decides if it was an error
and raises an Exception, or it just returns the info.
For example, you make ``urllib2.urlopen("http://www.google.com")``. If
you receive 200, it's ok; if you receive 500, you get an exception
How it decides? Function HTTPErrorProcessor, line 490, actually says:
if code not in (200, 206):
# it prepares an error response
Why only 200 and 206? A coworker of mine found this (he was receiving
In RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) it
says about codes "2xx"...
This class of status code indicates that the client's request was
successfully received, understood, and accepted.
I know it's no difficult to work this around (you have to catch all the
exceptions, and check for the code), but I was wondering the reasoning
IMHO, "2xx" should not raise an exception. If you also think it's a bug,
I can fix it.
When pickling instances of an object derived from dict, the pickle in Python 2.5.1c1 calls the object's __getitem__() method. In contrast, earlier versions of Python incl. 2.5 don't call that method. Below is a minimal example with outputs. Is the difference in behavior an oversight or new feature? I couldn't find anything directly related in the release notes.
The difference in behavior breaks some of our code.
def __getitem__(self, key):
print "GETITEM", key
if (__name__ == "__main__"):
u = user()
u = 2
2.5.1c1 (r251c1:54692, Apr 11 2007, 16:15:52)
[GCC 4.1.0 20060304 (Red Hat 4.1.0-3)]
2.5 (r25:51908, Apr 11 2007, 16:11:19)
[GCC 4.1.0 20060304 (Red Hat 4.1.0-3)]
2.4.2 (#1, Feb 12 2006, 03:45:41)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)]
2.3.4 (#1, Oct 26 2004, 16:45:38)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)]
2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)]
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
-----BEGIN PGP SIGNED MESSAGE-----
On Apr 11, 2007, at 9:15 AM, Kristján Valur Jónsson wrote:
> The SVN repository hasn‘t answered http requests since this
> morning. Anyone know what is up with that?
Known breakage. We're working on it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
It looks like the release candidate has been held-up for a bit. If it is going to stay held-up for a few days, can we unfreeze it so some bugfixes can go in (fixing the +0/-0 problem, eliminating some segfaults, and fixing some exception code)?
>The names, as the new functions will be discussed here in the second
>step. For example, I'm not absolute sure that something like...
>...is actually needed.
It doesn't matter. We promise to offer a full impleme