[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-05-24 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
nosy:  -srid

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3561
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 3.2.2.3 is now available

2011-09-19 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.2.3, a complete, 
ready-to-install binary distribution of Python 3.2.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-3.2.2.3
==

New Features  Upgrades
---

- Upgrade to Python 3.2.2 (`release notes
 http://hg.python.org/cpython/file/v3.2.2/Misc/NEWS`__)
- [Windows] Security upgrade to openssl-1.0.0e
- Upgraded the following packages:

 - Distribute-0.6.21
 - virtualenv-1.6.4

What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: ActivePython 3.2.2.3 is now available

2011-09-19 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.2.3, a complete, 
ready-to-install binary distribution of Python 3.2.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-3.2.2.3
==

New Features  Upgrades
---

- Upgrade to Python 3.2.2 (`release notes
 http://hg.python.org/cpython/file/v3.2.2/Misc/NEWS`__)
- [Windows] Security upgrade to openssl-1.0.0e
- Upgraded the following packages:

 - Distribute-0.6.21
 - virtualenv-1.6.4

What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ActivePython: multiple versions on OSX?

2011-07-26 Thread Sridhar Ratnakumar
On Mon, Jul 25, 2011 at 5:18 PM, Robert sigz...@gmail.com wrote:
 Is it possible to install the 2 and 3 series side by side?


Yup.

Moreover, ActivePython includes a tool called `pythonselect` that can
be used to set the current version of Python,
https://github.com/ActiveState/pythonselect#readme

For OSX, this basically sets symlinks in /usr/local/bin targeting the
appropriate Framework location.

The included pip and easy_install scripts are versioned, eg: pip-2.7
and pip-3.2.

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.2.1.2 is now available

2011-07-20 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.1.2, a complete, 
ready-to-install binary distribution of Python 3.2.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-3.2.1.2
==

(combining with the very recently released 3.2.1.1)

New Features  Upgrades
---

- Upgrade to Python 3.2.1 (`release notes
  http://hg.python.org/cpython/file/v3.2.1/Misc/NEWS`__)
- Upgrade to pythonselect 1.3 which supports Windows
- Include virtualenv (1.6.3) and pip (1.0.2)
- Upgrade to PyPM 1.3.5:

  - [Windows] `Bug #89474 http://bugs.activestate.com/show_bug.cgi?id=89474`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages

- Upgraded the following packages:

  - Distribute-0.6.19

Noteworthy Changes  Bug Fixes
--

- PyPM:

  - `sudo pypm ..` should always use root user's BE license file
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 
  - Upgrade SQLAlchemy to 0.6.8
  - Upgrade to six 1.0.0


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.7.2.5 is now available

2011-07-09 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.2.5, a complete, 
ready-to-install binary distribution of Python 2.7.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-2.7.2.5
==

New Features  Upgrades
---

- Upgrade to Python 2.7.2 (`release notes
  http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS`__)
- Security upgrade to openssl-0.9.8r
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:

  - [Windows] `Bug #89474 http://bugs.activestate.com/show_bug.cgi?id=89474`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages


- Upgraded the following packages:

  - Distribute-0.6.19
  - pip-1.0.1
  - virtualenv-1.6.1

Noteworthy Changes  Bug Fixes
--

- PyPM:

  - Upgrade to six 1.0.0
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 
  - Include SQLAlchemy in the private area (pypm/external/{2,3}/sqlalchemy)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: ActivePython 2.6.7.20 is now available

2011-07-09 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.7.20, a complete, 
ready-to-install binary distribution of Python 2.6.

  http://www.activestate.com/activepython/downloads


What's New in ActivePythonEE-2.6.7.20
=

New Features  Upgrades
---

- Upgrade to Python 2.6.7 (`release notes
  http://www.python.org/download/releases/2.6.7/NEWS.txt`__)
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:

  - [Windows] `Bug #89474 http://bugs.activestate.com/show_bug.cgi?id=89474`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages
  
- Upgraded the following packages:

  - Distribute-0.6.19
  - pip-1.0.1
  - virtualenv-1.6.1

Noteworthy Changes  Bug Fixes
--

- PyPM:

  - Upgrade to six 1.0.0
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: ActivePython 2.5.6.10 is now available

2011-07-09 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.5.6.10, a complete, 
ready-to-install binary distribution of Python 2.5.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-2.5.6.10
===

New Features  Upgrades
---

- Upgrade to Python 2.5.6 (`release notes
  http://www.python.org/download/releases/2.5.6/NEWS.txt`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug 
#87783
- [Linux] Include Tcl/Tk development files (`#40`_)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Security upgrade to openssl-0.9.8r

Noteworthy Changes  Bug Fixes
--

- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Renamed python25.exe to python2.5.exe (Unix like)
- [Windows] Include python2.exe


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/2.5/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.5/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: ActivePython 2.7.2.5 is now available

2011-07-08 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.2.5, a complete, 
ready-to-install binary distribution of Python 2.7.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-2.7.2.5
==

New Features  Upgrades
---

- Upgrade to Python 2.7.2 (`release notes
  http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS`__)
- Security upgrade to openssl-0.9.8r
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:

  - [Windows] `Bug #89474 http://bugs.activestate.com/show_bug.cgi?id=89474`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages


- Upgraded the following packages:

  - Distribute-0.6.19
  - pip-1.0.1
  - virtualenv-1.6.1

Noteworthy Changes  Bug Fixes
--

- PyPM:

  - Upgrade to six 1.0.0
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 
  - Include SQLAlchemy in the private area (pypm/external/{2,3}/sqlalchemy)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.6.7.20 is now available

2011-07-08 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.7.20, a complete, 
ready-to-install binary distribution of Python 2.6.

  http://www.activestate.com/activepython/downloads


What's New in ActivePythonEE-2.6.7.20
=

New Features  Upgrades
---

- Upgrade to Python 2.6.7 (`release notes
  http://www.python.org/download/releases/2.6.7/NEWS.txt`__)
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:

  - [Windows] `Bug #89474 http://bugs.activestate.com/show_bug.cgi?id=89474`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages
  
- Upgraded the following packages:

  - Distribute-0.6.19
  - pip-1.0.1
  - virtualenv-1.6.1

Noteworthy Changes  Bug Fixes
--

- PyPM:

  - Upgrade to six 1.0.0
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.5.6.10 is now available

2011-07-08 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.5.6.10, a complete, 
ready-to-install binary distribution of Python 2.5.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-2.5.6.10
===

New Features  Upgrades
---

- Upgrade to Python 2.5.6 (`release notes
  http://www.python.org/download/releases/2.5.6/NEWS.txt`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug 
#87783
- [Linux] Include Tcl/Tk development files (`#40`_)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Security upgrade to openssl-0.9.8r

Noteworthy Changes  Bug Fixes
--

- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Renamed python25.exe to python2.5.exe (Unix like)
- [Windows] Include python2.exe


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\pypm install numpy
  [...]

  C:\python
   import numpy.linalg
  

See this page for full details:

  http://docs.activestate.com/activepython/2.5/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.5/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2011-06-26, at 2:04 PM, Terry J. Reedy wrote:

 Terry J. Reedy tjre...@udel.edu added the comment:
 
 Sridhar, is there still a problem with current 3.2/3?
 
 If you are no longer working on this, I think we should close as 
 languishing/postponed.

I am not working on this yet (its low prio), but will try building 3.2 on HP-UX 
once 3.2 final is released.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5999
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-27 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2011-06-27, at 9:11 AM, Éric Araujo wrote:

 Éric Araujo mer...@netwok.org added the comment:
 
 « Python 3.2 was released on February 20th, 2011. » (from python.org)

My mistake; I meant to say 3.2.1 final.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5999
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

The only way to fix this is to /not/ install *any* packages prior to resolving 
*all* dependencies ... which means that there needs to be a way to resolve the 
entire dependency graph for any given package in PyPI.

If PyPI provided a mechanism to fetch the entire dependency graph[1], then 
https://github.com/ActiveState/depgraph can be used to implement comprehensive 
dependency resolution. PyPM can do this because the PyPM repository provides a 
sqlite db containing dependency information for all packages and their versions.

Let me know if you need any assistance regarding ActiveState's depgraph 
implementation (I may have pending commits to be merged to the GitHub repo)

[1] I posted a few suggestions in regards to facilitating such exposure of 
static metadata in PyPI to distutils-sig@ - but until this day they remain as 
merely ideas.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8927
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2011-06-07, at 9:48 AM, Éric Araujo wrote:

 
 Éric Araujo mer...@netwok.org added the comment:
 
 The only way to fix this is to /not/ install *any* packages prior to
 resolving *all* dependencies
 
 packaging.install rolls back in case of error, so the system can’t be left in 
 a half-installed state.  p7g.install is only as smart as p7g.depgraph, 
 however.

Well, if the same behavior is adopted for dependency conflicts (eg: see issue 
description) as well, it would necessitate rolling back by uninstalling the 
previous N packages, then installing these N packages (again) by traversing a 
different path (and repeat for other conflicts), would it not?

 which means that there needs to be a way to resolve the entire
 dependency graph for any given package in PyPI.
 
 PyPI exposes requires, obsoletes and provides for releases that upload PEP 
 345 metadata; client code using p7g.pypi and p7g.depgraph can then build a 
 dependency graph.

Not all packages upload their release sources (thus metadata) to PyPI, which is 
why - I believe - PIP is scraping the Simple Index and home_page urls to get 
the appropriate sdist for any package. I am not fully aware of what kind of 
packages p7g.install is supposed to support, though. I assume that 
setuptools-style projects (using install_requires) are not supported by 
p7g.install.

 the PyPM repository provides a sqlite db containing dependency
 information for all packages and their versions.
 
 This experiment with a local copy of the full repo graph is interesting.  Do 
 you have blog posts or something talking about synchronization issues, 
 dealing with multiple repositories, using SQL vs. something less ugly wink, 
 etc.?

The local index cache is automatically updated not more than once a day. 
Multiple repositories are searched in the configured order (linearly). SQL is 
just a data format, the remote index can be of any format (xml, json, pickle, 
..) as long as the client can easily query the dependency chain.

But its probably much simpler to only expose per-package dependency (and other 
metadata) through REST urls (at the cost of network delays, however). No index 
is required. Eg:

http://pypi.python.org/metadata/scipy/0.9.0/DIST-INFO - requires, 
obsoletes, etc...

(of course, this assumes that even packages that do not upload their sdists 
have the metadata available in PyPI somehow; perhaps the server caches them. we 
have our own pypi-like mirror that does this)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8927
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2011-06-07, at 10:39 AM, Éric Araujo wrote:

 Éric Araujo mer...@netwok.org added the comment:
 
 Not all packages upload their release sources (thus metadata) to PyPI
 No, it’s register that uploads metadata.

(was not sent before?)

Ok, that's interesting. Does p7g.install support packages that do not register 
their new releases?

Setuptools/PIP does by scraping the project home pages.

Eg: http://pypi.python.org/pypi/PyChecker incorrectly (but expected) shows 
0.8.12 as latest, but http://pychecker.sourceforge.net/ shows 0.8.19 as the 
latest. Will p7g.install install 0.8.19?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8927
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Dave, but aptitude contains a local index of all dependency information. 
Whereas, PyPI's infrastructure and pip/easy_install/p7g.install do not rely on 
one. Therefore, I think when Tarek said Trying to do something smarter is very 
very hard and will probably fail. he is referring to doing such dependency 
resolution *with* the constraint of lack of such local metadata index.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8927
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Stackato - a platform for Python and Perl applications on public and private clouds

2011-05-05 Thread Sridhar Ratnakumar
 We're pleased to announce Stackato, the first end-to-end enterprise 
cloud platform for dynamic language applications. Initially for Python 
and Perl and based on Cloud Foundry, Stackato enables you to deploy, 
manage, and scale Python and Perl applications in the private or public 
cloud.

Sign up for the Stackato Developer Preview.

http://activestate.com/cloud

http://www.activestate.com/blog/2011/05/stackato-platform-python-and-perl-cloud

Simply install Stackato, deploy, and run your new or existing apps in 
the cloud.

Plus with Stackato you'll get:

Easy deployment of existing apps to the cloud with little 
re-engineering
Versatility—simple deployment from desktop to cloud via our award 
winning Komodo IDE or from the command line
Portability between a virtual machine, a private cloud like 
VMware's vSphere, or a public IaaS provider
Secure multi-tenancy and configuration of auto-scaling
Automatic provisioning of application environment with languages 
and frameworks (such as Django, Pyramid, Mojolicious, or Catalyst)
Automatic provisioning of module/package dependencies
Choice of database engine (such as MySQL, PostgreSQL, Redis)
Much more...

All while relying on your choice of our ActivePython and ActivePerl 
distributions.

Interested in giving it a try? Sign up for the Stackato Developer 
Preview, and provide us with feature requests and early feedback. Your 
opinions and comments are important to us!

We look forward to hearing from you, and hope that you're as excited as 
we are to enter the cloud realm. 

--
Sridhar Ratnakumar
Software Developer
ActiveState


-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2011-04-24 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

 I believe ActiveState handle this by making the PATH modification 
 optional and having it off by default (I found docs for ActivePerl 
 stating this explicitly, but no equivalent for ActivePython).

ActivePython 2.x has it on by default.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3561
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Can not uninstall activepython. Missing msi ?

2011-04-12 Thread Sridhar Ratnakumar
Looks like this is resolved for you,
http://community.activestate.com/node/6558

On Tue, Apr 12, 2011 at 10:13 AM, goldtech goldt...@worldpost.com wrote:
 Hi,

 I want to uninstall Active Python 2.6.2.2 and upgrade. Certain things
 are not working and it's probably time to upgrade anyway. When I try
 to uninstall it says missing msi.

 Before I delete all the folders and clean the registry out is there
 something I can try to have a normal or more graceful uninstall? Using
 WinXP.

 Thanks,

 Lee G.
 --
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


[issue7796] No way to find out if an object is an instance of a namedtuple

2011-03-28 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
nosy:  -srid

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7796
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Standard way to distribute utilities with packages

2011-03-27 Thread Sridhar Ratnakumar
On Sunday, March 27, 2011 at 1:05 PM, Laszlo Nagy wrote:
I'd like to distribute a pure Python package named foo. By default it 
 will be placed in lib/site-packages/foo. What if I want to add 
 utilities? Command line or GUI programs that are not full featured 
 applications, but they can be handy for some tasks that are related to 
 the package. Here is what I see:
 
 * Python places them under tools in the Python installation dir (under 
 windows). I'm not sure about Unix.
 
 Other variants:
 
 * site-packages/foo/scripts (example: win32)
 * site-packages/foo/util (example: vtk)
 * directory site-packages/foo/tools (example: numpy)
None of the above are standard practices, as far as I know. 
 Is there a PEP number / standard way for this?
No PEP, but - yes - there is a conventional, if not standard, way to do this. 
It's called entry points (part of setuptools or Distribute).

Documentation: 
http://packages.python.org/distribute/setuptools.html#automatic-script-creation

Example: https://github.com/ActiveState/pythonselect/blob/master/setup.py#L49

Users of your package will need to have Distribute installed, which is 
available in ActivePython (all platforms), OSX and almost all of the Linux 
distributions.

-srid


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Problem with keyboard up/down arrows in Python 2.4 interpreter

2011-03-22 Thread Sridhar Ratnakumar
On Monday, March 21, 2011 at 11:37 PM, Benjamin Kaplan wrote:
On Tue, Mar 22, 2011 at 2:27 AM, Julien jpha...@gmail.com wrote:
  Hi,
  
  I'm having problems when typing the up/down arrows in the Python 2.4
  interpreter (exact version: Python 2.4.6 (#1, Mar 3 2011, 15:45:53)
  [GCC 4.2.1 (Apple Inc. build 5664)] on darwin).
  
  When I press the up arrow it outputs ^[[A and when I press the down
  arrow it outputs ^[[B.
  
  I've google it and it looks like it might be an issue with the
  readline not being installed or configured properly. Is that correct?
  If so, how can I fix this issue?
You need to install this module:
http://pypi.python.org/pypi/readline/

Out of curiosity, which distribution of Python are you using? ActivePython, 
MacPorts, python.org or homebrew?

-srid -- 
http://mail.python.org/mailman/listinfo/python-list


Re: Switching between Python releases under Windows

2011-03-22 Thread Sridhar Ratnakumar
On Tue, Mar 8, 2011 at 8:03 AM, Tim Golden m...@timgolden.me.uk wrote:
 On 08/03/2011 15:58, Tim Golden wrote:

 On 08/03/2011 14:55, Edward Diener wrote:

 I have multiple versions of Python installed under Vista. Is there any
 easy way of switching between them so that invoking python and file
 associations for Python extensions files work automatically ?

 Well, the answer depends a bit on how au fait you are with fiddling
 with env vars etc

 But essentially involves:

 * Adding c:\pythonxy and c:\pythonxy\script to PATH

FWIW, ActivePython automatically does this. As it includes versioned
binaries as well, one can type (just like on Unix) `python2.7.exe` or
`python3.2.exe` in the Command Prompt.

 * assoc .py=python.file [probably already done]

 * python.file=C:\Pythonxy\python.exe %1 %*

I suppose I should soon implement Windows support in pythonselect,
https://github.com/Activestate/pythonselect

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-16 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

[pitrou] 
 Can you explain why this is a problem in Python?
 Can't lib/python3.2/config-3.2m/Makefile simply be 
 provided by virtualenv (by copying it, I guess)?

Yes, I believe virtualenv already does that (or symlinks to it). Python 3.2 
changed the path to config and include directories for some reason, viz.

$ ls -d /opt/ActivePython-3.*/lib/python3.?/*config*/
/opt/ActivePython-3.1/lib/python3.1/config/
/opt/ActivePython-3.2/lib/python3.2/config-3.2m/
$ 

and:

$ ls -d /opt/ActivePython-3.*/include/python3.?*
/opt/ActivePython-3.1/include/python3.1  
/opt/ActivePython-3.2/include/python3.2m
$

It is possible that virtualenv is hardcoding the relative path to 'config' (and 
'include') directories and thus failing to find the new 'config-3.2m' dir. If 
that is the case, this is not a problem with Python.

Although msg129372 does point to a Python bug, it may or may not be related to 
the virtualenv issue noted earlier. Given that virtualenv doesn't officially 
Python 3 and virtualenv5 is more of a hack, I haven't investigated into this 
much.

Does that answer your question?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11320
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2011-03-14, at 9:18 AM, Reid Kleckner wrote:

 I updated and committed the patch to the cpython hg repo in revision 
 [c4a0fa6e687c].

Does this go to the main branch (py3.3) only? It is not clear from just looking 
at http://hg.python.org/cpython/rev/c4a0fa6e687c/

--
Added file: http://bugs.python.org/file21121/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5673
___htmlhead/headbody style=word-wrap: break-word; -webkit-nbsp-mode: 
space; -webkit-line-break: after-white-space; brdivdivOn 2011-03-14, at 
9:18 AM, Reid Kleckner wrote:/divbr 
class=Apple-interchange-newlineblockquote type=citespan 
class=Apple-style-span style=border-collapse: separate; font-family: 
Helvetica; font-style: normal; font-variant: normal; font-weight: normal; 
letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; 
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; 
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; 
-webkit-text-stroke-width: 0px; font-size: medium; I updated and committed 
the patch to the cpython hg repo in revision 
[c4a0fa6e687c]./span/blockquote/divbrdivDoes this go to the main 
branch (py3.3) only? It is not clear from just looking atnbsp;a 
href=http://hg.python.o
 
rg/cpython/rev/c4a0fa6e687c/http://hg.python.org/cpython/rev/c4a0fa6e687c//anbsp;/div/body/html___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


Removed file: http://bugs.python.org/file21121/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5673
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-02-25 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

This issue is potentially breaking virtualenv5,
http://code.google.com/p/virtualenv5/issues/detail?id=6

--
nosy: +srid

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11320
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 3.2.0.0 is now available

2011-02-23 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.0.0, a complete, 
ready-to-install binary distribution of Python 3.2.


  http://www.activestate.com/activepython/downloads

What's New in ActivePython-3.2.0.0
==

New Features  Upgrades
---

- First ActivePython release based on Python 3.2 core
- PyPM (beta) for Python 3.2
- Distribute (setuptools)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- [MacOSX] ``readline`` support via Apple's ``libedit`` library
- OpenSSL 1.0.0d
- [Windows] Fix a ``tarfile`` performance issue (`issue11224 
http://bugs.python.org/issue11224`_)



What's new in Python 3.2


* Stable ABI: Extension modules built for 3.2 can continue to work with 
3.3, 3.4 and so on.


* argparse: argparse, an improved alternative to optparse included in 
Python 2.7, is now available in 3.2 as well.


* concurrent.futures: Inspired by java.util.concurrent.package, this 
module abstracts threads/processes/RPC-calls by way of abstract 
executors with support for status checks, timeouts, cancellations, 
callbacks, access to results or exceptions. futures makes it easier to 
switch from one concurrent implementation to another, eg: from thread to 
process pool.


* PYC repository directories: Ever faced with .pyc conflicts between 
multiple Python versions? Python 3.2 introduced a new bytecode caching 
mechanism: foo.pyc gets a new name: __pycache__/foo.cpython-32.pyc 
(similarly for .so files) ... thus properly fixing such conflicts, even 
across different Python interpreter implementations.


* WSGI for Python 3: The WSGI spec is now adapted for Python3's 
bytes/text distinction. See PEP  for details.


For the complete list of changes, see
http://docs.activestate.com/activepython/3.2/python/whatsnew/3.2.html


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\pypm install numpy
  [...]

  C:\python
 import numpy.linalg


PyPM module availability for 3.2 can be seen at:

  http://code.activestate.com/pypm/tag:python3/

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)

- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


ANN: ActivePython 3.2.0.0 is now available

2011-02-22 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.0.0, a complete, 
ready-to-install binary distribution of Python 3.2.


  http://www.activestate.com/activepython/downloads

What's New in ActivePython-3.2.0.0
==

New Features  Upgrades
---

- First ActivePython release based on Python 3.2 core
- PyPM (beta) for Python 3.2
- Distribute (setuptools)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- [MacOSX] ``readline`` support via Apple's ``libedit`` library
- OpenSSL 1.0.0d
- [Windows] Fix a ``tarfile`` performance issue (`issue11224 
http://bugs.python.org/issue11224`_)



What's new in Python 3.2


* Stable ABI: Extension modules built for 3.2 can continue to work with 
3.3, 3.4 and so on.


* argparse: argparse, an improved alternative to optparse included in 
Python 2.7, is now available in 3.2 as well.


* concurrent.futures: Inspired by java.util.concurrent.package, this 
module abstracts threads/processes/RPC-calls by way of abstract 
executors with support for status checks, timeouts, cancellations, 
callbacks, access to results or exceptions. futures makes it easier to 
switch from one concurrent implementation to another, eg: from thread to 
process pool.


* PYC repository directories: Ever faced with .pyc conflicts between 
multiple Python versions? Python 3.2 introduced a new bytecode caching 
mechanism: foo.pyc gets a new name: __pycache__/foo.cpython-32.pyc 
(similarly for .so files) ... thus properly fixing such conflicts, even 
across different Python interpreter implementations.


* WSGI for Python 3: The WSGI spec is now adapted for Python3's 
bytes/text distinction. See PEP  for details.


For the complete list of changes, see
http://docs.activestate.com/activepython/3.2/python/whatsnew/3.2.html


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\pypm install numpy
  [...]

  C:\python
 import numpy.linalg


PyPM module availability for 3.2 can be seen at:

  http://code.activestate.com/pypm/tag:python3/

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)

- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


[issue11224] 3.2: tarfile.getmembers causes 100% cpu usage on Windows

2011-02-20 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Lars, the attached patch fixes the issue. I'll add this to ActivePython 3.2. 
Thanks.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11224
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11224] 3.2: tarfile.getmembers causes 100% cpu usage on Windows

2011-02-16 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

tarfile.getmembers has become extremely slow on Windows. This was triggered in 
r85916 by Lars Gustaebel on Oct 29, 2010 to add read support for all missing 
variants of the GNU sparse extensions.

To reproduce, use this tgz file:

  
http://pypm-free.activestate.com/3.2/win32-x86/pool/a/as/as.mklruntime-1.2_win32-x86_3.2_1.pypm

It contains another tgz file called data.tar.gz. Run `.getmembers()` on 
data.tar.gz.

...

This invokes tarfile._FileInFile.read(...) that seems to be cause of slowness 
(or rather a hang). 

I had to workaround this issue by monkey-patching the above `read` function to 
revert the change:

+if sys.version_info[:2] = (3,2):
+import tarfile
+class _FileInFileNoSparse(tarfile._FileInFile):
+def read(self, size):
+if size is None:
+size = self.size - self.position
+else:
+size = min(size, self.size - self.position)
+self.fileobj.seek(self.offset + self.position)
+self.position += size
+return self.fileobj.read(size)
+tarfile._FileInFile = _FileInFileNoSparse
+LOG.info('Monkey patching `tarfile.py` to disable part of r85916 (py3k)')

We caught this bug as part of testing ActiveState PyPM on Python 3.2
http://bugs.activestate.com/show_bug.cgi?id=89376#c3

If you want the easiest way to reproduce this, I can send you (in private) an 
internal build of ActivePython-3.2 containing PyPM. Running pypm install 
numpy (with breakpoints in tarfile.py) is all that is required to reproduce.

--
components: Library (Lib), Windows
messages: 128685
nosy: lars.gustaebel, srid
priority: normal
severity: normal
status: open
title: 3.2: tarfile.getmembers causes 100% cpu usage on Windows
type: resource usage
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11224
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 2.7.1.4 is now available

2011-02-15 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.1.4, a complete, 
ready-to-install binary distribution of Python 2.7.


http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.7.1.4
==

*Release date: 14-Feb-2011*

New Features  Upgrades
---

- Upgrade to PyPM 1.3.1:

  - Programmatic use via ``pypm.cmd(['install', 'foo'])``
  - Support for postinstall and conditional user-notes

- Upgraded the following packages:

  - SQLAlchemy-0.6.6


Noteworthy Changes  Bug Fixes
--

- PyPM bug fixes:

  - Bug #88791: fail immediately for missing dependencies
  - Fix needless truncation of output when piping (eg: ``pypm list | 
less``)

  - Respect download cache of ``*.pypm`` packages (don't redownload)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
 import MySQLdb


See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


ANN: ActivePython 2.7.1.4 is now available

2011-02-14 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.1.4, a complete, 
ready-to-install binary distribution of Python 2.7.


http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.7.1.4
==

*Release date: 14-Feb-2011*

New Features  Upgrades
---

- Upgrade to PyPM 1.3.1:

  - Programmatic use via ``pypm.cmd(['install', 'foo'])``
  - Support for postinstall and conditional user-notes

- Upgraded the following packages:

  - SQLAlchemy-0.6.6


Noteworthy Changes  Bug Fixes
--

- PyPM bug fixes:

  - Bug #88791: fail immediately for missing dependencies
  - Fix needless truncation of output when piping (eg: ``pypm list | 
less``)

  - Respect download cache of ``*.pypm`` packages (don't redownload)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
 import MySQLdb


See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2011-02-08 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

There is a bug with the patch. The first argument to the `start` command, if a 
quoted string, becomes the Window title, not the command to execute. Hence, 
idle.pyw is directly executed by Windows. Here's the correct command line:

start IDLELAUNCH %CURRDIR%..\..\pythonw.exe %CURRDIR%idle.pyw %1 %2 %3 %4 
%5 %6 %7 %8 %9

Could you make this fix part of the upcoming 3.2?

--
status: closed - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6378
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2011-01-26 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Terry J. Reedy wrote:
 Terry J. Reedytjre...@udel.edu  added the comment:

 I have the impression that there has been progress on tcl/tk on Apple in the 
 last 7 months. Should this issue still be open, and if so, for both 2.7 and 
 3.2?

 From http://www.python.org/download/mac/tcltk/ - it seems that 3.2's 
64-bit build will use ActiveTcl 8.5 that is now built with 64-bit. But 
2.7 still uses 8.4.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9045
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 2.6.6.18 is now available

2011-01-21 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.18, a complete, 
ready-to-install binary distribution of Python 2.6. Among other updates, 
this releases brings postinstall support to PyPM to facilitate 
installation of modules such as PyIMSL.


http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.6.6.18
===

New Features  Upgrades
---

- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 
8.5 on OSX)

- Upgrade to PyPM 1.3.0:

  - Programmatic use via ``pypm.cmd(['install', 'foo'])``
  - Support for postinstall and conditional user-notes

- Package updates:

  - pip-0.8.2


Noteworthy Changes  Bug Fixes
--

- [Windows 64-bit] `issue8275 http://bugs.python.org/issue8275`_: turn 
off optimization for the ctypes module

- PyPM bug fixes:

  - Fix needless truncation of output when piping (eg: ``pypm list | 
less``)

  - Respect download cache of ``*.pypm`` packages (don't redownload)
  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x



What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


ANN: ActivePython 2.6.6.18 is now available

2011-01-20 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.18, a complete, 
ready-to-install binary distribution of Python 2.6. Among other updates, 
this releases brings postinstall support to PyPM to facilitate 
installation of modules such as PyIMSL.


http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.6.6.18
===

New Features  Upgrades
---

- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 
8.5 on OSX)

- Upgrade to PyPM 1.3.0:

  - Programmatic use via ``pypm.cmd(['install', 'foo'])``
  - Support for postinstall and conditional user-notes

- Package updates:

  - pip-0.8.2


Noteworthy Changes  Bug Fixes
--

- [Windows 64-bit] `issue8275 http://bugs.python.org/issue8275`_: turn 
off optimization for the ctypes module

- PyPM bug fixes:

  - Fix needless truncation of output when piping (eg: ``pypm list | 
less``)

  - Respect download cache of ``*.pypm`` packages (don't redownload)
  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x



What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Sandro Tosi wrote:
 Sridhar, are you still seeing this error?

I still see the error with Python 2.7.1.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9671
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Dave Malcolm wrote:
 I should note that Fedora Core 4 reached its End of Life at August 2006:
 http://fedoraproject.org/wiki/End_of_life

 Do you see this with a more up-to-date version of Fedora?

I don't have access to other versions of FC at the moment.

Hmm, if this bug is specific to a EoL'ed version FC, then perhaps this 
issue can be closed as WontFix?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9671
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-23 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Sounds good, but this doesn't belong to the virtualenv bug tracker (virtualenv 
does even support Python 3). Instead, it belongs to the virtualenv5 tracker: 
http://code.google.com/p/virtualenv5/issues/detail?id=6

--
resolution:  - invalid
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10743
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10761] tarfile.extractall fails to overwrite symlinks

2010-12-22 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

tarfile.extractall overwrites normal files and directories, yet it fails to 
overwrite symlinks:

  [..]
tf.extractall()
  File /opt/ActivePython-2.7/lib/python2.7/tarfile.py, line 2046, in 
extractall
self.extract(tarinfo, path)
  File /opt/ActivePython-2.7/lib/python2.7/tarfile.py, line 2083, in extract
self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
  File /opt/ActivePython-2.7/lib/python2.7/tarfile.py, line 2167, in 
_extract_member
self.makelink(tarinfo, targetpath)
  File /opt/ActivePython-2.7/lib/python2.7/tarfile.py, line 2243, in makelink
os.symlink(tarinfo.linkname, targetpath)
OSError: [Errno 17] File exists

To reproduce, use a .tar.gz file containing relative (i.e., in the same 
directory) symlinks.

Perhaps it should delete `targetpath` before attempting to create a symlink.

--
components: Library (Lib)
messages: 124523
nosy: srid
priority: normal
severity: normal
status: open
title: tarfile.extractall fails to overwrite symlinks
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10761
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2010-12-21 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

I noticed that despite ActivePerl being installed, `os.popen(...).close()` 
returned 1 (see find_working_perl in build_ssl.py), while in actuality that 
command executed successfully with return code 0; I verified this by using the 
subprocess module.

Here's a patch:

--- python/PCbuild/build_ssl.py.orig
+++ python/PCbuild/build_ssl.py
@@ -45,11 +45,11 @@
 # Being a Perl dummy, the simplest way I can check is if the Win32 package
 # is available.
 def find_working_perl(perls):
+import subprocess
 for perl in perls:
-fh = os.popen('%s -e use Win32;' % perl)
-fh.read()
-rc = fh.close()
-if rc:
+try:
+subprocess.check_call('%s -e use Win32;' % perl, shell=True)
+except subprocess.CalledProcessError:
 continue
 return perl
 print(Can not find a suitable PERL:)

--
components: Build, Windows
messages: 124467
nosy: srid
priority: normal
severity: normal
status: open
title: build_ssl.py is relying on unreliable behaviour of os.popen
type: compile error
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10752
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10747] Include version info in Windows shortcuts

2010-12-21 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
nosy: +srid

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10747
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8275] callback function on win64 results in bad behavior. mem corruption?

2010-12-21 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Attaching a patch for the configuration changes mentioned in msg102544

--
keywords: +patch
nosy: +srid
Added file: 
http://bugs.python.org/file20134/issue8275_win64_ctypes_no_optimization.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8275
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-20 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

From http://code.google.com/p/virtualenv5/issues/detail?id=6 - it seems that 
the `sysconfig` module is looking for Makefile in wrong directory, while 
ideally it must be looking into the base Python install.

 import sysconfig; sysconfig.get_paths('purelib')
Traceback (most recent call last):
  File 
/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/sysconfig.py, 
line 332, in _init_posix
_parse_makefile(makefile, vars)
  File 
/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/sysconfig.py, 
line 220, in _parse_makefile
with open(filename, errors=surrogateescape) as f:
IOError: [Errno 2] No such file or directory: 
'/tmp/e/lib/python3.2/config-3.2m/Makefile'

--
assignee: tarek
components: Distutils, Macintosh
messages: 124405
nosy: eric.araujo, srid, tarek
priority: normal
severity: normal
status: open
title: 3.2's sysconfig doesn't work with virtualenv
type: behavior
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10743
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 2.7.1.3 is now available

2010-12-14 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.1.3, a complete, 
ready-to-install binary distribution of Python 2.7.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.7.1.3
==

*Release date: 6-Dec-2010*

New Features  Upgrades
---

- Upgrade to Python 2.7.1 (`release notes
  http://svn.python.org/projects/python/tags/r271/Misc/NEWS`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 8.5 on
  OSX)
- Upgrade to PyPM 1.2.6; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation
  - Faster startup (performance) especially on Windows.
  - Rewrite of an improved dependency algorithm (#88038)
  - install/uninstall now accepts the --nodeps option
  - 'pypm install url' to directly download and install a .pypm file
  - 'pypm show' improvements
- 'pypm show' shows other installed packages depending on the shown package
- 'pypm show' accepts --rdepends to show the list of dependents
- 'pypm show' shows extra dependencies (for use in the 'install' cmd)
- 'pypm show' lists all available versions in the repository
- 'pypm freeze' to dump installed packages as requirements (like 'pip 
freeze')
  - Support for pip-stye requirements file ('pypm install -r requirements.txt')

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8.2
  - SQLAlchemy-0.6.5
  - virtualenv-1.5.1

Noteworthy Changes  Bug Fixes
--

- Bug #87951: Exclude PyPM install db to prevent overwriting user's database.
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug 
#87783
- [Windows] Renamed python27.exe to python2.7.exe (Unix like)
- [Windows] Include python2.exe
- PyPM bug fixes:

  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x
  - Bug #87764: 'pypm upgrade' will not error out for missing packages
  - Bug #87902: fix infinite loops with cyclic package dependencies (eg: plone)
  - Bug #88370: Handle file-overwrite conflicts (implement --force)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

sridh...@activestate.com
http://www.activestate.com

Get insights on Open Source

ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.1.3, a complete, 
ready-to-install binary distribution of Python 2.7.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.7.1.3
==

*Release date: 6-Dec-2010*

New Features  Upgrades
---

- Upgrade to Python 2.7.1 (`release notes
  http://svn.python.org/projects/python/tags/r271/Misc/NEWS`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 8.5 on
  OSX)
- Upgrade to PyPM 1.2.6; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation
  - Faster startup (performance) especially on Windows.
  - Rewrite of an improved dependency algorithm (#88038)
  - install/uninstall now accepts the --nodeps option
  - 'pypm install url' to directly download and install a .pypm file
  - 'pypm show' improvements
- 'pypm show' shows other installed packages depending on the shown package
- 'pypm show' accepts --rdepends to show the list of dependents
- 'pypm show' shows extra dependencies (for use in the 'install' cmd)
- 'pypm show' lists all available versions in the repository
- 'pypm freeze' to dump installed packages as requirements (like 'pip 
freeze')
  - Support for pip-stye requirements file ('pypm install -r requirements.txt')

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8.2
  - SQLAlchemy-0.6.5
  - virtualenv-1.5.1

Noteworthy Changes  Bug Fixes
--

- Bug #87951: Exclude PyPM install db to prevent overwriting user's database.
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug 
#87783
- [Windows] Renamed python27.exe to python2.7.exe (Unix like)
- [Windows] Include python2.exe
- PyPM bug fixes:

  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x
  - Bug #87764: 'pypm upgrade' will not error out for missing packages
  - Bug #87902: fix infinite loops with cyclic package dependencies (eg: plone)
  - Bug #88370: Handle file-overwrite conflicts (implement --force)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

sridh...@activestate.com
http://www.activestate.com

Get insights on Open Source

Re: ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar

On 2010-12-13, at 10:38 AM, pyt...@bdurham.com wrote:

 [SRID] Release notes for 2.7.1.3 [...]
 [SRID] - Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
 Do the Windows versions of ActivePython 2.7.1.3 have different versions
 of Tcl/Tk, sqlite3(.dll), and/or openssl (_ssl.pyd?) than the python.org
 builds of Python 2.7.1?

You can find the versions used in ActivePython here,
http://docs.activestate.com/activepython/2.7/whatsincluded.html

We generally build with the latest compatible version of extensions (except for 
Tcl/Tk on 2.5/2.6/3.1 as python.org still uses 8.4) ... but that should not be 
an issue with 2.7 as I believe that the python.org MSI installer is now using 
Tcl/Tk 8.5 (albeit with an older patch-level version?) to support the new `ttk` 
module in 2.7+.

Does that answer your query?

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar

On 2010-12-13, at 11:50 AM, Terry Reedy wrote:

 On 12/13/2010 1:48 PM, Sridhar Ratnakumar wrote:
 
 We generally build with the latest compatible version of extensions
 (except for Tcl/Tk on 2.5/2.6/3.1 as python.org still uses 8.4) ...
 
 The PSF 3.1 Windows installer ships with tcl/tk 8.5 and ttk support.
 You ought to too.

ActivePython (APy) 2.5+/3.1+ already use Tcl/Tk 8.5 ... I was referring to the 
PSF installers (hence the mismatch in versions between APy and PSF). Maybe that 
was changed in 3.1.3.

 but that should not be an issue with 2.7 as I believe that the
 python.org MSI installer is now using Tcl/Tk 8.5 (albeit with an
 older patch-level version?) to support the new `ttk` module in 2.7+.
 
 For 3.1.3 and 3.2, the tcl/tk85.libs are dated 8/28/2010. Don't know what 
 that means though.

I did this for ActivePython 2.7,

 import Tkinter
 root = Tkinter.Tk()
 root.tk.eval('info patchlevel')
'8.5.9'


-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar

On 2010-12-13, at 4:21 PM, Terry Reedy wrote:

 On 12/13/2010 4:23 PM, Sridhar Ratnakumar wrote:
 
 The PSF 3.1 Windows installer ships with tcl/tk 8.5 and ttk support.
 
 Maybe that was changed in 3.1.3.
 
 No, 3.1 (not sure of 3.0) has always used 8.5 on windows and included
 tkinter.ttk module.

Ok, good to know.

 I did this for ActivePython 2.7,
 
 import Tkinter
 root = Tkinter.Tk()
 root.tk.eval('info patchlevel')
 '8.5.9'
 
 8.5.2 here. Are there noticeable improvements?

Nothing I can think of except module updates and bug fixes[1],
http://wiki.tcl.tk/405

I don't know how dependencies are managed when building PSF installers. From my 
experience, updating to newer tcl/tk patchlevel releases never broke the 
ActivePython build.

-srid

[1] David wanted to use =8.5.8 due to a specific bug fix, 
http://community.activestate.com/forum/version-859-under-mac-os-x-am-i-getting-it
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.1.3.5 is now available

2010-12-11 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.1.3.5, a complete, 
ready-to-install binary distribution of Python 3.1.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-3.1.3.5
==

*Release date: 6-Dec-2010*

New Features  Upgrades
---

- Upgrade to Python 3.1.3 (`release notes
  http://svn.python.org/projects/python/tags/r313/Misc/NEWS`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 8.5 on
  OSX)
- Upgrade to PyPM 1.2.6; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation

- Upgraded the following packages:

  - SQLAlchemy-0.6.5
  - virtualenv5-1.3.4.5

Noteworthy Changes  Bug Fixes
--

- [MacOSX] Include missing architecture binaries - Bug #88876
- PyPM bug fixes:

  - depgraph: Fix a bug with missing extra in install_requires - Bug #88825
  - depgraph: Fix a bug with double-marking a package for upgrade 
  - Bug #88664: handle cyclic dependencies in the depgraph algorithm
  - Ignore comments (starting with #) in the requirements file
  - Fix: ignore empty lines in requirements.txt
  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

sridh...@activestate.com
http://www.activestate.com

Get insights on Open Source and Dynamic Languages at 
www.activestate.com/blog

-- 
http://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


ANN: ActivePython 3.1.3.5 is now available

2010-12-10 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.1.3.5, a complete, 
ready-to-install binary distribution of Python 3.1.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-3.1.3.5
==

*Release date: 6-Dec-2010*

New Features  Upgrades
---

- Upgrade to Python 3.1.3 (`release notes
  http://svn.python.org/projects/python/tags/r313/Misc/NEWS`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes http://wiki.tcl.tk/26961`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 8.5 on
  OSX)
- Upgrade to PyPM 1.2.6; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation

- Upgraded the following packages:

  - SQLAlchemy-0.6.5
  - virtualenv5-1.3.4.5

Noteworthy Changes  Bug Fixes
--

- [MacOSX] Include missing architecture binaries - Bug #88876
- PyPM bug fixes:

  - depgraph: Fix a bug with missing extra in install_requires - Bug #88825
  - depgraph: Fix a bug with double-marking a package for upgrade 
  - Bug #88664: handle cyclic dependencies in the depgraph algorithm
  - Ignore comments (starting with #) in the requirements file
  - Fix: ignore empty lines in requirements.txt
  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

sridh...@activestate.com
http://www.activestate.com

Get insights on Open Source and Dynamic Languages at 
www.activestate.com/blog

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.6.6.17 is now available

2010-11-28 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.17, a complete, 
ready-to-install binary distribution of Python 2.6.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.6.6.17
===

*Release date: 19-Nov-2010*

New Features  Upgrades
---

- Security upgrade to openssl-0.9.8p
- Upgrade to PyPM 1.2.5; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation
  - depgraph bug fixes (Bug #88664, #88825)
  - Fix: ignore empty lines in requirements.txt
  - Ignore comments (starting with #) in the requirements file

What's New in ActivePythonEE-2.6.6.16
=

*Release date: 05-Nov-2010*

New Features  Upgrades
---

- Upgrade to PyPM 1.2.3; noteworthy changes:

  - Faster startup (performance) especially on Windows.
  - Rewrite of an improved dependency algorithm (#88038)
  - install/uninstall now accepts the --nodeps option
  - 'pypm install url' to directly download and install a .pypm file
  - 'pypm show' shows other installed packages depending on the shown package
  - 'pypm show' accepts --rdepends to show the list of dependents
  - 'pypm show' shows extra dependencies (for use in the 'install' cmd)
  - 'pypm show' lists all available versions in the repository
  - 'pypm freeze' to dump installed packages as requirements (like 'pip freeze')
  - Support for pip-stye requirements file ('pypm install -r requirements.txt')
  - Bug #87764: 'pypm upgrade' will not error out for missing packages
  - Bug #87902: fix infinite loops with cyclic package dependencies (eg: plone)
  - Bug #88370: Handle file-overwrite conflicts (implement --force)

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8.1
  - SQLAlchemy-0.6.5
  - virtualenv-1.5.1


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into Python, 
the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka AMD64)
- Mac OS X  (32-bit and 64-bit; 10.5+)
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka AMD64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

sridh...@activestate.com
http://www.activestate.com

Get insights on Open Source and Dynamic Languages at 
www.activestate.com/blog

-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: PyPM Index - build notification by author; import data

2010-11-25 Thread Sridhar Ratnakumar

Hi,

There are, now, a couple more features to the previously announced PyPM 
Index that I think would be of interest if you are a developer of Python 
packages on PyPI.


1. an RSS feed for each author that shows the recently failing builds 
(eg: to identify bugs in releases)
2. The import feature shows if multiple packages provide the same 
import (eg: site-packages/tests) ... and, map packages to imports and 
vice-versa. See the import conflicts section for interesting set of cases.


For more details, see my blog post:
http://www.activestate.com/blog/2010/11/python-pypm-index-author-build-notification-imports-recipes-integration

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts
http://www.activestate.com/

On 11/10/2010 5:08 PM, Sridhar Ratnakumar wrote:

Hi,

I'd like to announce the availability of PyPM Index - frontend to 
browse/search Python packages available in the PyPM repository:


  http://code.activestate.com/pypm/

The site also has some nifty features that, I think, may be of use to 
package authors:


  1. Author pages
  2. Build RSS notification (released with a setup.py bug?)
  3. Dependency information

For more details, see this blog post:
http://www.activestate.com/blog/2010/11/pypm-index-python-developers



--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


Re: How to install uTidylib, easy_install problem

2010-11-22 Thread Sridhar Ratnakumar

On 2010-11-22, at 4:22 PM, goldtech wrote:

 I'm using activepython 2.6 on XP. I am trying to install uTidylib 0.2
 with easy_install.  I like uTidylib more vs. newer modules.and want to
 use it. I get output below. How do I install it? I do see it in
 http://pypi.python.org/simple/uTidylib/
 
 Thanks.
 
 C:\Documents and Settings\user1easy_install uTidylib
 install_dir C:\Python26\Lib\site-packages\
 Searching for uTidylib
 Reading http://pypi.python.org/simple/uTidylib/
 Reading http://utidylib.sf.net
 No local packages or download links found for uTidylib
 error: Could not find suitable distribution for
 Requirement.parse('uTidylib')

You could try using the Windows installer (uTidylib-0.2.1.win32.exe) from:
 http://developer.berlios.de/project/showfiles.php?group_id=1810

And perhaps also let Cory Dodt know that his 6-year old package entry has 
broken download link in it
http://pypi.python.org/pypi/uTidylib/

There is not even a source release for 0.2.1.  I'd be more than happy to make 
this available in PyPM http://code.activestate.com/pypm/utidylib/ once I can 
find at least the source release of 0.2.1

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2010-11-22 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

PYTHONIOENCODING=UTF-8 python test2.py does work.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6166
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-11-21 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Brian,

The following line:

  start %CURRDIR%..\..\pythonw.exe %CURRDIR%idle.pyw %1 %2 %3 %4 %5 %6 %7 %8 %9

should be changed to:

  start %CURRDIR%..\..\pythonw.exe %CURRDIR%idle.pyw %1 %2 %3 %4 %5 %6 %7 
%8 %9

This is required if Python is installed into a directory with whitespace in its 
path.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6378
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

When extracting a zip file containing deep hierarchy files, `extractall` throws 
IOError on Windows - perhaps due to limitation in Windows max path length. 
Ideally it should be throwing an instance of zipfile.ZipError - so that 
application can handle it reliably. An IOError can mean a wide range of errors, 
so it is pointless to catch IOError and ignore it.

To reproduce, run extractall over 
http://pypi.python.org/packages/source/c/collective.generic.skel/collective.generic.skel-0.1.0.zip
 using Python 2.6.6 or Python 2.7

 python -c import zipfile
; f=zipfile.ZipFile('collective.generic.skel-0.1.0.zip'); f.extractall()
Traceback (most recent call last):
  File string, line 1, in module
  File C:\Python27\lib\zipfile.py, line 923, in extractall
self.extract(zipinfo, path, pwd)
  File C:\Python27\lib\zipfile.py, line 911, in extract
return self._extract_member(member, path, pwd)
  File C:\Python27\lib\zipfile.py, line 955, in _extract_member
target = file(targetpath, wb)
IOError: [Errno 2] No such file or directory: 'C:\\Documents and Settings\\apy\\
My Documents\\Downloads\\collective.generic.skel-0.1.0\\src\\collective\\generic
\\skel\\skin\\tmpl\\+namespace++ndot++nested_namespace+.+project_name+\\src\\+na
mespace+\\+nested_namespace+\\+project_name+\\profiles\\default\\+namespace++ndo
t++nested_namespace+.+project_name+_various.txt_tmpl'

--
components: Library (Lib), Windows
messages: 121376
nosy: srid
priority: normal
severity: normal
status: open
title: zipfile: IOError for long directory paths on Windows
type: behavior
versions: Python 2.6, Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10447
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

It appears that there is no base class (zipfile.ZipError) for zipfile errors. 
Maybe there should be? At the moment, I do:

try:
   [...]
except zipfile.BadZipFile, zipfile.LargeZipFile:
   [...]

.. which is of course unreliable. There is no guarantee that a new exception 
class will not be added to zipfile (thus necessitating me to change my code). 
Better to have a single base class - zipfile.ZipError similar to TarError 
http://docs.python.org/library/tarfile.html#tarfile.TarError

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10447
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

 How would you implement this? And would you turn a disk full error, for 
 example, into a ZipError as well?

I see your point. I am not sure what a reliable way to do this would be. For 
the record, this is how I workaround it:
https://github.com/ActiveState/applib/blob/master/applib/_compression.py#L78
(I cannot find any other reason for an IOError/errno=2 during extraction)

And I, personally, wouldn't turn the disk full error into a ZipError.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10447
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2001] Pydoc interactive browsing enhancement

2010-11-17 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
nosy:  -srid

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2001
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: Making ActivePython and Python co-exist on Windows

2010-11-08 Thread Sridhar Ratnakumar

On 2010-11-07, at 12:34 PM, Benjamin Kaplan wrote:

 On Sun, Nov 7, 2010 at 2:25 PM, CWC c...@cwc.name wrote:
 I'm new to Python.  Is it possible to make ActivePython 3.12 and
 Python 3.12 co-exist on Windows?  I've got an app which requires the
 former, but I want to stay with the latter, since I'm interested in
 getting into development.  The main area of collision appears to be
 the Registry.
 --
 
 ActivePython is the same thing as the normal Python. They just
 bundle the standard Python 3.1.2 distribution with a couple of extra
 packages in a convenient installer for you.

Yup. And as the documentation details, 
http://docs.activestate.com/activepython/3.1/whatsincluded.html
ActivePython includes PyWin32, Tkinter based on Tk 8.5 ... and PyPM for easy 
package management,
http://code.activestate.com/pypm/

-srid

-- 
http://mail.python.org/mailman/listinfo/python-list


[issue6645] multiprocessing build fails on AIX - /dev/urandom (or equivalent) not found

2010-10-29 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

No, this is not an issue for me on Python 3.2 and AIX 5.1.

--
versions:  -Python 2.7, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6645
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 3.1.2.4 (with PyPM) is now available

2010-10-28 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.1.2.4, a complete, 
ready-to-install binary distribution of Python 3.1. A major update in 
this release is that PyPM (ActiveState's Python Package Manager) is now 
included with full support for installing Python 3 packages.


http://www.activestate.com/activepython

What's New in ActivePython-3.1.2.4
==

*Release date: 26-Oct-2010*

New Features  Upgrades
---

- PyPM (beta) for Python 3
- New tools: Distribute, virtualenv5, SQLAlchemy
- [Windows] Installer upgrade: automatically uninstall previous versions 
- Bug #87783

- [MacOSX] 64-bit support; uses Tcl/Tk 8.5
- [Linux] Include Tcl/Tk development files
- Security upgrade to openssl-0.9.8o

Noteworthy Changes  Bug Fixes
--

- [Windows] Include IDLE in the Start Menu shortcut, instead of PythonWin
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465
- [Windows] Add python3.exe - Bug #87275
- [Windows] Renamed python31.exe to python3.1.exe (Unix like)
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- Bug #87600: create a `idleX.Y` script on unix


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka AMD64)
- Mac OS X  (32-bit and 64-bit; 10.5+)
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka AMD64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


[issue10222] 3.2 on AIX - Unexpected text ',' encountered.

2010-10-28 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

Parser/tokenizer.h, line 18.17: 1506-275 (S) Unexpected text ',' encountered.

http://svn.python.org/view/python/branches/py3k/Parser/tokenizer.h?annotate=76232#l16

Extra comma in the following line:

  STATE_NORMAL, /* have a codec associated with input */

Introduced by neil.schem in r58226

--
components: Build
messages: 119809
nosy: nascheme, srid
priority: normal
severity: normal
status: open
title: 3.2 on AIX -  Unexpected text ',' encountered.
type: compile error
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10222
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 3.1.2.4 (with PyPM) is now available

2010-10-27 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.1.2.4, a complete, 
ready-to-install binary distribution of Python 3.1. A major update in 
this release is that PyPM (ActiveState's Python Package Manager) is now 
included with full support for installing Python 3 packages.


http://www.activestate.com/activepython

What's New in ActivePython-3.1.2.4
==

*Release date: 26-Oct-2010*

New Features  Upgrades
---

- PyPM (beta) for Python 3
- New tools: Distribute, virtualenv5, SQLAlchemy
- [Windows] Installer upgrade: automatically uninstall previous versions 
- Bug #87783

- [MacOSX] 64-bit support; uses Tcl/Tk 8.5
- [Linux] Include Tcl/Tk development files
- Security upgrade to openssl-0.9.8o

Noteworthy Changes  Bug Fixes
--

- [Windows] Include IDLE in the Start Menu shortcut, instead of PythonWin
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465
- [Windows] Add python3.exe - Bug #87275
- [Windows] Renamed python31.exe to python3.1.exe (Unix like)
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- Bug #87600: create a `idleX.Y` script on unix


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka AMD64)
- Mac OS X  (32-bit and 64-bit; 10.5+)
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka AMD64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: ActivePython 3.1.2.4 (with PyPM) is now available

2010-10-27 Thread Sridhar Ratnakumar

On 2010-10-27, at 11:39 AM, John Nagle wrote:

 On 10/27/2010 11:26 AM, Sridhar Ratnakumar wrote:
 ActiveState is pleased to announce ActivePython 3.1.2.4, a complete,
 ready-to-install binary distribution of Python 3.1
 ...
 
 New Features  Upgrades
 
 - [Windows] Installer upgrade: automatically uninstall previous versions
 - Bug #87783
 
 
 Does this mean it trashes installations of previous versions? Or can
 multiple versions coexist?

Only if that previous version is a patch-level release. For example, 
ActivePython 3.1.2.4 will uninstall the following:

  3.1.2.3
  3.1.1.2

but not the following (which can, of course, co-exist):

  3.0.x.y
  2.7.x.y
  2.6.x.y
 ...

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Starting Python in XP Pro

2010-10-19 Thread Sridhar Ratnakumar
Hi Grant,

Typing the following opens IDLE (albeit after a short delay; the command will 
immediately return regardless) for me:

  C:\ C:\Python26\lib\idlelib\idle.bat

IDLE is also installed in the Start Menu for ActivePython.

You need at least ActivePython 2.6.6.15 or 2.7.0.2 for this to work.

-srid

On 2010-10-19, at 12:06 PM, Grant Andrew wrote:

 1. Okay, I can open the interpreter and do math.  If only I needed the answer 
 to 6*7 I'd be great.  But, to your point, Python is installed and working.
 
 2.  When I went to the shortcut and hit properties, the path was 
 
 Target: C:\Python26\Lib\idlelib\idle.bat
 Start in: C:\Python26\
 
 I cd'd to C:\Python26\ at the command prompt and ran Lib\idlelib\idle.bat.
 
 It just reprints C:\Python26\ with no error or message.  Looks like this:
 
 C:\Python26Lib\idlelib\idle.bat
 C:\Python26
 
 3.  I created a simple file in Wordpad that prints a few lines.  It is called 
 Print.py but I'm not sure where the 'code' folder is.  I'm not familiar 
 enough with Python to locate a file from the Interpreter and open it.  
 
 4.  I also tried editing the PATH variable, which did have both versions in 
 it, but with no success - same error.  
 
 
 Thanks for your help...
 
 Grant
 
 
 On Sun, Oct 17, 2010 at 4:17 AM, Dave Angel da...@ieee.org wrote:
  On 10/16/2010 11:27 PM, Grant Andrew wrote:
 I hear that...God knows if I had a more complete question, I'd type it -
 basically, when I click the IDLE GUI icon from the Start Menu, there is a
 flash of a command prompt loading, then nothing happens.
 
 I've tried a number of things at the command prompt over the last two weeks
 and five versions.  I went to ActiveState because I was thinking I had not
 configured something properly in the Python.org versions, however, the
 behavior is the same.
 
 I ran C:\C:\python26\lib\idlelib\idle.py at the command prompt and that
 returned:
 
 snip
 
 You probably need to start with fundamentals.  That means using a command 
 prompt.  As you've noticed, many times a program started from the start menu 
 doesn't leave its command window open long enough to read the messages.
 
 I'm afraid I can't really help with Idle;  I've never tried using it, till 
 today.  When I start if from ActiveState's menu, it flashes and exits for me 
 as well.  Perhaps because we both have Thinkpads.  I notice the IBMTools 
 directory in your traceback.  Perhaps there's an old version of TCL there 
 that's interfering with the one Idle needs.  To start debugging it, figure 
 out what the menu shortcut is doing, and do it yourself from a command 
 window.  In my case,  StartIdle-right-click-properties-shortcut shows me:
 
 Target  C:\Progfiles\ActivePython26\Lib\idlelib\idle.bat
 Start in:  c:\progfiles\activePython26
 
 So you CD to the latter directory (or rather, to your equivalent one), and 
 type lib\idlelib\idle.bat
 
 When I do that, I get an error message: IDLE's subprocess didn't make 
 connection.  Either IDLE can't start a subprocess or personal firewall 
 software is blocking.
 
 But let's get your python itself working.  ActivePython's install adds itself 
 to your path, so you should be able to just type
 python
  or   python26
 
 at the C: prompt, and get a Python interpreter prompt.  Then do something like
  print 3*4
 
 to see if it's working.
 
 Next, write a small xxx.py  program, in your code directory, and NOT in the 
 Python install directory.  From that code directory, type
 python  xxx.py
 
 or whatever you called it.  Let us know if it works.
 
 Only then should you worry about associations.  You can check them with assoc 
 and ftype, but people tell me that's not reliable if there is more than one 
 user on the machine, or specifically if you have created user-specific 
 associations, which take precedence over the ones in assoc and ftype.
 
 DaveA
 
 
 
 -- 
 http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


[issue10074] dictobject.c: crash in Py_XDECREF

2010-10-12 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

I noticed that Python 2.6.6 crashes on OSX 10.6 when using Komodo. The below 
traceback indicates a crash in line 911 - Py_XDECREF(ep-me_value); in 
tags/r266/Objects/dictobject.c

Thread 0:  Dispatch queue: com.apple.main-thread
0   org.activestate.ActivePython26  0x129a3716 dict_dealloc + 82 
(dictobject.c:911)
1   org.activestate.ActivePython26  0x12976ed1 instance_dealloc + 437 
(classobject.c:669)
2   org.activestate.ActivePython26  0x129a3752 dict_dealloc + 142 
(dictobject.c:907)
3   org.activestate.ActivePython26  0x129bfcdd subtype_dealloc + 884 
(typeobject.c:1004)
4   org.activestate.ActivePython26  0x12994f96 list_dealloc + 212 
(listobject.c:306)
5   org.activestate.ActivePython26  0x129a2f81 insertdict + 122 
(dictobject.c:459)
6   org.activestate.ActivePython26  0x129a33d9 PyDict_SetItem + 92 
(dictobject.c:701)
7   org.activestate.ActivePython26  0x129a8f2e PyObject_GenericSetAttr + 
262 (object.c:1504)
8   org.activestate.ActivePython26  0x129a7c2b PyObject_SetAttr + 135 
(object.c:1252)
9   org.activestate.ActivePython26  0x12a08132 PyEval_EvalFrameEx + 8529 
(ceval.c:1864)
10  org.activestate.ActivePython26  0x12a0bcaa PyEval_EvalFrameEx + 23753 
(ceval.c:3836)
11  org.activestate.ActivePython26  0x12a0bcaa PyEval_EvalFrameEx + 23753 
(ceval.c:3836)
12  org.activestate.ActivePython26  0x12a0cbca PyEval_EvalCodeEx + 1973 
(ceval.c:3000)
13  org.activestate.ActivePython26  0x12990d81 function_call + 162 
(funcobject.c:524)
14  org.activestate.ActivePython26  0x12963b46 PyObject_Call + 77 
(abstract.c:2492)
15  org.activestate.ActivePython26  0x12a08f3b PyEval_EvalFrameEx + 12122 
(ceval.c:4063)
16  org.activestate.ActivePython26  0x12a0cbca PyEval_EvalCodeEx + 1973 
(ceval.c:3000)
17  org.activestate.ActivePython26  0x12990d81 function_call + 162 
(funcobject.c:524)
18  org.activestate.ActivePython26  0x12963b46 PyObject_Call + 77 
(abstract.c:2492)
19  org.activestate.ActivePython26  0x12974615 instancemethod_call + 401 
(classobject.c:2579)
20  org.activestate.ActivePython26  0x12963b46 PyObject_Call + 77 
(abstract.c:2492)
21  org.activestate.ActivePython26  0x12968e47 PyObject_CallMethod + 154 
(abstract.c:2524)
22  libpyxpcom.dylib0x0078cdde 
PyXPCOM_XPTStub::CallMethod(unsigned short, XPTMethodDescriptor const*, 
nsXPTCMiniVariant*) + 242

Even though the traceback is for ActivePython (that Komodo includes), this 
seems to happen with the official Python binaries as well: 
http://www.gossamer-threads.com/lists/python/python/844086

--
assignee: ronaldoussoren
components: Interpreter Core, Macintosh
messages: 118449
nosy: ronaldoussoren, srid
priority: normal
severity: normal
status: open
title: dictobject.c: crash in Py_XDECREF
type: crash
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10074
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10074] dictobject.c: crash in Py_XDECREF

2010-10-12 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2010-10-12, at 11:49 AM, Ned Deily wrote:

 And what is libpyxpcom.dylib?  

Likely PyXPCOM
https://developer.mozilla.org/en/PyXPCOM

 As Ronald says, this is almost certainly a 3rd-party extension module problem.

Ok, I've made a note for Todd (current developer for PyXPCOM) here,
http://bugs.activestate.com/show_bug.cgi?id=88165#c5

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10074
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10074] dictobject.c: crash in Py_XDECREF

2010-10-12 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
nosy: +toddw

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10074
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: bzr 2.2.1 released !

2010-09-29 Thread Sridhar Ratnakumar
Hi,

It seems that you forgot to update PyPI - which lists 2.1.0rc1 as the latest 
version.

-srid

On 2010-09-28, at 7:20 AM, Vincent Ladeuil wrote:

 The Bazaar team is happy to announce availability of a new
 release of the bzr adaptive version control system.
 Bazaar is part of the GNU system http://gnu.org/.
 
 This is a bugfix release which also includes bugfixes from 2.0.6 and
 2.1.3. None are critical, but upgrading is recommended for all users on
 earlier 2.2 releases.
 
 Thanks to everyone who contributed patches, suggestions, and
 feedback.
 
 Bazaar is now available for download from
 
  https://launchpad.net/bzr/2.2/2.2.1/
 
 as a source tarball. Packages are already available for Ubuntu, FreeBSD
 and others. Installers are available for OSX, windows installers should
 be available Really Soon Now (watch the url above where they should pop
 up as soon as they become available).
 
 bzr 2.2.1
 #
 
 :2.2.1: 2010-09-17
 
 This is a bugfix release which also includes bugfixes from 2.0.6 and
 2.1.3. None are critical, but upgrading is recommended for all users on
 earlier 2.2 releases.
 
 Bug Fixes
 *
 
 * Additional merges after an unrelated branch has been merged with its
  history no longer crash when deleted files are involved.
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
 * ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
  previously-unversioned directory within the tree: the directory is
  marked versioned too.
  (Martin Pool, #192859)
 
 * ``bzr commit SYMLINK`` now works, rather than trying to commit the
  target of the symlink.
  (Martin Pool, John Arbash Meinel, #128562)
 
 * ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
  permissions as ``.bzr`` directory on a POSIX OS.
  (Parth Malwankar, #262450)
 
 * CommitBuilder now uses the committer instead of _config.username to generate
  the revision-id. (Aaron Bentley, #614404)
 
 * Configuration files in ``${BZR_HOME}`` are now written in an atomic
  way which should help avoid problems with concurrent writers.
  (Vincent Ladeuil, #525571)
 
 * Cope with Microsoft FTP server that returns reply '250 Directory
  created' when mkdir succeeds. (Martin Pool, #224373)
 
 * Don't traceback trying to unversion children files of an already
  unversioned directory. (Vincent Ladeuil, #494221)
 
 * Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
  contains only NUL bytes). Instead warn the user, and allow ``bzr
  break-lock`` to remove it. (Andrew Bennetts, #619872)
 
 * Fix ``AttributeError on parent.children`` when adding a file under a
  directory that was a symlink in the previous commit.
  (Martin Pool, #192859)
 
 * Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
  ``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
  stderr in some other circumstances. (Andrew Bennetts, #633745)
 
 * Only call ``setlocale`` in the bzr startup script on posix systems. This
  avoids an issue with the newer windows C runtimes used by Python 2.6 and
  later which can mangle bytestrings printed to the console.
  (Martin [gz], #631350)
 
 * Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
  which can result in missing referenced chk root keys errors when
  fetching from repositories with affected revisions.
  (Andrew Bennetts, #522637)
 
 * Raise ValueError instead of a string exception.
  (John Arbash Meinel, #586926)
 
 * Reduce peak memory by one copy of compressed text.
  (John Arbash Meinel, #566940)
 
 * Repositories accessed via a smart server now reject being stacked on a
  repository in an incompatible format, as is the case when accessing them
  via other methods. This was causing fetches from those repositories via
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
  (Andrew Bennetts, #562380)
 
 * Selftest with versions of subunit that support ``stopTestRun`` will no 
 longer
  error. This error was caused by 2.0 not being updated when upstream
  python merged the end of run patch, which chose ``stopTestRun`` rather than
  ``done``. (Robert Collins, #571437)
 
 * Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
  being thrown from ``xml_serializer`` on certain cElementTree setups.
  (Martin [gz], #254278)
 
 * Upgrading or fetching from a non-rich-root repository to a rich-root
  repository (e.g. from pack-0.92 to 2a) no longer fails with
  ``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
  a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
 
 * When passing a file to ``UTF8DirReader`` make sure to close the current
  directory file handle after the chdir fails. Otherwise when passing many
  filenames into a command line ``bzr status`` we would leak descriptors.
  (John Arbash Meinel, #583486)
 
 Documentation
 *
 
 * Fix a lot of references in the docs to 

Re: strange results from sys.version

2010-09-27 Thread Sridhar Ratnakumar

On 2010-09-27, at 4:30 PM, Robert Kern wrote:

 On 9/27/10 6:01 PM, John Machin wrote:
 I am trying to help a user of my xlrd package who says he is getting 
 anomalous
 results on his work computer but not on his home computer.
 
 Attempts to reproduce his alleged problem in a verifiable manner on his work
 computer have failed, so far ... the only meaning difference in script 
 output
 is in sys.version
 
 User (work): sys.version: 2.7 (r27:82500, Aug 23 2010, 17:18:21) etc
 Me : sys.version: 2.7 (r27:82525, Jul 4 2010, 09:01:59) etc
 
 I have just now downloaded the Windows x86 msi from www.python.org and
 reinstalled it on another computer. It gives the same result as on my primary
 computer (above).
 
 User result looks whacked: lower patch number, later date. www.python.org 
 says
 Python 2.7 was released on July 3rd, 2010.
 
 Is it possible that the work computer is using an unofficial release? What
 other possibilities are there?
 
 ActivePython 2.7.0.2 was released on Aug 25:
 
 http://downloads.activestate.com/ActivePython/releases/2.7.0.2/

John,

If it is ActivePython, the first line of the interactive shell (in credits 
section) should print something like:

  ActivePython 2.7.0.2 (ActiveState Software Inc.) 

Also what is the output of python -m activestate?

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: strange results from sys.version

2010-09-27 Thread Sridhar Ratnakumar

On 2010-09-27, at 4:01 PM, John Machin wrote:

 User (work): sys.version: 2.7 (r27:82500, Aug 23 2010, 17:18:21) etc
 Me : sys.version: 2.7 (r27:82525, Jul  4 2010, 09:01:59) etc
 
 [...] User result looks whacked: lower patch number, later date

Perusing http://svn.python.org/view/python/branches/release27-maint/?view=log - 
the difference in svn versions (there is no difference in patch number) seems 
insignificant. Both revisions are past the 2.7 final release. Perhaps, the 
python.org installer was created using a later revision.

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 2.6 bsddb

2010-09-21 Thread Sridhar Ratnakumar

On 2010-09-21, at 9:04 AM, garyr wrote:

 I recently installed ActivePython 2.6.6 and my programs that use anydbm or 
 shelve generate import errors because bsddb is missing. I installed bsddb3 
 (bsddb3-5.0.0.win32-py2.6.exe) but that didn't change anything. What more do 
 I need to do?

You may have to change the imports. Maybe from import bsddb to import 
bsddb3. The API may be different. Read the bsddb3 documentation.

-srid
-- 
http://mail.python.org/mailman/listinfo/python-list


[issue9597] mac: Install 2to3 in /usr/local/bin

2010-09-20 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Ah, please close this then. I am not sure what I was thinking when reporting 
this bug.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9597
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



python27.exe vs python2.7.exe ...

2010-09-14 Thread Sridhar Ratnakumar
Hi,

As you may already know, ActivePython provides versioned Python executables 
that makes it possible to invoke a particular X.Y version from the command line 
directly if you have multiple Python versions on PATH. Eg:

   C:\Python27\python26.exe
   C:\Python27\python27.exe
   C:\Python31\python31.exe

In the upcoming releases, we are considering to change this format to match the 
unix executables (with a 'dot' in it). Eg:

   C:\Python27\python2.6.exe
   C:\Python27\python2.7.exe
   C:\Python31\python3.1.exe

The idea is to be able to invoke python2.7 myscript.py on both Unix and 
Windows.

Thoughts?

Because there is bin/python3 on unix (to separate it from the default 2.x 
interpreter) - it is perhaps a good idea to have C:\Python31\python3.exe as 
well.

-srid

-- 
http://mail.python.org/mailman/listinfo/python-list


[issue7231] Windows installer does not add \Scripts folder to the path

2010-09-03 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

FWIW, since last year ActivePython 2.6/2.7 puts C:\PythonXY\Scripts and 
%APPDATA%\Python\Scripts in %PATH% and we haven't had any complaints so far.

In addition, we also create a versioned interpreter executable - 
C:\PythonXY\pythonxy.exe - that is something the official installer can do as 
well, as it makes it possible to just type, say, python27 when multiple 
Python versions are installed ... similar to typing 'python2.7' on *nix.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7231
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-09-02 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

When I disabled r83335, openssl build fails:

 set ASM=ml64 /c /Cp /Cx /Zi
  crypto\x86_64cpuid.pl tmp64\x86_64cpuid.asm
 ml64 /c /Cp /Cx /Zi /Fotmp64\x86_64cpuid.obj tmp64\x86_64cpuid.asm
 Assembling: tmp64\x86_64cpuid.asm
MASM : fatal error A1000:cannot open file : tmp64\x86_64cpuid.asm

I guess the real question is - where I do get the ./asm64/ directory from? It 
is not found in the openssl-1.0.0a.tar.gz source.

--
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9719
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9704] 3.2 - zlib.pc.in is missing in source tree

2010-08-30 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2010-08-28, at 12:48 AM, Martin v. Löwis wrote:

 
 Martin v. Löwis mar...@v.loewis.de added the comment:
 
 Ok, I have now added these files in r84332.

Thanks!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9704
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-30 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Like Mark, I too see an error with ctypes due to this change:

*** WARNING: renaming _ctypes since importing it failed: 
dlopen(build/lib.macosx-10.5-intel-3.2/_ctypes.so, 2): Symbol not found: 
_ffi_closure_alloc
  Referenced from: 
/Users/sridharr/as/apy/branches/32a1ssl1/build/pyhg_branches_py3k-macosx-hgtip32/python/build/lib.macosx-10.5-intel-3.2/_ctypes.so
  Expected in: flat namespace
 in 
/Users/sridharr/as/apy/branches/32a1ssl1/build/pyhg_branches_py3k-macosx-hgtip32/python/build/lib.macosx-10.5-intel-3.2/_ctypes.so

MacOSX 10.6 | built with 10.5 SDK | i386 and x86_64 arch | ActivePython 3.2 
internal build

--
nosy: +srid

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5504
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-08-30 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

With openssl-1.0.0a, I get the following error when building the py3k branch on 
Windows 64-bit:

Traceback (most recent call last):
  File build_ssl.py, line 262, in module
main()
  File build_ssl.py, line 234, in main
for f in os.listdir(asm+dirsuffix):
WindowsError: [Error 3] The system cannot find the path specified: 'asm64/*.*'

Likely due to this commit
http://svn.python.org/view/python/branches/py3k/PCbuild/build_ssl.py?r1=83288r2=83335

--
components: Build, Windows
messages: 115243
nosy: loewis, srid
priority: normal
severity: normal
status: open
title: build_ssl.py: cannot find 'asm64/*.*'
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9719
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-08-30 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

I cannot arrive at a possible rationale behind that commit, as the only '*.asm' 
file I see in the openssl-1.0.0a/ directory is ms\update.asm.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9719
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9719] build_ssl.py: cannot find 'asm64/*.*'

2010-08-30 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
type:  - compile error

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9719
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



ANN: ActivePython 2.6.6.15 is now available

2010-08-27 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.15, a complete, 
ready-to-install binary distribution of Python 2.6.6.


http://www.activestate.com/activepython

What's New in ActivePython-2.6.6.15
===

*Release date: 25-Aug-2010*

New Features  Upgrades
---

- Upgrade to Python 2.6.6 (`release notes 
http://www.python.org/download/releases/2.6.6/NEWS.txt`__)

- Security upgrade to openssl-0.9.8o
- [MacOSX] 64-bit support (PPC and 10.4 are no longer supported)
- Upgrade to PyPM 1.1.1; noteworthy changes:

  - Custom config file support w/ new repository settings (-R free,be 
instead of

-L)
  - Support for installing a local package, eg: ``pypm install
/path/to/foo.pypm``
  - Bug #87687: Prevent partial downloading of repo index cache

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8
  - SQLAlchemy-0.6.3

Noteworthy Changes  Bug Fixes
--

- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465


What's New in ActivePython-2.6.5.14
===

*Release date: 07-Jul-2010*

New Features  Upgrades
---

- Upgrade to PyPM 1.0.2

  - 'pypm search' now also shows if a package is installed and upgradeable
  - 'pypm info' now prints a concise representation by default
  - 'pypm list --short' will show only packages names; for scripting 
purposes

  - Respect distutils install schemes (purelib, scripts)


Noteworthy Changes  Bug Fixes
--

- [MacOSX] Fix /usr/local/bin symlinks to not use the 'Current' symlink
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- [Windows] Include IDLE in the Start Menu shortcut, instead of PythonWin


See the release notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html#changes


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6 and 2.7 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka AMD64)
- Mac OS X
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka AMD64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.7.0.2 is now available

2010-08-27 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.0.2, a complete, 
ready-to-install binary distribution of Python 2.7.


http://www.activestate.com/activepython

What's New in ActivePython-2.7.0.2
==

*Release date: 25-Aug-2010*

New Features  Upgrades
---

- Security upgrade to openssl-0.9.8o
- Upgrade to PyPM 1.1.1; noteworthy changes:

  - Custom config file support w/ new repository settings (-R free,be 
instead of

-L)
  - Support for installing a local package, eg: ``pypm install
/path/to/foo.pypm``
  - Bug #87687: Prevent partial downloading of repo index cache

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8
  - SQLAlchemy-0.6.3


Noteworthy Changes  Bug Fixes
--

- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6 and 2.7 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\pypm install mysql-python
  [...]

  C:\python
   import MySQLdb
  

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the What's New in Python series, Dive into 
Python, the Python FAQs  HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

activepython-feedb...@activestate.com

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka AMD64)
- Mac OS X
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka AMD64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


[issue9704] 3.2 - zlib.pc.in is missing in source tree

2010-08-27 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

We, ActiveState, are trying to build Python 3.2 (py3k branch) and get this 
error:

make: [build_zlib] running 'cd 
build/pyhg_branches_py3k-linux-x86_64-hgtip32/python/Modules/zlib  
CFLAGS=-fPIC ./configure 
--prefix=/home/sridharr/as/apy/branches/32a1ssl1/build/pyhg_branches_py3k-linux-x86_64-hgtip32/ExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIxExTAcTiVePyThOnPrEfIx
  make  make install'
Checking for gcc...
Checking for shared library support...
Tested gcc -w -c -fPIC -fPIC ztest8832.c
Tested gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -fPIC -fPIC 
-o ztest8832.so ztest8832.o
/usr/bin/ld: cannot open linker script file zlib.map: No such file or directory
collect2: ld returned 1 exit status
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.5 with gcc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
cp: cannot stat `zconf.h.in': No such file or directory
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes. 
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
./configure: 596: cannot open zlib.pc.in: No such file
gcc -fPIC -D_LARGEFILE64_SOURCE=1   -c -o example.o example.c
gcc -fPIC -D_LARGEFILE64_SOURCE=1   -c -o adler32.o adler32.c
gcc -fPIC -D_LARGEFILE64_SOURCE=1   -c -o compress.o compress.c
gcc -fPIC -D_LARGEFILE64_SOURCE=1   -c -o crc32.o crc32.c
gcc -fPIC -D_LARGEFILE64_SOURCE=1   -c -o deflate.o deflate.c
make: *** No rule to make target `gzguts.h', needed by `gzclose.o'.  Stop.

Running a ./configure Modules/zlib leads to:

sridh...@whymac:~/code/o/py/py3k/Modules/zlib  ./configure 
Checking for gcc...
Checking for shared library support...
Building shared library libz.1.2.5.dylib with gcc.
Checking for off64_t... No.
Checking for fseeko... Yes.
cp: zconf.h.in: No such file or directory
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
./configure: line 575: zlib.pc.in: No such file or directory

***

Is zlib.pc.in missing by accident?

***

I can run ./configure in Modules/zlib for Python trunk (2.7) though.

Sifting through the changelog, I discovered that this commit must have 
introduced this bug 
http://svn.python.org/view/python/branches/py3k/Modules/zlib/configure?r1=56849r2=83296
 

Marin, perhaps you forgot to checkin zlib.pc.in? Have you tried running 
./configure (under Modules/zlib) on a OSX or Linux machine?

--
components: Build, Extension Modules
messages: 115143
nosy: loewis, srid
priority: normal
severity: normal
status: open
title: 3.2 - zlib.pc.in is missing in source tree
type: compile error
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9704
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9704] 3.2 - zlib.pc.in is missing in source tree

2010-08-27 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

OK - we use Modules/zlib for ActivePython build on all platforms (not just 
Windows).

When I included the following files from zlib-1.2.5.tar.gz - Modules/zlib 
builds fine.

gzclose.c  gzguts.h   gzlib.cgzread.c   gzwrite.c 
zlib.pc.in zlib.map zconf.h.in

We could add these as part of our internal build process, but it would be nice 
to have these checked into Modules/zlib (I don't have commit access - so I 
can't add them).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9704
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2010-08-24 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

I see the following failure on Fedora Core 4 (32-bit and 64-bit) with Python 
2.7.0.

==
FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCase)
--
Traceback (most recent call last):
  File /home/apy/rrun/tmp/autotest/apy/lib/python2.7/test/test_subprocess.py, 
line 157, in test_executable_without_cwd
self.assertEqual(p.returncode, 47)
AssertionError: 1 != 47

==
FAIL: test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll)
--
Traceback (most recent call last):
  File /home/apy/rrun/tmp/autotest/apy/lib/python2.7/test/test_subprocess.py, 
line 157, in test_executable_without_cwd
self.assertEqual(p.returncode, 47)
AssertionError: 1 != 47

--

--
components: Library (Lib), Tests
messages: 114797
nosy: srid
priority: normal
severity: normal
status: open
title: test_executable_without_cwd fails: AssertionError: 1 != 47
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9671
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9672] test_xpickle fails on Windows: invokes pythonx.y instead of pythonxy

2010-08-24 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

test_xpickle
'python2.4' is not recognized as an internal or external command,
operable program or batch file.
'python2.5' is not recognized as an internal or external command,
operable program or batch file.
'python2.6' is not recognized as an internal or external command,
operable program or batch file.

On Windows, that should be python24.exe (not python2.4.exe).

--
components: Tests, Windows
messages: 114798
nosy: srid
priority: normal
severity: normal
status: open
title: test_xpickle fails on Windows: invokes pythonx.y instead of pythonxy
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9672
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9672] test_xpickle fails on Windows: invokes pythonx.y instead of pythonxy

2010-08-24 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

 On Windows, that should be python24.exe (not python2.4.exe).

Hmm, that is only true for ActivePython. For detecting Python interpreters 
installed on the system, a simple approach could be to hardcode the full paths, 
as done by tox: http://code.google.com/p/pytox/source/browse/tox/_venv.py#242

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9672
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2010-08-18 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

On 2010-08-17, at 9:01 PM, Ronald Oussoren wrote:

 I now understand why my script fails, and it is caused by this issue.
 
 The sysconfig.py code has another major issue: the use of os.putenv. This 
 changes the environment, without changing os.environ. The use of os.putenv 
 should be replaced by setting keys in os.environ to make it easier to 
 discover that changes have been made.
 
 Even that is no good: setting the environment variable should only be done in 
 distutils to ensure that the right build environment is used. It should not 
 be set globally where it will affect code that it was never intended to 
 affect.

I agree that environment variable should only be affected during distutils 
build, and not globally.

I now recall debugging this issue (with 2.7 alpha/beta, I guess) and arriving 
at the same confusion.

 BTW. Sridhar: could this be the reason you cannot find the correct 
 reproduction steps for this?  Do you use a build script that is writting in 
 python and run with a copy of python where 
 sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') returns '10.3'?

Yes, but I am not entirely sure if that copy of python returned 10.3, and I no 
longer have that copy ... as I've been upgrading 2.6 and 2.7 pretty often in 
our two Mac build machines.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9516
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9594] typo on Mac/Makefile.in? s/pythonw/python/

2010-08-13 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

From Mac/Makefile.in:

[...]
ifneq ($(LIPO_32BIT_FLAGS),)
lipo $(LIPO_32BIT_FLAGS) -output 
$(DESTDIR)$(prefix)/bin/python$(VERSION)-32 pythonw
lipo $(LIPO_32BIT_FLAGS) -output 
$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-32 pythonw
ln -sf python$(VERSION)-32 $(DESTDIR)$(prefix)/bin/python-32
ln -sf pythonw$(VERSION)-32 $(DESTDIR)$(prefix)/bin/pythonw-32
endif
[...]

Shouldn't the last word in the first line be `python` instead of `pythonw`?

http://svn.python.org/view/python/trunk/Mac/Makefile.in?annotate=77031#l55

--
assignee: ronaldoussoren
components: Build, Macintosh
messages: 113836
nosy: ronaldoussoren, srid
priority: normal
severity: normal
status: open
title: typo on Mac/Makefile.in? s/pythonw/python/
type: behavior
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9594
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9594] typo on Mac/Makefile.in? s/pythonw/python/

2010-08-13 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Specifically python$(VERSION)-32 python instead of python$(VERSION)-32 
pythonw?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9594
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9597] mac: Install 2to3 in /usr/local/bin

2010-08-13 Thread Sridhar Ratnakumar

New submission from Sridhar Ratnakumar sridh...@activestate.com:

According to Mac/Makefile.in, scripts like pydoc, idle, smtpd.py and so on gets 
symlinked in /usr/local/bin but there is none for 2to3. Perhaps this was 
forgotten?

--
assignee: ronaldoussoren
components: 2to3 (2.x to 3.0 conversion tool), Build, Macintosh
messages: 113845
nosy: ronaldoussoren, srid
priority: normal
severity: normal
status: open
title: mac: Install 2to3 in /usr/local/bin
type: feature request
versions: Python 2.6, Python 2.7, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9597
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2010-08-11 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Another machine.
 Is MACOSX_DEPLOYMENT_TARGET set in the environment when you run the command 
 that gives the error message?
I don't think I had this environment set when I saw the above error 
message. I had to set MACOSX_DEPLOYMENT_TARGET=10.5 in order to 
workaround it though.

BTW, I just figured that following command will reliably reproduce this 
issue:

$ MACOSX_DEPLOYMENT_TARGET=10.3 python2.7 -B -s -c import 
sys;print('%d.%d' % tuple(sys.version_info)[:2])
Traceback (most recent call last):
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py, 
line 558, in module
 main()
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py, 
line 540, in main
 known_paths = addusersitepackages(known_paths)
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py, 
line 264, in addusersitepackages
 user_site = getusersitepackages()
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py, 
line 239, in getusersitepackages
 user_base = getuserbase() # this will also set USER_BASE
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py, 
line 229, in getuserbase
 USER_BASE = get_config_var('userbase')
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py, 
line 518, in get_config_var
 return get_config_vars().get(name)
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py, 
line 421, in get_config_vars
 _init_posix(_CONFIG_VARS)
   File 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py, 
line 300, in _init_posix
 raise IOError(msg)
IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 
during configure

Though, I do recall seeing this error without having that environment 
set at all.

--
title: sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 
during configure - sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3   
but 10.5 during configure

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9516
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2010-08-11 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Looks like reply-by-email stripped some parts of the message.

 does the error occur on the 10.6 machine you used to do the build or another 
 machine?

Another 10.6 machine.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9516
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2010-08-11 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Even simply invoking the interpreter raises this exception!

$ MACOSX_DEPLOYMENT_TARGET=10.3 python2.7
[...] 
IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during 
configure
$

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9516
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2010-08-09 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

We build ActivePython 2.7 on Mac as follows:

   $ export MACOSX_DEPLOYMENT_TARGET=10.5
   $ ./configure --enable-framework 
--enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk/ 
--with-universal-archs=intel
   $ make

(the environment variable is also used by other builds)

We explicitly specify the SDK path here because the build happens on a 10.6 
machine (to ensure that tkinter is built for 64-bit arch). Also, we explicitly 
drop PPC support.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9516
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   5   >