New submission from Winfried Plappert <[EMAIL PROTECTED]>:
The following 2 line program fails under Python 2.6rc1:
Python 2.6b3 (r26b3:66303, Sep 8 2008, 13:45:13) [MSC v.1500 32 bit
(Intel)] on win32
as downloaded today (2008-09-13):
# start program ---
import urllib
fh = urllib.u
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
OK, by now I know exactly what the problem is: The Windows installer
allows you the option of DESELECTING the "Test Suite". Initially I
deselected the Test Suite because I thought I do not need it. But this
is wro
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Please close this issue. Between 2.6b3 and 2.6rc1 Lib/httplib.py has
been changed. Sorry about the confusion!
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
I try to build PDF documentation from current Python-2.6rc2 and Python-
3.0rc1 versions. I tried the process under Windows XP and also Linux
(Ubuntu). The results are the same. The documentation is not built
correctly, mostly the
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
modified version info: 2.6, 3.0
--
versions: +Python 2.6 -Python 2.5
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi Georg,
whatever I am getting when I am doing a make latex in the Docs
directory. The current version is 66550: "Sphinx v0.5, building latex".
I just redid it again and the error persists. But you say that one has
t
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I had a go at commenting stuff in sphinx.sty, but every change produced
another error message. In the end I concluded that the best thing is to
leave sphinx.sty untouched, despite the fact that the index is always
missing. Since I
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I found at least one bug:
% Detect if we're using XeLaTeX
\IfFileExists{ifxetex.sty}{%
\RequirePackage{ifxetex}
}{% not using xelatex
\newif\ifxetex\xetexfalse %(line 69)
}
should say:
\newif\ifxetex\xetexfal
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I just tested it under Linux/Ubuntu and it is the same behaviour as
described earlier: fix line 69 in sphinx.sty and it works. My pdflatex
version on Windows (MiKTeX) has been mentioned in my first entry and the
version for Ubuntu i
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Now that the official PDF documentation is released for download on the
website - including TOC and Index for every major document, the question
arises: what is the difference between the 'official' built and my
'priv
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
In addition to the same issue: library.pdf, downloaded from
http://docs.python.org/ftp/python/doc/2.6/python-docs-pdf-a4.tar.bz2:
Glossarypoints to chapter 1,
"About these documents" chapte
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
distutils.pdf shows the wrong behaviour quite nicely. See attached png file
Added file: http://bugs.python.org/file11701/distutils.png
___
Python tracker <[EMAIL PROTECTED]>
<http://
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
on the web page http://docs.python.org/library/functions.html,
__import__ references rexec why and how one could use __import__. On the
rexec page (http://docs.python.org/library/rexec.html) it says:
"Deprecated since vers
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I have rerun the making of the PDFs with the make command. Everything
looks fine now. I did not realize that pdflatex is called multiple times
during the process of PDF creation.
%.pdf: %.tex
pdflatex '$<
New submission from Winfried Plappert :
When parsing HTML and having a string along the lines of , a call to
handle_data is not issued between handle_starttag and handle_endtag, but
afterwards. The problem is in HTMLparser.goahead, where the position i and j
are calculated. The code reads
if
Changes by Winfried Plappert :
--
title: HTMLparser does not handle call to handle_data when a tag contains nor
data. -> HTMLparser does not handle call to handle_data when a tag contains no
data.
___
Python tracker
<http://bugs.pyth
Winfried Plappert added the comment:
The same code can be found in the 3.1 distribution.
--
versions: +Python 3.1
___
Python tracker
<http://bugs.python.org/issue8
Winfried Plappert added the comment:
Here is a test program (shannon_data.py), some sample data
(Shannon-2010.0.02-extract.html) and two output files (correct.out and
wrong.out).
--
Added file: http://bugs.python.org/file16771/shannon_data.py
Changes by Winfried Plappert :
Added file: http://bugs.python.org/file16772/Shannon-2010.0.02-extract.html
___
Python tracker
<http://bugs.python.org/issue8319>
___
___
Changes by Winfried Plappert :
Added file: http://bugs.python.org/file16773/correct.out
___
Python tracker
<http://bugs.python.org/issue8319>
___
___
Python-bugs-list m
Changes by Winfried Plappert :
Added file: http://bugs.python.org/file16774/wrong.out
___
Python tracker
<http://bugs.python.org/issue8319>
___
___
Python-bugs-list mailin
Winfried Plappert added the comment:
in short the correct output should be
2/4/2010;6.3;11.1;0.8;6.5;;7.8;-5
versus
2/4/2010;6.3;11.1;0.8;6.5;7.8;-5
which implies that one element is missing in the output stream :)
--
___
Python tracker
<h
Winfried Plappert added the comment:
I have modified my program so I will check for data/no-data at the end of a
td-call (td_end). Now it produces the correct result. I think you can close
this issue.
--
Added file: http://bugs.python.org/file17074/shannon_data-v2.py
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
This problem also applies to Python 3.0rc1.
Georg, could you please comment on ray's and tjreedy's question. Thanks
--
versions: +Python 3.0
___
Python tracker <[EMAI
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
When building latex documentation for the first time round, the make of
c-api fails with "! LaTeX Error: Environment cmemberdescni undefined.".
A second make builds c-api and all other documents successfully.
However,
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
PS.: The original error occurs in line 164 of the attached output file.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi Georg,
I tried to rebuilt the documentation from scratch (2.6 as well as
3.0rc1) and make fails with the command " \tableofcontents", which is
part of the generated *.tex file. I will include the typescript output
of
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Interesting: I reran the build of PDFs under Windows (XP) and it works
like a charm! Everything is there, the TOC, the Index and the Contents.
I have no idea why Ubuntus pdflatex decided to go on strike. Thanks a
lot for all you
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Georg,
sphinx r66972 works perfectly. Thanks again!
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
An the PDF view of the same table
Added file: http://bugs.python.org/file11828/Screenshot-library.pdf - Adobe
Reader.png
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
I wonder if the readabiliy of tables in PDFs can be improved. I take the
example of ABCs. The online documentation can be found at
http://docs.python.org/library/collections.html, the rst source is at
/Doc/library/collections.rst
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Oh, what a pain, if you have to do it by hand! Is there no other way of
doing it by counting record lengths (in a column) - see below?
Just for the grins of it, I modified collections.html a bit to show more
on the first page.
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I probed a bit more into HTML output and the column width of tabulary
entries is always present in the HTML output. I don't yet know where
these relative widths are calculated, but I do roughly know how they are
calculated: fro
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi Georg,
the only thing I could find on the net is a reference to:
"\begin{tabular}{p{1in}p{2in}}" at
http://www.cs.cornell.edu/Info/Misc/LaTeX-Tutorial/Tables.html. Assuming
that one knows the effective width of the whole
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi Georg,
I tried to find a few bones and came up with the following little demo.
I pinched the first few lines from
http://www.latex-community.org/viewtopic.php?f=5&t=910 and set up a
table with defined column widths - see att
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
Removed file: http://bugs.python.org/file11833/test_latex-2.tex
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file11834/test_latex-2.tex
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I used the following values, based on 14cm total width (of the paper)
[it could be a bit more for A4]:
\begin{tabular}{|p{2.94cm}|p{2.52cm}|p{2.52cm}|p{6.02cm}|} - for the ABC
table and reran library.tex completely. The table ca
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Here is the screenshot: ABCs-2.png
Added file: http://bugs.python.org/file11835/ABCs-2.png
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
There are some 200 tables in the 2.6 documentation, 150 alone in
library.tex - and a few less in the 3.0rc1 documentation. So may suggest
a course of action: since most of these tables produces reasonable
results by using your aut
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
library.pdf - Chapter 8.8.3 deals with Standard Encodings. There is a
long table which is massively overshooting the bottom of the page (page
110) in the PDF-A4 version. About 35 rows in the table get completely
lost - compared
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
in the Python 2.6 PDF-documentation, the example followong the
"text_factory is incomplete, because it is cut off at the right hand
side of the text. HTML-version: http://docs.python.org/library/sqlite3.html
I include the re
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Can also be seen on 3.0rc1 if the PDF documents are built 'by hand'.
--
versions: +Python 3.0
___
Python tracker <[EMAIL PROTECTED]>
<http://
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Another example is chapter 16.8.3 GENERIC OPERATING SYSTEM
SERVICES::curses — Terminal handling for character-cell
displays::Constants. The table on page 442 again misses about 35 entries
comp
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
There is a very long (last) example following the paragraph which starts
with the words: "An example/demo of how to use the managers.SyncManager,
Process and others ...". The formatting that this an example somehow got
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
components: +Documentation tools (Sphinx) -Documentation
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
components: +Documentation tools (Sphinx) -Documentation
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
components: +Documentation tools (Sphinx) -Documentation
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
components: +Documentation tools (Sphinx) -Documentation
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
example-17.6.4.png shows two pieces of Python code, the top being good
and the bottom very sparse.
Added file: http://bugs.python.org/file11851/example- 17.6.4.png
___
Python tracker <[EMAIL
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
here is the screen copy of chapter 8.8.3
Added file: http://bugs.python.org/file11852/8.8.3.png
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
The page of chapter 12.13.2
Added file: http://bugs.python.org/file11853/12.13.2.png
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4166>
___
__
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
The Inline Markup :const: shows up in the final documentation. Example
can be found on http://docs.python.org/library/select.html :
kevent.fflags¶
Filter specific flags
:const:`KQ_FILTER_READ` and :const:`KQ_FILTER
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
library.pdf, Section 25.4.3 Methods of RawTurtle/Turtle and
corresponding functions does not format the :param xxx: keyword
properly. The HTML version at http://docs.python.org/library/turtle.html
looks like
turtle.fd(di
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
The formatting in HTML version is 100% correct,
s/is 100% correct/is NOT 100% correct/.
Sorry for the typo.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Ihave seen this formatting issue also at other places. But if you cure
the problem, the issue at the other places will also go away :-)
___
Python tracker <[EMAIL PROTECTED]>
<http://
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
I seen this issue at various places, but I will quote from extending.pdf:
Chapter 3: 'Building C and C++ Extensions with distutils' shows two long
gcc commands.
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
type: -> behavior
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4173>
___
___
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
type: -> behavior
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4169>
___
___
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
type: -> behavior
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4160>
___
___
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3203>
___
__
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplapper
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3143>
___
__
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
There are some interesting remarks about long tables at
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=longtab.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi Skip,
I find different measurements om Windows/XP: I copied the script and ran
it under Python 2.5.2 and Python 2.6 (as downloaded from
http://python.org/ftp/python/2.6/python-2.6.msi):
[EMAIL PROTECTED] /cygdrive/e/tmp $
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Here are my figures from a different processor on Linux (Ubuntu):
[EMAIL PROTECTED]:~/python$ python2.5 popentest.py
time with os.popen : 0.0478880405426
time with subprocess.Popen : 0.0596849918365
[EMAIL PROTECTED]:~/
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Yes, I can confirm that the performance is lousy on Solaris.
Solaris-9/Python 2.5.1:
time with os.popen : 0.124045133591
time with subprocess.Popen : 1.60335588455
Solaris-9/Python 2.6:
time with os.popen : 0.115752220154
tim
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
type: -> performance
versions: +Python 2.4, Python 2.5, Python 2.6
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.py
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi is the dramatic difference on Solaris-10 / Python2.6:
I dtraced the popentest.py and counted syscalls:
with os_popen: read =243
with process:Popen read = 589018
That explains a lot!
The rest of the system calls are s
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
s/Hi is/Hi, here is/ :)
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4194>
___
__
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
The created testfile size is 588890 bytes, which implies that
subprocess.Popen reads the file in completely unbuffered mode, one byte
at a time. If I modify the popentest.py programme by specifying a
bufsize of 1_000_000, the exe
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
On the other hand, we will silently break all those applications which
are out there relying on the fact that a pipe is an unbuffered device.
You might consider it for Python 3.0, but I don't know if it is a good
idea for Pyth
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
I take chapter "19.12 base64—RFC 3548: Base16, Base32, Base64 Data
Encodings" (Python 2.6) as an example. At the bottom of the chapter, you
find references to other resouces, in this case:
See Also:
Module binasci
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
type: -> behavior
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4251>
___
___
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4256>
___
__
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
This is a simple one to fix: remove the second \fi on the incriminated
line in sphinx.sty, line 62. I just checked out Sphinx version 67115 and
retested. With my fix = removal of the second \fi, the make process works.
The issu
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
In other words, the various *Tex packages cannot agree on a common syntax?
MiKTeX-pdfTeX 2.7.3147 (1.40.9) (MiKTeX 2.7) also complains about the
double \fi.
___
Python tracker <[EMAIL PROTECTE
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
And Ubuntu Linux pdflatex complains as well:
/usr/bin/pdflatex from package texlive-latex-base.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Winfried Plappert <[EMAIL PROTECTED]>:
I tried to check the tracker for an existing issue with the conversion
tool, but I could not find one. I am using the "python2.6
Python2.6/Tools/scripts/2to3 -w -v ." command to convert existing Python
scripts to Python
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
and it is also fixed in 3.0rc1: I reran the conversion, but issue 2
still persists,
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Sorry, issue 1 still persists:
>From Tkinter import (bla,blah, blahh)
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.py
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
I tested profile_cycle.txt on both Python 2.5.2 and Python 2.6. The
cycle you are showing for release 2.4.1 cannot be seen on both releases.
Why dont't you try and upgrade to Python 2.6?
--
nosy:
Winfried Plappert <[EMAIL PROTECTED]> added the comment:
Hi, I just checked out sphinx version 67171. It still seems not to
procduce a link to the module. How does Sphinx rev 735:a4019921bdf4
translate into a Python revision?
This is what I did:
$ make update
svn update tools/sph
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4468>
___
__
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4565>
___
__
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3476>
___
__
Changes by Winfried Plappert <[EMAIL PROTECTED]>:
--
nosy: +wplappert
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4561>
___
__
Winfried Plappert added the comment:
When looking at the PDF documentation for Python 2.6.1, the issue4169 is
gone away. What has changed?
I think we can close 4169 now.
___
Python tracker
<http://bugs.python.org/issue4
Winfried Plappert added the comment:
Changes to Sphinx fixed issue4162 for Python version 2.6.1. This issue
can be closed.
___
Python tracker
<http://bugs.python.org/issue4
Winfried Plappert added the comment:
see also issue4160.
___
Python tracker
<http://bugs.python.org/issue4173>
___
___
Python-bugs-list mailing list
Unsubscribe:
Winfried Plappert added the comment:
see also issue4173, might be the same root cause.
___
Python tracker
<http://bugs.python.org/issue4160>
___
___
Python-bugs-list m
New submission from Winfried Plappert:
In the online documentation at
http://docs.python.org/py3k/library/stdtypes.html?highlight=bytearray%20objects%20copying%20existing%20binary%20data%20via%20buffer%20protocol
and the PDF version 3.3.0, page 46, both in chapter 4.8.2:
Bullet 4 is
New submission from Winfried Plappert :
When running the attached program, it will fail with above message on
Control-2 only! All other control keys work happily.
The same program under MS-Windows seems to work (I am under Linux, so I
can't switch easily).
My version of Python:
Pytho
Changes by Winfried Plappert :
Removed file: http://bugs.python.org/file14517/tkpy_70.py
___
Python tracker
<http://bugs.python.org/issue6512>
___
___
Python-bugs-list m
Changes by Winfried Plappert :
Added file: http://bugs.python.org/file14518/tkpy_70.py
___
Python tracker
<http://bugs.python.org/issue6512>
___
___
Python-bugs-list m
Changes by Winfried Plappert :
Removed file: http://bugs.python.org/file14518/tkpy_70.py
___
Python tracker
<http://bugs.python.org/issue6512>
___
___
Python-bugs-list m
Changes by Winfried Plappert :
Added file: http://bugs.python.org/file14519/tkpy_70.py
___
Python tracker
<http://bugs.python.org/issue6512>
___
___
Python-bugs-list m
Winfried Plappert added the comment:
As I said, it does work on Windows, but NOT on Linux!
Her is the full traceback:
wplap...@lin-wpl:~/sudoku/version3.0/tk_test/python3$ python3 tkpy_70.py
key_control_num 1 (# I pressed Control-1)
Traceback (most recent call last):
File "tkpy_70.py&q
Winfried Plappert added the comment:
Is it possible that this issue is related to issue6144?
BTW: I have to handcomile my python 3.1 :)
--
___
Python tracker
<http://bugs.python.org/issue6
Winfried Plappert added the comment:
I have verified that the problem goes away when you switch from
tcl/tk8.4 to tcl/tk8.5 . Luckily my Ubuntu 9.04 has the 8.5-version
available for install. Thanks for the quick help!
--
___
Python tracker
<h
1 - 100 of 105 matches
Mail list logo