[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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]> _

[issue4149] Py_BuildValue and "y" format unit

2008-10-19 Thread Kandalintsev Alexandre
New submission from Kandalintsev Alexandre <[EMAIL PROTECTED]>: Hello! 'y' format unit in Py_BuildValue undocumented. However it's described in PyArg_ParseTuple. -- assignee: georg.brandl components: Documentation messages: 74989 nosy: exe, georg.brandl severity: normal status: open ti

[issue4148] Using blender

2008-10-19 Thread mshee
mshee <[EMAIL PROTECTED]> added the comment: I'm using vista also I downloaded the 2.6 but the error window shows 2.5? ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4148] Using blender

2008-10-19 Thread mshee
New submission from mshee <[EMAIL PROTECTED]>: When I start blender this shows in the cmd box. Why? Compiled with python version 2.5.2 'import site' failed; use -v for traceback checking for installed python... No installed python found. only built-in modules are available. some scripts may not

[issue4113] functools.partial(), no __name__; wrong __doc__

2008-10-19 Thread Thomas Lee
Thomas Lee <[EMAIL PROTECTED]> added the comment: I actually agree with the sentiment Georg. Would it instead be useful to maybe provide a __repr__ implementation that describes the state of the partially applied function? I guess this is an entirely different issue, maybe one for python-ideas.

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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 came out beau

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11834/test_latex-2.tex ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11833/test_latex-2.tex ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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 attached file.

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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 table, one then

[issue4113] functools.partial(), no __name__; wrong __doc__

2008-10-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I do not think the partial object should have the original function's __name__ or __doc__. It is after all not that function, but a callable that calls it. (This is different from e.g. a decorated function -- the decorator is taken as "modifying

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-19 Thread Andre Berg
Andre Berg <[EMAIL PROTECTED]> added the comment: Per instructions in the helpful post outlining the Library search order, I downloaded and installed AquaTk 8.5.4, then I downloaded Python-2.6.tar.gz source, ran ./configure --enable-framework, sudo make build, sudo make install. IDLE appears to

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The advantage of HTML here is that the browser dynamically adjusts the column widths to prevent things like in your screenshot from happening. LaTeX does no such thing. If you tell it that the column width 20%, the column will not be enlarged to

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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: from the width o

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2008-10-19 Thread Thomas Lee
New submission from Thomas Lee <[EMAIL PROTECTED]>: For XML elements containing only text data, it would be nice if toprettyxml could omit the whitespace it normally injects before & after the text, e.g. Bob Becomes: Bob >From what I understand the handling of whites

[issue4113] functools.partial(), no __name__; wrong __doc__

2008-10-19 Thread Thomas Lee
Thomas Lee <[EMAIL PROTECTED]> added the comment: Here's a patch against the 2.x trunk. Basically just dispatches reads of a partial's __name__ and __doc__ attributes to the underlying function object. -- keywords: +patch nosy: +thomas.lee Added file: http://bugs.python.org/file11831/iss

[issue4073] distutils build_scripts and install_data commands need 2to3 support

2008-10-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Ok. I've refactored RefactoringTool so that the write_file method doesn't make a backup file by default. ___ Python tracker <[EMAIL PROTECTED]>

[issue4146] compilation of Modules/python.c fails on OpenBSD

2008-10-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66976. -- nosy: +benjamin.peterson resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue4146] compilation of Modules/python.c fails on OpenBSD

2008-10-19 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Thanks! The patch looks good. Next time please use either the .diff or .patch extension. It makes it easier to review the patch. -- assignee: -> barry keywords: +needs review, patch nosy: +barry, christian.heimes priority: -> rel

[issue4146] compilation of Modules/python.c fails on OpenBSD

2008-10-19 Thread Damien Miller
New submission from Damien Miller <[EMAIL PROTECTED]>: Compilation of 3.0rc1 Modules/python.c fails on OpenBSD with the following error. The attached patch fixes things by explicitly casting PyMem_Malloc's return value c++ -pthread -c -fno-strict-aliasing -DNDEBUG -O2 -pipe -DTHREAD_STACK_SIZE=

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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. Then I print

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The only way to get this right for arbitrary tables is to hand-select the column widths with a "tabularcolumns" directive. I'll keep this issue open and optimize these columns step by step. -- priority: -> normal

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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]> __

[issue4145] tabulary entries in PDF documentation

2008-10-19 Thread Winfried Plappert
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. I'll en

[issue4067] ast.fix_missing_locations() breaks if node doesn't have "_attributes" variable

2008-10-19 Thread Armin Ronacher
Changes by Armin Ronacher <[EMAIL PROTECTED]>: -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4067] ast.fix_missing_locations() breaks if node doesn't have "_attributes" variable

2008-10-19 Thread Armin Ronacher
Armin Ronacher <[EMAIL PROTECTED]> added the comment: Fixed in changeset 66973 for trunk. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-b

[issue4027] wrong page index number in reference book of python documentation

2008-10-19 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: Georg, sphinx r66972 works perfectly. Thanks again! ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4138] IDLE crashes in my Windows Vista

2008-10-19 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Dan, you are right. Closing as fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue1040026] os.times() is bogus

2008-10-19 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- versions: +Python 2.5.3 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs

[issue1040026] os.times() is bogus

2008-10-19 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > compilation indeed breaks if sysconf is available but _SC_CLK_TCK is > not. My Unix-foo is not sufficient to confidently say that this is > impossible To make such a statement, one would need knowledge of all operating system releases that