[ python-Bugs-1774736 ] Binding fails

2007-08-15 Thread SourceForge.net
Bugs item #1774736, was opened at 2007-08-15 18:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1774736&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 3000
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ali Gholami Rudi (aligrudi)
Assigned to: Martin v. Löwis (loewis)
Summary: Binding  fails

Initial Comment:
In py3k branch r57057, when I run::

  import Tkinter

  tk = Tkinter.Tk()
  text = Tkinter.Text(tk)

  def callback(event=None):
  return

  text.bind('', callback)
  text.pack()
  text.focus_set()
  tk.mainloop()


when I press C-space I get this exception::

  Traceback (most recent call last):
File "spacefailure.py", line 13, in 
  tk.mainloop()
File "/usr/local/lib/python3.0/lib-tk/Tkinter.py",  line 1022, in mainloop
  self.tk.mainloop(n)
  UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: illegal 
encoding

The strange thing about it is that other bindings work
as expected.

I'm running on ubuntu feisty.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1774736&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1770009 ] decimal.Decimal("trash") produces informationless exception

2007-08-15 Thread SourceForge.net
Bugs item #1770009, was opened at 2007-08-08 09:44
Message generated for change (Comment added) made by facundobatista
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1770009&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: John Machin (sjmachin)
Assigned to: Facundo Batista (facundobatista)
Summary: decimal.Decimal("trash") produces informationless exception

Initial Comment:
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import decimal
>>> decimal.Decimal("-$123,456.78")
Traceback (most recent call last):
  File "", line 1, in 
  File "C:\python25\lib\decimal.py", line 614, in __new__
self._sign, self._int, self._exp = context._raise_error(ConversionSyntax)
  File "C:\python25\lib\decimal.py", line 2325, in _raise_error
raise error, explanation
decimal.InvalidOperation

It should do something like float does ... better message, and show the 
offending arg:

>>> float("-$123,456.78")
Traceback (most recent call last):
  File "", line 1, in 
ValueError: invalid literal for float(): -$123,456.78
>>>

--

>Comment By: Facundo Batista (facundobatista)
Date: 2007-08-15 12:14

Message:
Logged In: YES 
user_id=752496
Originator: NO

Fixed, both in trunk and in the decimal-branch:

>>> import decimal
>>> decimal.Decimal("-$123,456.78")
Traceback (most recent call last):
...
decimal.InvalidOperation: Invalid literal for Decimal: '-$123,456.78'
>>> 


--

Comment By: Facundo Batista (facundobatista)
Date: 2007-08-13 12:17

Message:
Logged In: YES 
user_id=752496
Originator: NO

Yes, I will.

--

Comment By: Neal Norwitz (nnorwitz)
Date: 2007-08-10 00:36

Message:
Logged In: YES 
user_id=33168
Originator: NO

Facundo, could you take a look?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1770009&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1774840 ] Not exiting when running tests

2007-08-15 Thread SourceForge.net
Bugs item #1774840, was opened at 2007-08-15 16:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1774840&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: José Pablo "Pupeno" Fernández (pupeno)
Assigned to: Nobody/Anonymous (nobody)
Summary: Not exiting when running tests

Initial Comment:
Can you please offer a way to not exit when running unit tests, that is, an 
argument to unittest.main() that would make it not exit?
Thank you

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1774840&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-816725 ] mark deprecated modules in indexes

2007-08-15 Thread SourceForge.net
Bugs item #816725, was opened at 2003-10-02 18:13
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816725&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Feature Request
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Fred L. Drake, Jr. (fdrake)
>Assigned to: Georg Brandl (gbrandl)
Summary: mark deprecated modules in indexes

Initial Comment:
J. David Ibanez (jdavid at itaapy.com) suggested via email:

It would be nice if the "Global Module Index" showed
the deprecated modules clearly separated from the non
deprecated modules.

--

>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-15 18:43

Message:
Logged In: YES 
user_id=849994
Originator: NO

This is now implemented in Sphinx, committed rev. 57075.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=816725&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1243945 ] Python function/method/constant names as HTML-tag IDs

2007-08-15 Thread SourceForge.net
Bugs item #1243945, was opened at 2005-07-24 15:19
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1243945&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Chad Miller (chadmiller)
>Assigned to: Georg Brandl (gbrandl)
Summary: Python function/method/constant names as HTML-tag IDs

Initial Comment:
It would be very nice if HTML tag IDs were predictable,
and not generated.  For instance, when newbie-Joe
complains on IRC about his program, I'd much rather be
able to point him to 

http://python.org/doc/current/lib/built-in-funcs#input

instead of 

http://python.org/doc/current/lib/built-in-funcs#l2h-38

or telling him to find it manually.

--

>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-15 18:46

Message:
Logged In: YES 
user_id=849994
Originator: NO

Sphinx does this right from the start.

--

Comment By: Georg Brandl (birkenfeld)
Date: 2005-08-25 21:48

Message:
Logged In: YES 
user_id=1188172

And the Tutorial section anchors aren't very pretty,
too.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1243945&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1375258 ] Collapse distutils docs

2007-08-15 Thread SourceForge.net
Bugs item #1375258, was opened at 2005-12-07 12:32
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1375258&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Trash
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Skip Montanaro (montanaro)
Assigned to: Skip Montanaro (montanaro)
Summary: Collapse distutils docs

Initial Comment:
The global module index is huge, 358 entries by my quick check.
46 of those entries are related to distutils.  Let collapse it a bit.
The Carbon entries are also numerous, but not that bad.

As an example, check the docs for the distutils.debug module:

11.16 distutils.debug -- Distutils debug mode

This module provides the DEBUG flag.

Except for the header and footer generated by latex2html, that's
the entire thing! Doesn't seem like it deserves its own entry in the
global module index...

I'll try to get to this, but in case I don't, at least it's recorded here...


--

>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-15 18:47

Message:
Logged In: YES 
user_id=849994
Originator: NO

The global module index in Sphinx now automatically collapses submodules,
so it should be fine for now.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1375258&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1559142 ] some section links (previous, up, next) missing last word

2007-08-15 Thread SourceForge.net
Bugs item #1559142, was opened at 2006-09-15 08:17
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1559142&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Tim Smith (thimsmith)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: some section links (previous, up, next) missing last word

Initial Comment:
The Previous, Up and Next links in the Library
Reference are often missing the last word.

Examples:

http://www.python.org/doc/current/lib/module-operator.html
"""Previous: 3.9 UserString Up: 3. Python Runtime
Services Next: 3.10.1 Mapping Operators to """

(Next link missing last word "Functions".)


http://www.python.org/doc/current/lib/weakref-example.html
"""Previous: 3.3.1 Weak Reference Objects Up: 3.3
weakref Next: 3.3.3 Weak References in """

(Next link missing last two words "Extension Types".)


There are *many* examples of this.

--

>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-15 18:53

Message:
Logged In: YES 
user_id=849994
Originator: NO

Doesn't apply to Sphinx, closing.

--

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2006-12-22 13:56

Message:
Logged In: YES 
user_id=3066
Originator: NO

This is indeed a LaTeX2HTML (mis-)feature.  I think this is the first time
it's been reported as a problem, but I agree that it's misleading without
some indication that something was elided (an ellipsis would help a lot).

--

Comment By: Georg Brandl (gbrandl)
Date: 2006-09-30 12:10

Message:
Logged In: YES 
user_id=849994

This seems to be a "feature" of LaTeX2html. It limits the
links to three words.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1559142&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com