[Ironpython-users] IronPython, Daily Digest 9/7/2011

no_reply at codeplex.com no_reply at codeplex.com
Thu Sep 8 14:26:37 CEST 2011


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] Lib/config directory not present in zip distribution.
2. [New issue] Incorrect information message given for "exit" command on Linux systems
3. [New issue] console mode "exit()" command does not work.
4. [New issue] IPy version string somewhat misleading.
5. [New issue] IPy version string somewhat misleading.
6. [New comment] IPy version string somewhat misleading.
7. [Status update] IPy version string somewhat misleading.

----------------------------------------------

ISSUES

1. [New issue] Lib/config directory not present in zip distribution.
http://ironpython.codeplex.com/workitem/31417
User vernondcole has proposed the issue:

"When starting a newly downloaded IronPython, a traceback occurs due to a missing directory.
<console dump>
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ mono ipy.exe
Traceback (most recent call last):
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/site.py", line 566, in <module>
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/site.py", line 548, in main
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/site.py", line 278, in addusersitepackages
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/site.py", line 253, in getusersitepackages
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/site.py", line 243, in getuserbase
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/sysconfig.py", line 522, in get_config_var
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/sysconfig.py", line 421, in get_config_vars
  File "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/sysconfig.py", line 289, in _init_posix
IOError: invalid Python installation: unable to open /windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/config/Makefile (Could not find a part of the path "/windows/Downloads/IronPython/IronPython-2.7.1-Beta2/Lib/config/Makefile".)IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> 
</console dump>
(This is running on Ubuntu 11.10 Beta 1 with mono 2.10.)
There is no config folder in the zip file.
--
Vernon"-----------------

2. [New issue] Incorrect information message given for "exit" command on Linux systems
http://ironpython.codeplex.com/workitem/31418
User vernondcole has proposed the issue:

"When running IronPython in console mode on a Linux system, if a user types "exit", she is given a suggestion which is valid on Windows only.
Following the suggestion causes the IPy session to be backgrounded, where the intent is for it to be stopped.
In the console session below, <ctrl-z> was typed when prompted, which sends IPy to the background.
The IPy session is then returned to the forground using an "fg" command, and exited using sys.exit.
Then CPython is started.
Then <ctrl-d> is typed when prompted.

<console dump>
>>> sys.version
'2.7.1 (IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1)'
>>> exit
'Use Ctrl-Z plus Return to exit'
>>> 
[1]+  Stopped                 mono ipy.exe
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ 
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ fg
mono ipy.exe

>>> sys.exit()
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ python
Python 2.7.2+ (default, Aug 16 2011, 07:29:45) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> 
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ 
</console dump>

The prompt should be changed to agree with the CPython when os.name == 'posix'
--
Vernon"-----------------

3. [New issue] console mode "exit()" command does not work.
http://ironpython.codeplex.com/workitem/31419
User vernondcole has proposed the issue:

"The "exit()" command is not effective.

In the console session below, the user types "exit" and is informed of the correct way to do what she wishes.
[Note: another issue has been opened for the inappropriate Windows-based information.]
If the user tries the correct command, with parenthesis, a traceback is produced rather than an exit accomplished.

The same operation is then attempted using CPython for an example of what is expected to happen.

<console dump>
IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
'Use Ctrl-Z plus Return to exit'
>>> 
>>> exit()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: str is not callable
>>> sys.exit()
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ python
Python 2.7.2+ (default, Aug 16 2011, 07:29:45) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ 
</console dump>

"exit()" should call sys.exit(), rather than attempt returning a string.
--
Vernon"-----------------

4. [New issue] IPy version string somewhat misleading.
http://ironpython.codeplex.com/workitem/31420
User vernondcole has proposed the issue:

"The version string for IronPython includes the word 'on' which could lead one to confusion as to the actual CLR version in use.
In the following session, the CLR is mono, not .NET.
Perhaps the wording should be changed to 'for' rather than 'on'.

<console dump>
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ mono --version
Mono JIT compiler version 2.10.5 (Debian 2.10.5-1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            Included Boehm (with typed GC and Parallel Mark)
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ mono ipy.exe
IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'2.7.1 (IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1)'
>>> 
</console dump>"-----------------

5. [New issue] IPy version string somewhat misleading.
http://ironpython.codeplex.com/workitem/31421
User vernondcole has proposed the issue:

"The version string for IronPython includes the word 'on' which could lead one to confusion as to the actual CLR version in use.
In the following session, the CLR is mono, not .NET.
Perhaps the wording should be changed to 'for' rather than 'on'.

<console dump>
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ mono --version
Mono JIT compiler version 2.10.5 (Debian 2.10.5-1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            Included Boehm (with typed GC and Parallel Mark)
vernon at dlc-ubuntu:/windows/Downloads/IronPython/IronPython-2.7.1-Beta2$ mono ipy.exe
IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'2.7.1 (IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.1)'
>>> 
</console dump>"-----------------

6. [New comment] IPy version string somewhat misleading.
http://ironpython.codeplex.com/workitem/31421
User vernondcole has commented on the issue:

"Sorry!  This is a duplicate inadvertently created.
I don't have sufficient authority to remove it.
"-----------------

7. [Status update] IPy version string somewhat misleading.
http://ironpython.codeplex.com/workitem/31421
User slide_o_mix has updated the issue:
Status has changed from Proposed to Closed with the following comment, 

"Duplicate"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20110908/d55e6d70/attachment.html>


More information about the Ironpython-users mailing list