[issue4167] Inline Markup :const: shows up in Documentation

2008-10-21 Thread Winfried Plappert
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_WRITE` filte

[issue4165] Failure building 64-bit Python on Leopard

2008-10-21 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: On 21 Oct, 2008, at 22:57, Roumen Petrov wrote: > > It is possible gcc to compile for multiple architectures at same > time ? Yes. Apple's gcc driver knows how to deal with multiple -arch flags. ___ Py

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

2008-10-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > All .py files should be converted. I disagree. For example, people decided that all .py files in Tools should get converted, converting Tools/msi in the process. Now, Tools/msi is intended to be run in an *older* Python version than the on

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

2008-10-21 Thread Mark Hammond
Mark Hammond <[EMAIL PROTECTED]> added the comment: Thinking more about data_files, I'd agree that blindly converting all .py files and nothing more isn't as useful for install_data as the other commands. It might make more sense to allow data_files to specify a list of patterns that will be mat

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

2008-10-21 Thread Mark Hammond
Mark Hammond <[EMAIL PROTECTED]> added the comment: > I'm skeptical about adding build_data support, as it's not > obvious what files would need conversion. All .py files should be converted. I can't think why a project would use this 2to3 capability for scripts and packages, but not .py files

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2008-10-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > I read the PEP, > which serves as a specification of raw unicode escape (at least for the > decoding bit) and the reference documentation. Which PEP specifically? PEP 263 only mentions the unicode-escape encoding in its problem statement,

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2008-10-21 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: I agree, too. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Un

[issue1248] ftplib needs a rewrite to use bytes/buffers

2008-10-21 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: - retrbinary() and storbinary() uses bytes (byte strings) - retrlines() and storlines() uses str (unicode strings) with charset=self.encoding - command is an unicode string converted to byte string with charset=self.encoding So it's alrea

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2008-10-21 Thread Dan Dibagh
Dan Dibagh <[EMAIL PROTECTED]> added the comment: I am well aware why my example produces an error from a technical standpoint. What I'm getting at is the decision to implement PyUnicode_EncodeRawUnicodeEscape the way it is. Probably there is nothing wrong with it, but how am I supposed to know?

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2008-10-21 Thread Josiah Carlson
Josiah Carlson <[EMAIL PROTECTED]> added the comment: I agree with Giampaolo. In the case of non-blocking sockets, if reading from the ssl stream fails because there is no data on the socket, then sitting in a while loop is just going to busy-wait until data is discovered. Never mind that th

[issue4092] inspect.getargvalues return type not ArgInfo

2008-10-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the report. Fixed in r66995. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1248] ftplib needs a rewrite to use bytes/buffers

2008-10-21 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Function result type should be the same of the connection is in text mode or binary mode. As far as I remember, the text mode converts the newline byte sequence, not the charset. A text file could be stored as latin-1, utf-8, koi-8 or anyth

[issue4166] extra "\fi" in sphinx.sty, line 62

2008-10-21 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: -- nosy: +wplappert ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue4157] Tuple not callable in platform.py

2008-10-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Fixed with r66994. Thanks for the report! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4166] extra "\fi" in sphinx.sty, line 62

2008-10-21 Thread Eric Firing
New submission from Eric Firing <[EMAIL PROTECTED]>: Building the matplotlib docs using Sphinx svn 66969 results in a Latex error ending in: ) (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty (/usr/share/texmf-texlive/tex/latex/g

[issue4166] extra "\fi

2008-10-21 Thread Eric Firing
Changes by Eric Firing <[EMAIL PROTECTED]>: -- assignee: georg.brandl components: Documentation tools (Sphinx) nosy: efiring, georg.brandl severity: normal status: open title: extra "\fi ___ Python tracker <[EMAIL PROTECTED]>

[issue4149] Py_BuildValue and "y" format unit

2008-10-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4149] Py_BuildValue and "y" format unit

2008-10-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Documented in r66993. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4160] library.pdf - Section 12.13.2 Connection Objects - example cut off at the right hand side

2008-10-21 Thread Winfried Plappert
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]> ___ ___

[issue4164] String double quoted fatal problem

2008-10-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: All your samples explain easily if you consider that two adjacent string literals are joined together. (You seem to consider that "double quote" is a way to insert a quote character. It's not; Python is not Pascal or SQL) Your first

[issue4159] Table about Standard Encodings is cut off at the bottom - 35 entries missing

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

[issue4162] library.pdf - Section 17.6.4 Examples - Multiprocessing - Formatting got lost

2008-10-21 Thread Winfried Plappert
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 PROTECTED]>

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-21 Thread kai zhu
kai zhu <[EMAIL PROTECTED]> added the comment: k ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue4165] Failure building 64-bit Python on Leopard

2008-10-21 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: configure:5602: checking errno.h usability configure:5619: gcc-4.0 -c -arch i386 -arch ppc -arch ppc64 -arch x86_64 -isysroot MACOSX_DEPLOYMENT_TARGET=10.5 -g -O2 conftest.c >&5 Binary file conftest.er1 matches configure:5625: $? = 1

[issue4161] test_urllib fails with ValueError

2008-10-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the report! Fixed in r66992. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4165] Failure building 64-bit Python on Leopard

2008-10-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4070] python tests failure if builddir <> sourcedir

2008-10-21 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: About issue4151 - clean up is in test_sysconfig.py and setup.py - it is fine with me. Modification for test_build_ext.py from above mentioned issue break non-posix builds. ___ Python tracker <[EMAIL PROTECT

[issue3997] zipfile and winzip

2008-10-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: OK, it seems that the "central directory size" and "central directory offset" must contain their actual value if it can fit in a 32bit int, even though the spec says "If an archive is in ZIP64 format and the value in this field is 0xF

[issue4165] Failure building 64-bit Python on Leopard

2008-10-21 Thread Anand Patil
New submission from Anand Patil <[EMAIL PROTECTED]>: Configuring with sihpc03:Python-2.6 anand$ ./configure --with-framework-name=Python64 -- with-universal-archs=all --enable-framework --enable- universalsdk=MACOSX_DEPLOYMENT_TARGET=10.5 on an Intel Mac Pro with the latest Leopard and Apple g

[issue4164] String double quoted fatal problem

2008-10-21 Thread Felipe
New submission from Felipe <[EMAIL PROTECTED]>: Hi I have a problem with python 2.6, when i try to process strings with triple-quoted string literal i get an error: a='a''a' #1 double quoted Ok a='aa' # 2 Ok a= 'a''a' # 3 doble quoted -- SyntaxError: EOF while scanning triple-quoted s

[issue4163] textwrap wordsep_re Unicode

2008-10-21 Thread Sebastian Kirsche
New submission from Sebastian Kirsche <[EMAIL PROTECTED]>: The attached patch makes textwrap work with strings containing dashes and Unicode alphabetic characters. In addition, it fixes the test case for issue 1149508, which no longer failed after temporarily undoing the corresponding change.

[issue3997] zipfile and winzip

2008-10-21 Thread vali
vali <[EMAIL PROTECTED]> added the comment: Thank you for the quick fix. I could verify that the issue is fixed in python 2.6 when I use WinZip to open an archive with more than 2^16 files created with attached script (bug.py). However the windows native compress utility does not seem to be able

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2008-10-21 Thread Koen van de Sande
Koen van de Sande <[EMAIL PROTECTED]> added the comment: Instead of reverting the patch for Issue 2563, I propose to strip the VC90 runtimes from the manifest (this will preserve other dependencies needed). I checked this by editing tk85.dll and replacing the dependency there with white-space

[issue4158] compilation of sqlite3 fails

2008-10-21 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Looks like sqlite3 was not compiled for you. To verify, run ``make`` again and note what modules it lists at the very end as not built. I bet it lists sqlite3 there. -- nosy: +brett.cannon title: import of sqlite3 fails -> compilation o

[issue4145] tabulary entries in PDF documentation

2008-10-21 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: -- components: +Documentation tools (Sphinx) -Documentation ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4162] library.pdf - Section 17.6.4 Examples - Multiprocessing - Formatting got lost

2008-10-21 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: -- components: +Documentation tools (Sphinx) -Documentation ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4159] Table about Standard Encodings is cut off at the bottom - 35 entries missing

2008-10-21 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: -- components: +Documentation tools (Sphinx) -Documentation ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4160] library.pdf - Section 12.13.2 Connection Objects - example cut off at the right hand side

2008-10-21 Thread Winfried Plappert
Changes by Winfried Plappert <[EMAIL PROTECTED]>: -- components: +Documentation tools (Sphinx) -Documentation ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4162] library.pdf - Section 17.6.4 Examples - Multiprocessing - Formatting got lost

2008-10-21 Thread Winfried Plappert
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 lost and the PDF te

[issue4159] Table about Standard Encodings is cut off at the bottom - 35 entries missing

2008-10-21 Thread Winfried Plappert
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 completely. ___

[issue4161] test_urllib fails with ValueError

2008-10-21 Thread Zsolt Cserna
New submission from Zsolt Cserna <[EMAIL PROTECTED]>: test_urllib regression test fails with ValueError on linux (kernel 2.4, glibc 2.3): test_urllib test test_urllib failed -- Traceback (most recent call last): File "/tmp/x/Lib/test/test_urllib.py", line 112, in tearDown for k, v in self.

[issue4159] Table about Standard Encodings is cut off at the bottom - 35 entries missing

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

[issue4160] library.pdf - Section 12.13.2 Connection Objects - example cut off at the right hand side

2008-10-21 Thread Winfried Plappert
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 relevant line f

[issue4159] Table about Standard Encodings is cut off at the bottom - 35 entries missing

2008-10-21 Thread Winfried Plappert
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 to the HTM

[issue4158] import of sqlite3 fails

2008-10-21 Thread Jacques Lemire
New submission from Jacques Lemire <[EMAIL PROTECTED]>: This is a dump of the error: Python 3.0rc1 (r30rc1:66499, Oct 6 2008, 12:44:02) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 Traceback (most rece

[issue4157] Tuple not callable in platform.py

2008-10-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Correct. Fortunately this is an internal function that is not used by any other code. It should be corrected and moved to the test suite. -- assignee: -> amaury.forgeotdarc nosy: +amaury.forgeotdarc __

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-10-21 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: This doesn't sound like it will ever be reliable. Kai Zhu, a better strategy would be for you to maintain your own experimental port of Python 2.6+3.0 based upon these patches. -- resolution: -> rejected status: open -> closed __

[issue4157] Tuple not callable in platform.py

2008-10-21 Thread Feite Jaarsma
New submission from Feite Jaarsma <[EMAIL PROTECTED]>: The function 'def _test_parse_release_file()' has a for statement with a tuple as iter in it (examples of release file contents). This tuple is not a tuple. There is a ',' missing on every line (marked by '*'): for input, output in (

[issue4156] Docs for BaseHandler.protocol_xxx methods are unclear

2008-10-21 Thread Kent Johnson
New submission from Kent Johnson <[EMAIL PROTECTED]>: In the docs for urllib2.BaseHandler previous to Python 2.6, the names of the protocol_xxx() methods were spelled with 'protocol' in italics to indicate that it is a placeholder; the actual method name is e.g. http_opener(). http://www.python.o

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2008-10-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-10-21 11:22, Dan Dibagh wrote: > Your reasoning shows a lack of understanding how Python is actually used > from a programmers point of view. Hmm, I've been using Python for almost 15 years now and do believe that I have an idea o

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2008-10-21 Thread Dan Dibagh
Dan Dibagh <[EMAIL PROTECTED]> added the comment: Your reasoning shows a lack of understanding how Python is actually used from a programmers point of view. Why do you think that "noticing" a problem is the same thing as entering as a python bug report? In practice there are several steps betwee