[ python-Bugs-1244683 ] logging module doc needs to note that it changed in 2.4

2005-07-29 Thread SourceForge.net
Bugs item #1244683, was opened at 2005-07-25 18:09
Message generated for change (Settings changed) made by vsajip
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1244683&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
Submitted By: Alan (aisaac0)
Assigned to: Nobody/Anonymous (nobody)
Summary: logging module doc needs to note that it changed in 2.4

Initial Comment:
http://docs.python.org/lib/module-logging.html lacks
the standard note "changed in version 2.4".  This
affects the basic example at
http://docs.python.org/lib/minimal-example.html because
in 2.3 (including 2.3.5) basicConfig did not accept the
example's keyword arguments.

--

>Comment By: Vinay Sajip (vsajip)
Date: 2005-07-29 11:54

Message:
Logged In: YES 
user_id=308438

Documentation update checked into CVS.

--

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



[ python-Bugs-1244864 ] Segfault in Python interpreter 2.3.5

2005-07-29 Thread SourceForge.net
Bugs item #1244864, was opened at 2005-07-26 01:53
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1244864&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: None
Group: Python 2.3
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Evil Mr Henry (evilmrhenry)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault in Python interpreter 2.3.5

Initial Comment:
Linux, Debian Testing, with Bash shell.

If I type "python" at the bash prompt to start the
interpreter, then hit the up arrow key (the previous
command key), Python segfaults. This only occurs if
there are no previous commands in the queue.

--

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-07-29 15:37

Message:
Logged In: YES 
user_id=1188172

Thanks! As 2.3 is not continued, closing as Out of Date.

--

Comment By: Evil Mr Henry (evilmrhenry)
Date: 2005-07-29 07:52

Message:
Logged In: YES 
user_id=1052361

Does not occur with 2.4.1.

--

Comment By: Terry J. Reedy (tjreedy)
Date: 2005-07-29 07:40

Message:
Logged In: YES 
user_id=593130

Does this happen with 2.4.1?  There will probably not be a 2.3.6.

--

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



[ python-Bugs-1238210 ] manual.cls contains an invalid pdf-inquiry

2005-07-29 Thread SourceForge.net
Bugs item #1238210, was opened at 2005-07-14 09:43
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1238210&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: Fixed
Priority: 5
Submitted By: Michael Schindler (m-schindler)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: manual.cls contains an invalid pdf-inquiry

Initial Comment:
I tried to compile the documentation for Python 2.4.1
(download today)
but it fails with the message:

  pdfTeX error (ext1): \pdfinfo used while \pdfoutput
is not set.

This is caused by the \pdfinfo call in manual.cls on
line 72.
I am using teTeX 3.0 where the LaTeX format is based on
pdftex. Therefore, the inquiry for pdf, done in
manual.cls with

  [EMAIL PROTECTED]
  
always returns true, for both pdf and dvi output.
A better choice woud be using \ifpdf defined in python.sty

Thanks, anyway for the great program!

  Michael Schindler

--

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2005-07-29 13:20

Message:
Logged In: YES 
user_id=3066

I've changed howto.cls and manual.cls to use the \ifpdf test
defined in python.sty; that avoids adding a dependency on
ifpdf.sty.

I think this is right for the teTeX 3.0 users, but I don't
have a teTeX 3.0 installation, so I'd appreciate it if
someone who does would test.  Please re-open (or comment) on
this issue if there's still a problem.


--

Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-07-14 13:00

Message:
Logged In: YES 
user_id=1188172

This is the fix from the old bug.

--- manual.cls.orig 2005-05-30 10:02:28.0 +0200
+++ manual.cls  2005-05-30 11:16:58.0 +0200
@@ -6,9 +6,17 @@
 \ProvidesClass{manual}
  [1998/03/03 Document class (Python manual)]
 
+\RequirePackage{ifpdf}
[EMAIL PROTECTED]
+  \ifpdf
+[EMAIL PROTECTED]
+  \else
+[EMAIL PROTECTED]
+  \fi
+}
+
 \RequirePackage{pypaper}
 \RequirePackage{fancybox}
-
 % Change the options here to get a different set of basic
options, but only
 % if you have to.  Paper and font size should be adjusted
in pypaper.sty.
 %
@@ -64,7 +72,7 @@
 \let\footnotesize\small
 \let\footnoterule\relax
 [EMAIL PROTECTED]
-[EMAIL PROTECTED]
+[EMAIL PROTECTED]
   % This \def is required to deal with multi-line
authors; it
   % changes \ to ', ' (comma-space), making it pass
muster for
   % generating document info in the PDF file.

--

Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-07-14 12:57

Message:
Logged In: YES 
user_id=1188172

Seems to be also in howto.cls. Closed bug #1071094 as
duplicate of this.

--

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



[ python-Bugs-1247765 ] "new" not marked as deprecated in the docs

