[Python-Dev] [RELEASED] Python 3.2 alpha 2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team, I'm happy to announce the second alpha preview release of Python 3.2. Python 3.2 is a continuation of the efforts to improve and stabilize the Python 3.x line. Since the final release of Python 2.7, the 2.x line will only receive bugfixes, and new features are developed for 3.x only. Since PEP 3003, the Moratorium on Language Changes, is in effect, there are no changes in Python's syntax and built-in types in Python 3.2. Development efforts concentrated on the standard library and support for porting code to Python 3. Highlights are: * numerous improvements to the unittest module * PEP 3147, support for .pyc repository directories * PEP 3149, support for version tagged dynamic libraries * an overhauled GIL implementation that reduces contention * many consistency and behavior fixes for numeric operations * countless fixes regarding string/unicode issues; among them full support for a bytes environment (filenames, environment variables) * a sysconfig module to access configuration information * a pure-Python implementation of the datetime module * additions to the shutil module, among them archive file support * improvements to pdb, the Python debugger For an extensive list of changes in 3.2, see Misc/NEWS in the Python distribution. To download Python 3.2 visit: http://www.python.org/download/releases/3.2/ 3.2 documentation can be found at: http://docs.python.org/3.2/ Please consider trying Python 3.2 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.2's contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkyEpLkACgkQN9GcIYhpnLCzSwCdFyPz1dPEehJZmeW8wDltqkqe /ogAnim1J99qDpeLmcUDTf0YBh1W95vf =x+ee -END PGP SIGNATURE- ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] PEP 3149 thoughts
[Georg Brandl, 2010-09-05] > Am 05.09.2010 19:22, schrieb "Martin v. Löwis": > > 2. Why does the PEP recommend installing stuff into /usr/share/pyshared? > >According to the Linux FHS, /usr/share is for Architecture- > >independent data, see > > > > http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA > >In particular, it's objective is that you can NFS-share it across, > >say, both SPARC Linux and x86 Linux. I believe the PEP would break > >this, as SPARC and x86 executables would override each other. > > Indeed. I think this is probably just an oversight and should be corrected > in the PEP. However, it's the distributions' call anyway. FYI: in Debian we will use /usr/lib/python3/ or even /usr/lib/python3/dist-packages/, as there are many modules with things like: os.path.join(os.path.dirname(__file__), '..', '..', '..', '..', 'share', 'foo') -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] PEP 384 status
Hello Martin, On Sat, 28 Aug 2010 12:04:10 +0200 "Martin v. Löwis" wrote: > I have now started an initial patch for PEP 384, in the pep-0384 branch. [...] On http://bugs.python.org/issue9778 you elaborated on what the PEP would entail in its current state: “No, vice versa. The PEP promises that the ABI won't change until Python 4. For any change that might break the ABI, either a backwards-compatible solution needs to be found, or the change be deferred to Python 4.” This sounds like it could be detrimental by blocking desired improvements (the aforementioned issue is a potential example of this). Do you think it would complicate things a lot to version the ABI itself? Actually, PYTHON_API_VERSION is already used as some kind of ABI tag (since it's checked at module load time rather than at compile time). Regards Antoine. ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] _PyUnicode_New crash
Hi,
I've found something strange while using unicode objects in embedded python.
Here is a situation. I'm creating a couple of unicode objects and then some
exception is thrown. While handling exception I create 2 unicode object. The 1.
one is created sucessfully but the second one not. The problem is in
_PyUnicode_New()
on line (1):
if (free_list) {
unicode = free_list; /*<- (1)*/
free_list = *(PyUnicodeObject **)unicode;
In statement "unicode = free_list;" "unicode" pointer is bad pointer, in fact
it's address is 5 bytes "lower" (i.e. should be 0x030bc3ff but is 0x030bc3fa).
It looks like this only happens when exception is thrown. Anyone know where
could be the problem? I'm using python 3.2.1 on Vista with MSVS 2010
Trigve
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] _PyUnicode_New crash
Trigve wrote:
> Hi,
> I've found something strange while using unicode objects in embedded python.
> Here is a situation. I'm creating a couple of unicode objects and then some
> exception is thrown. While handling exception I create 2 unicode object. The
> 1.
> one is created sucessfully but the second one not. The problem is in
> _PyUnicode_New()
> on line (1):
>
> if (free_list) {
> unicode = free_list; /*<- (1)*/
> free_list = *(PyUnicodeObject **)unicode;
>
> In statement "unicode = free_list;" "unicode" pointer is bad pointer, in fact
> it's address is 5 bytes "lower" (i.e. should be 0x030bc3ff but is 0x030bc3fa).
> It looks like this only happens when exception is thrown. Anyone know where
> could be the problem? I'm using python 3.2.1 on Vista with MSVS 2010
Please file a bug report for this. We can then discuss this on the
tracker.
Thanks
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Sep 06 2010)
>>> Python/Zope Consulting and Support ...http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/
2010-08-19: Released mxODBC 3.1.0 http://python.egenix.com/
2010-09-15: DZUG Tagung, Dresden, Germany 8 days to go
::: Try our new mxODBC.Connect Python Database Interface for free !
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] _PyUnicode_New crash
M.-A. Lemburg egenix.com> writes: > > > Please file a bug report for this. We can then discuss this on the > tracker. Done as http://bugs.python.org/issue9785 . > Thanks Thanks Trigve ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] r84388 - in python/branches/py3k/Doc: conf.py using/index.rst
On Thu, Sep 2, 2010 at 12:43 AM, Nick Coghlan wrote: >> That title isn't better though, since it doesn't cover the "using/cmdline" >> document which deals with command line options, environment variables >> and the like. >> >> I agree that "Using Python" is not very descriptive though. > > Python Setup and Usage? Using Python Interpreter? -- anatoly t. ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Write access to hg.python.org
Hello, What is needed in order to have write (i.e. push) access to the hg.python.org repositories? What are the URLs (for example for the "benchmarks" repository)? Regards Antoine. ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
