[issue13104] urllib.request.thishost() returns a garbage value

2011-10-06 Thread Stefan Krah
Stefan Krah added the comment: /etc/hosts was incomplete; works fine now. Closing again. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue12210] test_smtplib: intermittent failures on FreeBSD

2011-10-06 Thread Stefan Krah
Stefan Krah added the comment: Naturally, as soon as I declare it fixed, it occurs again: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%202.7/builds/326 -- status: closed -> open ___ Python tracker

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Victor Semionov
Victor Semionov added the comment: I did not see any segfaults when I ran my app on 2.7. Please verify that 2.7 is really affected before making changes. -- ___ Python tracker

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -vsemionov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti added the comment: test attachments -- Added file: http://bugs.python.org/file23322/unnamed Added file: http://bugs.python.org/file23323/issue12753-3.diff ___ Python tracker ___

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti added the comment: test attachments -- Added file: http://bugs.python.org/file23324/issue12753-3.diff ___ Python tracker ___diff --git a/Doc/library/unicodedata.rst

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti added the comment: test attachments -- Added file: http://bugs.python.org/file23325/unnamed Added file: http://bugs.python.org/file23326/issue12753-3.diff ___ Python tracker ___

[issue2771] Test issue

2011-10-06 Thread Ezio Melotti
Ezio Melotti added the comment: Adding # ignore html part of multipart/alternative ignore_alternatives = yes to the config.ini seems to get rid of the "unnamed" attachments. -- ___ Python tracker ___

[issue6715] xz compressor support

2011-10-06 Thread Nadeem Vawda
Nadeem Vawda added the comment: Wow, this discussion has gotten quite busy while I've been travelling... Martin, could you explain what the problems are with bundling a precompiled DLL for Windows? I am willing to do the work of getting liblzma to compile with VS if necessary, but I don't know

[issue9442] Update sys.version doc

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f6704da4abb by Éric Araujo in branch '2.7': Fix markup used in the documentation of sys.prefix and sys.exec_prefix. http://hg.python.org/cpython/rev/9f6704da4abb -- nosy: +python-dev ___ Python tracker

[issue9442] Update sys.version doc

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6ea47522f466 by Éric Araujo in branch '3.2': Fix markup used in the documentation of sys.prefix and sys.exec_prefix. http://hg.python.org/cpython/rev/6ea47522f466 -- ___ Python tracker

[issue12167] test_packaging reference leak

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset e76c6aaff135 by Éric Araujo in branch 'default': Add regrtest check for caches in packaging.database (see #12167) http://hg.python.org/cpython/rev/e76c6aaff135 -- ___ Python tracker

[issue12222] All pysetup commands should respect exit codes

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab125793243f by Éric Araujo in branch 'default': Fix return code of “pysetup run COMMAND” (closes #1) http://hg.python.org/cpython/rev/ab125793243f -- resolution: -> fixed stage: -> committed/rejected status: open -> closed _

[issue11841] Bug in the verson comparison

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2105ab8553b7 by Éric Araujo in branch 'default': Add tests for comparing candidate and final versions in packaging (#11841). http://hg.python.org/cpython/rev/2105ab8553b7 -- nosy: +python-dev ___ Python

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: Can you paste the email for a starting point? -- nosy: +eric.araujo, ncoghlan ___ Python tracker ___ _

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> eric.araujo versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue11841] Bug in the verson comparison

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: I couldn’t reproduce the bugs but added the tests. Thanks! -- resolution: -> out of date stage: -> committed/rejected status: open -> closed versions: +3rd party ___ Python tracker

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: It is IMO a source of confusion that the doc talk about a string instead of “a bytes object” (3.x) or “a string (str)” (2.x, unless unicode is supported too). -- nosy: +eric.araujo ___ Python tracker

[issue12167] test_packaging reference leak

2011-10-06 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Your application does not segfault with 2.7 because buffered files and sockets use a very different implementation. The io module is present in all versions, but only Python3 uses it for all file-like objects. If the unit test (test_rwpair_cleared_before

[issue13113] Wrong error message on class instance, when giving too little positional arguments

2011-10-06 Thread telmich
New submission from telmich : I've this class: class Path: """Class that handles path related configurations""" def __init__(self, target_host, remote_user, remote_prefix, initial_manifest=False, base_dir=N

[issue12943] tokenize: add python -m tokenize support back

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: I made a few last remarks on Rietveld; feel free to address or ignore them and commit right away. -- nosy: +eric.araujo ___ Python tracker ___ __

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: Can the patch include regression tests? -- components: +Distutils2 nosy: +alexis, eric.araujo title: Bdist_wininst installers fail to load extensions built with Issue4120 patch -> bdist_wininst installers fail to load extensions built with Issue4120 patc

[issue13109] telnetlib insensitive to connection loss

2011-10-06 Thread xy zzy
xy zzy added the comment: Cfrom class(): # see if we can connect to pcPart try: self.pcPart = telnetlib.Telnet(IP, PORT) # clear the buffer for i in range(10): self.pcPart.write('\n') r = self.pcPart.read_until

[issue13113] Wrong error message on class instance, when giving too little positional arguments

2011-10-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in 3.3 Traceback (most recent call last): File "x.py", line 16, in debug=0) TypeError: __init__() missing 2 required positional arguments: 'remote_user' and 'remote_prefix' -- nosy: +benjamin.peterson resolution: -> out of date status

[issue13114] UnicodeDecodeError in command `register` due to using not ASCII chars in long_description

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: Thank you for the report. Can you give us a short setup.py that reproduces the bug? -- ___ Python tracker ___ __

[issue13114] UnicodeDecodeError in command `register` due to using not ASCII chars in long_description

2011-10-06 Thread Кирилл Кузьминых
New submission from Кирилл Кузьминых : Command `register` (and `check -r` too) raises the exception UnicodeDecodeError if the long_description (stored as unicode) contains not ASCII chars. This is because the Docutils, called from Distutils, accepts only ASCII or Unicode. But Distutils passes t

[issue3163] module struct support for ssize_t and size_t

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset db3e15017172 by Antoine Pitrou in branch 'default': Issue #3163: The struct module gets new format characters 'n' and 'N' http://hg.python.org/cpython/rev/db3e15017172 -- nosy: +python-dev ___ Python tra

[issue3163] module struct support for ssize_t and size_t

2011-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the reviews! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue13114] UnicodeDecodeError in command `register` due to using not ASCII chars in long_description

2011-10-06 Thread Кирилл Кузьминых
Кирилл Кузьминых added the comment: > Can you give us a short setup.py that reproduces the bug? Ok. Command that reproduces the bug: python setup.py check -r PS: I use: Ubuntu 11.04 Python 2.7.1 Docutils 0.8.1 -- Added file: http://bugs.python.org/file23328/setup.py ___

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: Your file uses setuptools, which is not part of Python, but I can reproduce the same bug with distutils. -- assignee: tarek -> eric.araujo components: +Distutils2 nosy: +alexis stage: -> needs patch title: UnicodeDecodeError in command `register` due to

[issue13115] tp_as_{number, sequence, mapping} can't be set using PyType_FromSpec

2011-10-06 Thread Andrew Wilkins
New submission from Andrew Wilkins : I've written an extension using Py_LIMITED_API, and I've created a type using PyType_FromSpec with the slot "Py_sq_length" defined. The slot is not being picked up, i.e. len(MyType()) fails. I can see that tp_as_sequence has not been set, which explains why

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Nick Coghlan
Nick Coghlan added the comment: This was from memory, so don't take it as gospel as far as the current security-fix-only branches go, but here's what I sent to Larry: - We maintain two independent heads in hg: 2.7 and default 3.2 is open for general bugfixes 2.5 (IIRC), 2.6 a

[issue13109] telnetlib insensitive to connection loss

2011-10-06 Thread Eric V. Smith
Eric V. Smith added the comment: Assuming that you're unplugging the cable when the code is in the loop that occurs after the line "self.pcPart.write(cmdx)", and also assuming that you haven't turned on keepalives, then the behavior you see is expected. You're just waiting to read some data,

[issue13111] Error 2203 when installing Python/Perl?

2011-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13115] tp_as_{number, sequence, mapping} can't be set using PyType_FromSpec

2011-10-06 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc, loewis type: -> behavior versions: +Python 3.3 ___ Python tracker ___ ___ P

[issue6715] xz compressor support

2011-10-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 06.10.11 13:01, schrieb Nadeem Vawda: > > Nadeem Vawda added the comment: > > Wow, this discussion has gotten quite busy while I've been travelling... > > Martin, could you explain what the problems are with bundling a precompiled > DLL > for Windows? Off

[issue8668] Packaging: add a 'develop' command

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: higery, can you give us a status update? Do you have the time to address current reviews or would you like me to make an updated patch? I’d like to incorporate this command as soon as possible to let people play with it, and then we’ll see about integration wi

[issue12344] Add **kwargs to get_reinitialized_command

2011-10-06 Thread Éric Araujo
Changes by Éric Araujo : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, I agree. I think, it can be clarified at that point too. Because. in 2.7 the string is being checked and in 3.3 the message_body is checked if it's instance of bytes. But, I think, it should be carefully worded (aligned with how other socket message args

[issue12416] packaging needs {pre,post}-{install,remove} hooks

2011-10-06 Thread Éric Araujo
Éric Araujo added the comment: Editing title to reflect the scope of the needed feature. -- title: packaging does not have hooks callable during distribution removal -> packaging needs {pre,post}-{install,remove} hooks versions: +3rd party ___ Pytho

[issue6715] xz compressor support

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: On http://tukaani.org/xz, I downloaded the file named xz-5.0.3-windows.zip. It contains precompiled dlls for both platforms: bin_i486/liblzma.dll and bin_x86_64/liblzma.dll Unfortunately, there is no import library for VS. It should not be too difficult

[issue13116] setup.cfg in [sb]dists should be static

2011-10-06 Thread Éric Araujo
New submission from Éric Araujo : Some people (hi Ronny :) want to use a setup hook to get the version from the VCS, but the setup.cfg file in sdists and bdists should be fully static, because getting the VCS info is not possible and maybe for other reasons too (not requiring development depen

[issue6715] xz compressor support

2011-10-06 Thread Nadeem Vawda
Nadeem Vawda added the comment: Hmm... according to http://git.tukaani.org/?p=xz.git;a=blob;f=windows/README-Windows.txt;hb=HEAD#l80, the MinGW-compiled static libs *can* be used with MSVC. Not sure how reliable the information is, but it's worth a try at least. -- ___

[issue6715] xz compressor support

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Ah indeed, the zip archive contains a doc/liblzma.def which can be used to build a liblzma.lib -- ___ Python tracker ___

[issue6715] xz compressor support

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Hey, today I learnt something about mingw! """Rename liblzma.a to e.g. liblzma_static.lib and tell MSVC to link against it.""" Apparently mingw can generate COFF libraries. This may simplify things *a lot*. -- ___

[issue13070] segmentation fault in pure-python multi-threaded server

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89b9e4bf6f1f by Charles-François Natali in branch '2.7': Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle http://hg.python.org/cpython/rev/89b9e4bf6f1f -- ___ Python tracker

[issue12911] Expose a private accumulator C API

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset f9f782f2369e by Antoine Pitrou in branch '3.2': Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. http://hg.python.org/cpython/rev/f9f782f2369e New changeset 656c13024ede by Antoine Pitrou in branch 'default

[issue12911] Expose a private accumulator C API

2011-10-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I added a comment insisting that the API is private and can be changed at any moment. StringIO can actually re-use that API, rather than the reverse. No need to instantiate a full-blown file object when all you want to do is to join a bunch of strings. -

[issue10141] SocketCan support

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset e767318baccd by Charles-François Natali in branch 'default': Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias http://hg.python.org/cpython/rev/e767318baccd -- nosy: +python-dev ___

[issue10141] SocketCan support

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset a4af684bb54e by Victor Stinner in branch 'default': Issue #10141: Don't use hardcoded frame size in example, use struct.calcsize() http://hg.python.org/cpython/rev/a4af684bb54e -- ___ Python tracker

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
New submission from Francisco Martín Brugué : Hi, In the page http://docs.python.org/devguide/compiler.html the links in the references [1] (http://www.foretec.com/python/workshops/1998-11/proceedings/papers/montanaro/montanaro.html) and in [Wang97] (http://www.cs.princeton.edu/%7Edanwang/Pap

[issue13118] Py_BuildValue format f incorrect description.

2011-10-06 Thread Félix-Antoine Fortin
New submission from Félix-Antoine Fortin : Python/C API Reference Manual, section Utilities, Parsing arguments and building values, function Py_BuildValue. The description for the format unit "f" is incorrect. It reads "Same as d.", as it should be "Convert a C float to a Python floating point

[issue10141] SocketCan support

2011-10-06 Thread Charles-François Natali
Charles-François Natali added the comment: Committed. Matthias, Tiago, thanks! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: The reference for [1] could be changed to: http://www.python.org/workshops/1998-11/proceedings/papers/montanaro/montanaro.html -- ___ Python tracker

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: The reference to [Wang97] could be changed to: http://www.cs.princeton.edu/research/techreps/TR-554-97 -- ___ Python tracker ___

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Francisco Martín Brugué
Francisco Martín Brugué added the comment: A patch with the links mentioned above. -- keywords: +patch Added file: http://bugs.python.org/file23329/issue13117.patch ___ Python tracker _

[issue8037] multiprocessing.Queue's put() not atomic thread wise

2011-10-06 Thread Charles-François Natali
Charles-François Natali added the comment: > Modifying an object which is already on a traditional queue can also > change what is received by the other thread (depending on timing). > So Queue.Queue's put() is not "atomic" either. Therefore I do not > believe this behaviour is a bug. Agreed.

[issue3244] multipart/form-data encoding

2011-10-06 Thread Aleksey Frolov
Changes by Aleksey Frolov : -- nosy: +atommixz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76159c6d265a by Ned Deily in branch 'default': Issue #13117: Fix broken links in the compiler page of the Developer's Guide. http://hg.python.org/devguide/rev/76159c6d265a -- nosy: +python-dev ___ Python

[issue13117] Broken links in the “compiler” page, section “references” from the devguide.

2011-10-06 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch! -- nosy: +ned.deily resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
New submission from M. Zilmer : In 3.2.2 the newline for print() is \n on Windows, and not \r\n as expected. In 3.1.4 the newline is \r\n. OS is Win 7, and tried on both 32 and 64 bit. Small example with output is attached. -- components: Windows files: newline.py messages: 145039 nos

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer : Added file: http://bugs.python.org/file23331/newline_3.1.txt ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer : Added file: http://bugs.python.org/file23332/newline_3.2.txt ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13120] Default nosigint optionto pdb.Pdb() prevents use in non-main thread

2011-10-06 Thread Ben Bass
New submission from Ben Bass : The new SIGINT behaviour of pdb.Pdb prevents use of pdb within a non-main thread without explicitly setting nosigint=True. Specifically the 'continue' command causes a traceback as follows: {{{ ... File "/Library/Frameworks/Python.framework/Versions/3.2/lib/py

[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2011-10-06 Thread Ben Bass
Changes by Ben Bass : -- title: Default nosigint optionto pdb.Pdb() prevents use in non-main thread -> Default nosigint option to pdb.Pdb() prevents use in non-main thread ___ Python tracker __

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 096b010ae90b by Ned Deily in branch '2.7': Issue #7367: Add test case to test_pkgutil for walking path with http://hg.python.org/cpython/rev/096b010ae90b New changeset 1449095397ae by Ned Deily in branch '2.7': Issue #7367: Fix pkgutil.walk_paths t

[issue7425] Improve the robustness of "pydoc -k" in the face of broken modules

2011-10-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 45862f4ab1c5 by Ned Deily in branch '2.7': Issue #7425: Refactor test_pydoc test case for '-k' behavior and add http://hg.python.org/cpython/rev/45862f4ab1c5 New changeset 3acf90f71178 by Ned Deily in branch '2.7': Issue #7425: Prevent pydoc -k fai

[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

2011-10-06 Thread Ned Deily
Ned Deily added the comment: The applied changesets correct pkgutil's walk_packages for "classic" imports to ignore unreadable directories the same way that the interpreter's import does. With this fix to pkgutil, pydoc -k also no longer fails in this case. Applied in 2.7 (for 2.7.3), 3.2 (

[issue7425] Improve the robustness of "pydoc -k" in the face of broken modules

2011-10-06 Thread Ned Deily
Ned Deily added the comment: The applied changesets backport the "ignore exceptions" fix for pydoc -k from 3.x to 2.7 and also refactor test_pydoc to remove unneeded complexity and add test cases for importing bad packages and unreadable package directories (a problem addressed in Issue7367).

[issue7425] Improve the robustness of "pydoc -k" in the face of broken modules

2011-10-06 Thread Ned Deily
Changes by Ned Deily : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue2945] bdist_rpm does not list dist files (should effect upload)

2011-10-06 Thread Carl Robben
Carl Robben added the comment: I found that bdist_rpm wasn't registering distributions with dist.dist_files at all. The attached patch should be all that's needed to fix this. -- keywords: +patch nosy: +crobben Added file: http://bugs.python.org/file2/bdist_rpm.patch

[issue11250] 2to3 truncates files at formfeed character

2011-10-06 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Was this patch ever folded into Python 3.2? Looking at the hg repository, I think the answer is "no". It does appear to have made it into Python 2.7 and trunk though (afaict). In point of fact, this bug is hitting me now with 3.2.2. -- nosy: +barr

[issue13105] Please elaborate on how 2.x and 3.x are different heads

2011-10-06 Thread Larry Hastings
Larry Hastings added the comment: What follows is the original email from Nick. -- We maintain two independent heads in hg: 2.7 and default 3.2 is open for general bugfixes 2.5 (IIRC), 2.6 and 3.1 are open for security fixes Security fixes (if applicable to both heads) go: 2.5 -> 2.6 -> 2.7

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-10-06 Thread Mark Hammond
Mark Hammond added the comment: I'm reluctant to commit to adding test infrastructure for the distutils build commands - if I've missed existing infrastructure and adding such tests would actually be relatively simple, please educate me! Or if someone else would like to help with the infrast

[issue12436] Missing items in installation/setup instructions

2011-10-06 Thread Mike Hoy
Mike Hoy added the comment: > - How to prepare a text editor See: http://docs.python.org/dev/using/unix.html#editors > - How to run Python code from a file (if the tutorial or using docs don’t > already have it). See: http://docs.python.org/dev/using/unix.html#miscellaneous -- nosy:

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: To people who open the file in their browser: text files are very similar, but newline_3.1.txt has CRLF line endings and newline_3.2.txt has LF line endings. M.Z, how did you obtain them? did you start a subprocess? -- nosy: +amaury.forgeotdarc,

[issue13118] Py_BuildValue format f incorrect description.

2011-10-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I've checked in the code: 'f' and 'd' are really the same (Python/modsupport.c). And in http://en.wikipedia.org/wiki/Stdarg.h, you can read: """A float will automatically be promoted to a double.""" -- nosy: +amaury.forgeotdarc

[issue12823] Broken link in "SSL wrapper for socket objects" document

2011-10-06 Thread Mike Hoy
Mike Hoy added the comment: Patch to remove broken link. -- keywords: +patch nosy: +mikehoy Added file: http://bugs.python.org/file23334/SSL-broken-link.diff ___ Python tracker

[issue12602] Missing using docs cross-references

2011-10-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is all a puzzle to me. "

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
M. Zilmer added the comment: Hi Amaury, The two text files were obtained through redirection in Windows, so I simply ran the newline.py file with: ...> C:\Python31\python.exe newline.py > newline_3.1.txt ...> C:\Python32\python.exe newline.py > newline_3.2.txt Best regards, Morten Z

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-06 Thread Кирилл Кузьминых
Кирилл Кузьминых added the comment: I created the patch (in attachment) for Distutils from Python 2.7. PS: Python 3.2 does not contain this error, because there the entire text is stored in unicode. -- components: -Distutils2 keywords: +patch type: behavior -> crash versions: -3rd p

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-06 Thread Кирилл Кузьминых
Changes by Кирилл Кузьминых : -- components: +Distutils2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue12602] Missing using docs cross-references

2011-10-06 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-10-06 Thread Ned Deily
Ned Deily added the comment: Thanks for your suggested code and test. Somewhat different fixes to pkgutil have been added by the changes for Issue7367 and a necessary backport of a fix for pydoc from 3.x to 2.7 was made for Issue7425. With these fixes in place, pydoc for 3.3.0, 3.2.3, and 2.

[issue13114] check -r fails with non-ASCII unicode long_description

2011-10-06 Thread Кирилл Кузьминых
Changes by Кирилл Кузьминых : -- versions: +3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12696] pydoc error page due to lacking permissions on ./*

2011-10-06 Thread Ned Deily
Ned Deily added the comment: This problem has been fixed with the changes for Issue7367 and, for 2.7, Issue7425. They should appear in 3.3.0, 3.2.3, and 2.7.3. -- resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed superseder: -> pkgutil.walk_pac

[issue13078] Python Crashes When Saving Or Opening

2011-10-06 Thread Ned Deily
Changes by Ned Deily : -- nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue13078] Python Crashes When Saving Or Opening

2011-10-06 Thread Brian Curtin
Brian Curtin added the comment: You are attempting to open or save .py files from what? IDLE? What are the steps you would use to reproduce this issue? How was this error message obtained? -- ___ Python tracker