2005-07-29 Thread SourceForge.net
Bugs item #1247765, was opened at 2005-07-30 01:37
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=1247765&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: Open
Resolution: None
Priority: 5
Submitted By: Jürgen Hermann (jhermann)
Assigned to: Nobody/Anonymous (nobody)
Summary: "new" not marked as deprecated in the docs

Initial Comment:
While

>>> help('new')

shows the deprecation of this module starting with 2.3,
the docs at

http://www.python.org/doc/current/lib/module-new.html

don't. Shouldn't they?

--

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



[ python-Bugs-786827 ] IDLE starts with no menus (Cygwin build of python2.3)

2005-07-29 Thread SourceForge.net
Bugs item #786827, was opened at 2003-08-11 09:58
Message generated for change (Comment added) made by danieljoyce
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=786827&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: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Duane Kaufman (duanekaufman)
Assigned to: Kurt B. Kaiser (kbk)
Summary: IDLE starts with no menus (Cygwin build of python2.3)

Initial Comment:
When started from a Cygwin window 
([EMAIL PROTECTED] /cygdrive/d/my_python/Cygwin_test
$ /usr/lib/python2.3/idlelib/idle.py) The IDLE window has 
no menus.

If started as:
[EMAIL PROTECTED] /cygdrive/d/my_python/Cygwin_test
$ /usr/lib/python2.3/idlelib/idle.py -n

(no subprocess) the menus are present.

Starting Python:
[EMAIL PROTECTED] /cygdrive/d/my_python/Cygwin_test
$ python
Python 2.3 (#1, Aug  1 2003, 15:01:23)
[GCC 3.2 20020927 (prerelease)] on cygwin
Type "help", "copyright", "credits" or 
"license" for more 
information.
>>>

Win2k SP2

Duane Kaufman
[EMAIL PROTECTED]

--

Comment By: Daniel Joyce (danieljoyce)
Date: 2005-07-29 22:15

Message:
Logged In: YES 
user_id=1321088

I found the problem!  :D

Around line 394 of PyShell.py roughly, this function:

def start_subprocess(self):
# spawning first avoids passing a listening socket
to the subprocess
self.spawn_subprocess()
#time.sleep(20) # test to simulate GUI not accepting
connection
addr = (LOCALHOST, self.port)
# Idle starts listening for connection on localhost
for i in range(3):
time.sleep(i)
try:
self.rpcclt = MyRPCClient(addr)
break
except socket.error, err:
pass
else:
self.display_port_binding_error()
return None
# Accept the connection from the Python execution server
self.rpcclt.listening_sock.settimeout(10)
try:
self.rpcclt.accept()
except socket.timeout, err:
self.display_no_subprocess_error()
return None
self.rpcclt.register("stdin", self.tkconsole)
self.rpcclt.register("stdout", self.tkconsole.stdout)
self.rpcclt.register("stderr", self.tkconsole.stderr)
self.rpcclt.register("flist", self.tkconsole.flist)
self.rpcclt.register("linecache", linecache)
self.rpcclt.register("interp", self)
self.transfer_path()
self.poll_subprocess()
return self.rpcclt

It spawns the subprocess, but never manages to talk to it.
The socket.timeout exception is raised. Communication to the
subprocess fails in here:

try:
self.rpcclt = MyRPCClient(addr)
break
except socket.error, err:
pass

Then, it tries to register the functions with tkconsole, and
TkInter seems to die. I haven't dug down into it yet to see
what exactly happens. But, I suspect that rpcclt is null
when self.rpcclt.register() is called.

So, it's not a Tk error. It's an error with trying to
contact the subprocess.



--

Comment By: Jason Tishler (jlt63)
Date: 2004-01-21 06:44

Message:
Logged In: YES 
user_id=86216

Sean, thanks for the info.

Kurt, ring any bells?

--

Comment By: Sean McCardell (smccardell)
Date: 2004-01-20 13:23

Message:
Logged In: YES 
user_id=956087

Don't know if this sheds any more light, but on WinXP, Python 
2.3.3: when starting IDLE with a file to edit (e.g. 'idle foo.py') 
the edit window becomes visible first. _And_ it has a visible 
menu bar. But when the shell window becomes visible, it has 
no menu bar, and the menu bar _disappears_ from the edit 
window.

--

Comment By: Jason Tishler (jlt63)
Date: 2003-12-31 09:48

Message:
Logged In: YES 
user_id=86216

Unfortunately, not. The bug report was created
right before I was going on vacation last summer.
Since I'm still on vacation... :,)

Well...actually the assumed high "head banger"
factor has facilitated my procrastination.
Additionally, since I do not use use IDLE, I'm not
very motivated to build a debuggable Python and
Cygwin and attach to the hung process with gdb and
debug.

FWIW, I haven't forgetton. The bug report
stares me in the face everytime I read my email.
Unfortunately, I haven't taken any action. :,(

Are you a developer type? If so, would you be
willing to try to debug this problem yourself?

--

Comment By: Duane Kaufman (duanekaufman)
Date: 2003-12-31 07:37

Message: