[issue10724] socket.close close telnet with RST

2010-12-16 Thread sean216
sean216 added the comment: def close(self): self._sock = _closedsocket() dummy = self._sock._dummy for method in _delegate_methods: setattr(self, method, dummy) close.__doc__ = _realsocket.close.__doc__ socket.close function use Python25\DLLs\_socket.pyd,

[issue10724] socket.close close telnet with RST

2010-12-16 Thread sean216
Changes by sean216 : Added file: http://bugs.python.org/file20091/normal RST and fin.pcap ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10724] socket.close close telnet with RST

2010-12-16 Thread sean216
New submission from sean216 : when use socket.close to close the telnet connection, in normal usage the tcp disconnect will be (socket.close send the TCP FIN) TCP ATCP B 1. ESTABLISHED ESTABLISHED

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attached patch, issue10254.diff, is essentially Martin's code from msg120018 and Part3 tests from NormalizationTest.txt. Since this bug exposes a buffer overflow condition, I think it qualifies as a security issue, so I am adding 2.6 to versions. Passi

[issue4493] urllib2 doesn't always supply / where URI path component is empty

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Wes, I forgot to address your last comment. HTTPClient follows HTTP Spec for requests and responses. When it is used, the request is on the PATH and the code there checks if the path does not exist does a request on '/'. It is not appropriate to pass Invali

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: If a client sends a request without specifying the version, GET /, then the Python server should behave like other common servers are behaving, namely support rfc 1945 for HTTP 1.0 spec and return the response without headers. Removing the HTTP 0.9 from the

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r87329, r87330 and r87331. Thanks for the patch Wes, that was proper. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

2010-12-16 Thread Nick Coghlan
Nick Coghlan added the comment: The PEP is quite clear that the object providing the buffer owns those fields. Last time I checked, the memoryview implementation appeared broken because it didn't respect that ownership (and created the potential for confusion on the topic). -- _

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ezio Melotti
Ezio Melotti added the comment: The CSS also has a validation error, some warnings and could be written better IMHO (specifically I don't like the placement of the {}). I also don't believe that extensive CSS resets are useful -- they usually just lead to lot of redefining. I usually limit my

[issue9011] ast_for_factor unary minus optimization changes AST

2010-12-16 Thread R. David Murray
R. David Murray added the comment: Mark, are you still planning to do something for 3.1/2.7, or should this be closed? -- nosy: +r.david.murray stage: commit review -> needs patch ___ Python tracker __

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam added the comment: Ok, I just looked at them again, I didn't remember how different it was. They probably won't be much help other than maybe seeing how some things could be done. Here's a zip file of some saved pages, so you can take a look. -- Added file: http://bugs.pytho

[issue2193] Cookie Colon Name Bug

2010-12-16 Thread R. David Murray
R. David Murray added the comment: Seems like this really needs a strict and a lax mode. Perhaps a BrowserCookie class that implements the relaxed rules? That would make this a feature request, though, and so nothing would happen until 3.3, which would be unfortunate. It is certainly possib

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: The uploaded stylestyle is *much* bigger than I expected. There should be no more than a one-to-one correspondence. With inheritance, perhaps even fewer entries. -- ___ Python tracker

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam added the comment: I think that's how I ended up with the style sheet I uploaded. It works, but it can be a slow process. Another factor is the pydoc server will reread an external style sheet on browser refreshes. So you can see the results of style sheet changes without restartin

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-16 Thread R. David Murray
R. David Murray added the comment: Here's a patch against py3k with test. If I'm understanding the issue correctly, this looks like a pretty safe change. -- nosy: +r.david.murray stage: -> patch review Added file: http://bugs.python.org/file20087/cookies_extra_coding.patch _

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Dec 10, 2010 at 6:09 PM, Daniel Stutzbach wrote: .. > The second check for surrogates in Py_UNICODE_PUT_NEXT is necessary, unless > you can prove that > Py_UNICODE_SOME_TRANSFORMATION will never transform characters < 0x1 into > characters >

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +doerwalter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The logic suggested by Martin in msg120018 looks right to me, but the whole code seems to be unnecessarily complex. (And comb1==comb may need to be changed to comb1>=comb.) I don't understand why linear search through "skipped" array is needed. At the

[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2010-12-16 Thread R. David Murray
R. David Murray added the comment: Perhaps Terry will have some advice (I've added him as nosy), but you may have better luck asking on the python mailing list (see mail.python.org for list of lists) or its linked newsgroup comp.lang.python, or on the #python irc channel (though they may tell

[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2010-12-16 Thread R. David Murray
Changes by R. David Murray : -- nosy: +terry.reedy type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10454] Clarify compileall command-line options

2010-12-16 Thread R. David Murray
R. David Murray added the comment: Here is a proposed patch to both docs and help output. The help output now looks like this: usage: compileall.py [-h] [-l] [-f] [-q] [-b] [-d DESTDIR] [-x REGEXP] [-i FILE] [FILE|DIR [FILE|DIR ...]] Utilities to sup

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-16 Thread STINNER Victor
STINNER Victor added the comment: "Ooops", sorry. I just applied the patch suggested by Marc-Andre Lemburg in msg22885 (#1054943). As the patch worked for the examples given in Unicode PRI 29 and the test suite passed, it was enough for me. I don't understand the normalization code, so I don'

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm rejecting this as "won't fix". Users having the underlying problem (i.e. need more than 2GB of heap) really should switch to a 64-bit installation. The risk of something breaking is just not worth it. That testing showed no issues is not convincing at al

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___ ___

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue10723] Undocumented built-in exceptions

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list m

[issue10723] Undocumented built-in exceptions

2010-12-16 Thread flashk
flashk added the comment: Just realized I previously attached the entire file. Here is the diff instead. -- keywords: +patch Added file: http://bugs.python.org/file20085/exceptions.diff ___ Python tracker

[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

2010-12-16 Thread Mark Dickinson
Mark Dickinson added the comment: > That's because the new buffer protocol doesn't define ownership of > Py_buffer structs. As a result, nothing can be assumed at to which > piece of code is responsible for allocation and deallocation of > related memory areas (such as shapes and strides arrays)

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: The question really is whether we want or want not to support RFC 1945 (i.e HTTP/1.0). If we want to support it, we also must comply to section 3.1, which says The version of an HTTP message is indicated by an HTTP-Version field in the first line of the me

[issue10723] Undocumented built-in exceptions

2010-12-16 Thread flashk
New submission from flashk : The "Built-in Exceptions" page of the Python 2.7 documentation is missing descriptions for BufferError, IndentationError, and TabError. I've gone ahead and added a brief description of each error to the page. -- assignee: d...@python components: Documentati

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: A good procedure is to start afresh with an empty, embedded style sheet and replace the html styling attributes one at a time, while keeping the overall look and feel the same. At the end of the process the embedded style sheet can be converted to extern

[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2010-12-16 Thread T Rink
New submission from T Rink : Hi. My problem is that this evening, the message "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection." appears after I hit F5 to run a file I am editing. The program briefly worke

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam added the comment: Eric, most of what's in that file is what I figured out by trial and error in order to get it to work on the different browsers at that time. (about 3 years ago.) You are probably more experienced with css than I am, so you are more than welcome to update and chan

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-16 Thread Jason Scheirer
Jason Scheirer added the comment: The patch is a simple tweak to the Visual Studio project's compiler settings. Seems quite innocuous, nothing broke in the Python harness or our internal harnesses (at ESRI) by enabling this. -- keywords: +patch nosy: +Jason.Scheirer status: pending ->

[issue10718] Idle 2.7.1 from 64-bit installer crashes on OS X when source is saved

2010-12-16 Thread Jill
Jill added the comment: *Thanks Ned. I'll give this a try. Jill * On Thu, Dec 16, 2010 at 2:04 PM, Ned Deily wrote: > > Ned Deily added the comment: > > Unfortunately, there are some major stability problems with IDLEs that are > linked with the Apple-supplied Tcl/Tk 8.5 in OS X 10.6. (See,

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm looking for a deeper fix, all the in-line styling replaced by a stylesheet. Can you guys work together on bring this to fruition? -- ___ Python tracker __

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: Those two scripts are just three-liners pydoc launchers. I disagree about the CSS reset. Default values and user-set values have a reason for being there, and I share the viewpoint that they should not be reset. -- _

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam added the comment: I uploaded the css file I used in an experimental version of pydoc. It may give some useful starting values. Before this is done, the old server code should be removed (also for 3.3). (another issue?) There are two files in the tools/scripts directory that may

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Adding an assert as shown in the diff below, makes it easy to reproduce the crash in py3k branch: $ ./python.exe crash.py Assertion failed: (cskipped < 20), function nfc_nfkc, file Modules/unicodedata.c, line 714. Abort trap I am attaching jhalcrow's

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10719] compileall no longer warns when cli arguments name non-existent files

2010-12-16 Thread R. David Murray
R. David Murray added the comment: Fixed in r87324. I've also added a test for the behaviour when no arguments are given, since that wasn't tested before, and removed the sys.path fiddling since it has no effect on subprocess runs. Oh, and fixed a bug in one of the other tests. I did not b

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: Some more guidelines: http://www.python.org/dev/patches/ -- nosy: +eric.araujo versions: +Python 3.1, Python 3.2 ___ Python tracker ___ __

[issue8040] It would be nice if documentation pages linked to other versions of the same document

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: No, because with Subversion or Mercurial you’re free to clone/checkout any branch in a directory with an arbitrary name. For the py3k branch, Ezio’s checkout is named py3k but mine is 3.2, there is no way to put knowledge about that in the doc itself.

[issue10718] Idle 2.7.1 from 64-bit installer crashes on OS X when source is saved

2010-12-16 Thread Ned Deily
Ned Deily added the comment: Unfortunately, there are some major stability problems with IDLEs that are linked with the Apple-supplied Tcl/Tk 8.5 in OS X 10.6. (See, for instance, Issue9763.) That includes the current python.org 2.7.1 64-bit installer. The simplest workaround at the moment i

[issue8040] It would be nice if documentation pages linked to other versions of the same document

2010-12-16 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Tue, Dec 14, 2010 at 7:22 PM, Ezio Melotti wrote: > If you want to work on this you should also consider that the URLs used on > docs.python.org don't necessary match the directory structure present when > building the doc locally. For example here it wo

[issue10711] Rip out HTTP 0.9 client support

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: Patch LGTM, modulo warnings.warn calls lacking a stacklevel=2 parameter. -- nosy: +eric.araujo ___ Python tracker ___

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: LGTM -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue10710] Is Misc/setuid-prog.c still needed?

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r87323. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker __

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See also the calendar module for an example of a "modern" html. -- ___ Python tracker ___ ___

[issue10711] Rip out HTTP 0.9 client support

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm opening a separate issue (issue10721) for the server side and retargetting this issue to client support. Patch attached. -- title: Rip out HTTP 0.9 support -> Rip out HTTP 0.9 client support Added file: http://bugs.python.org/file20078/removehttp09

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : http.server has support for old-style HTTP 0.9 requests ("command path" without a version string). This issue proposes to remove this support, since there are probably no clients around which still issue such requests. See issue10711 for the client side. -

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I believe Ron has done something along these lines already. See issue2001. Committed css file is empty, (see r86971) but I am adding Ron to "nosy" in case he has something in the pipeline. -- nosy: +belopolsky, ron_adam __

[issue10718] Idle crashes on OSX when source is saved

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Same behavior when starting /Applications/Python 2.7/IDLE.app in finder. -- ___ Python tracker ___ __

[issue10718] Idle crashes on OSX when source is saved

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > After entering my code What code did you enter? Which window did you enter it to? > I am prompted to save what exactly did you do before you were "prompted"? What did the "prompt" look like. Can you post the screen shots? I was actually able t

[issue10720] test_threadsignals hang on FreeBSD 6.4

2010-12-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : The title says it all. This is related to r87292 (issue8844). -- components: Library (Lib), Tests messages: 124141 nosy: db3l, pitrou, rnk priority: normal severity: normal status: open title: test_threadsignals hang on FreeBSD 6.4 type: behavior vers

[issue8754] ImportError: quote bad module name in message

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: Does someone have time to review? I think this would be a good change for 3.2. Georg, please lower the priority if you think this can wait for 3.3. -- nosy: +georg.brandl priority: low -> release blocker ___ Python tr

[issue10714] httpserver request length

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: It turns out the test could be simplified a lot by reusing the existing infrastructure. I've committed the modified patch in r87317 (3.2), r87318 (3.1) and r87320 (2.7). Thank you! -- resolution: -> fixed stage: -> committed/rejected status: open ->

[issue6791] httplib read status memory usage

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Dec 16, 2010 at 02:02:10PM +, Antoine Pitrou wrote: > I don't think you understood the issue here. Calling readline() without > a maximum length means the process memory potentially explodes, if the > server sends gigabytes of data without a single

[issue10454] Clarify compileall command-line options

2010-12-16 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10714] httpserver request length

2010-12-16 Thread Ross Lagerwall
Ross Lagerwall added the comment: OK, here is an updated patch using threading & 0 as a port number. -- Added file: http://bugs.python.org/file20076/httpserver_py3k_v2.patch ___ Python tracker

[issue10719] compileall no longer warns when cli arguments name non-existent files

2010-12-16 Thread R. David Murray
New submission from R. David Murray : The introduction of support for compiling individual files broke the previous behavior of compileall, where it would report that it could not turn a directory name into a file list if the named directory did not exist. A fix would be to reverse the test us

[issue10714] httpserver request length

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch. First, there's no need to use multiprocessing here. Threading would be sufficient. Second, you shouldn't use an explicit port number, but instead let the server bind itself to whatever port is available (I think 0 using as the port numbe

[issue10718] brand new to programming. crashes at run

2010-12-16 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ __

[issue10718] brand new to programming. crashes at run

2010-12-16 Thread Jill
New submission from Jill : Hello and thanks in advance. I installed Python 2.7 from the python site onto my MAC with OS X 10.6.4. After entering my code (which makes me feel humbled and brilliant all at the same time) I am prompted to save, which I do and then when I select run the whole thi

[issue10717] Multiprocessing module Pickling unPickling issues

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +asksol, jnoller versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___

[issue10717] Multiprocessing module Pickling unPickling issues

2010-12-16 Thread Dimitrios Pritsos
New submission from Dimitrios Pritsos : My name is Dimitrios and I am newbie in python. I am working on a Project (part of my PhD) that is called Synergeticprocessing module. Initially is imitating the multiprocessing built in module but the processes are distributed on a LAN and not Locally.

[issue6791] httplib read status memory usage

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It does. Doesn't it? Because I saw in your patch that you fall back on > HTTP 1.0 behaviour when the server does not return a status line and > in which case a Exception will be raise and this issue won't be > observed. I don't think you understood the issue

[issue10669] Document Deprecation Warnings and how to fix

2010-12-16 Thread Éric Araujo
Changes by Éric Araujo : -- components: -2to3 (2.x to 3.0 conversion tool) ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6454] Add "example" keyword argument to optparse constructor

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: I understood Greg’s reply to mean that there was no need for an examples keyword if simple paragraph splitting was added. -- ___ Python tracker __

[issue6791] httplib read status memory usage

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Thu, Dec 16, 2010 at 01:18:30PM +, Antoine Pitrou wrote: > Well, removing 0.9 support doesn't make this obsolete, does it? It does. Doesn't it? Because I saw in your patch that you fall back on HTTP 1.0 behaviour when the server does not return a status

[issue10669] Document Deprecation Warnings and how to fix

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: PEP 4 and PEP 290 are related to this subject, but not comprehensive, not on docs.python.org, and not tutorial-like. I think we could try Ezio’s idea. Sphinx can produce a document containing only version* directives (“make changes”). If such a document is cle

[issue9938] Documentation for argparse interactive use

2010-12-16 Thread Éric Araujo
Éric Araujo added the comment: You can always catch SystemExit. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue9991] xmlrpc client ssl check faulty

2010-12-16 Thread Jesse Kaukonen
Jesse Kaukonen added the comment: I tested the latest release of Python (3.1.3) with Blender and everything worked beautifully. Renderfarm.fi thanks you for fixing this! -- ___ Python tracker _

[issue6791] httplib read status memory usage

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, removing 0.9 support doesn't make this obsolete, does it? -- status: pending -> open ___ Python tracker ___ __

[issue10692] imap lib server compabilities

2010-12-16 Thread R. David Murray
R. David Murray added the comment: You are welcome. Glad you were able to solve it. -- resolution: -> invalid stage: unit test needed -> committed/rejected ___ Python tracker

[issue1633941] for line in sys.stdin: doesn't notice EOF the first time

2010-12-16 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: I guess http://bugs.python.org/issue1195 might be related -- nosy: +nvetoshkin ___ Python tracker ___ _

[issue5625] test_urllib2 fails - urlopen error file not on local host

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Well, ignore my comment on order of ip addresses. It definitely does not matter in this case for test_urllib2. However, readability does matter again as per my previous explanation, since http://localhost/ was being exercised in the test_file, gethostbyname

[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

2010-12-16 Thread Mark Florisson
Changes by Mark Florisson : Removed file: http://bugs.python.org/file19857/libpython_patch.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

2010-12-16 Thread Mark Florisson
Mark Florisson added the comment: I forgot to remove a tempfile and reverted the Cython note at the top. A diff is provided (that should be applied upon the previously submitted patch). It's a diff because I don't have commit rights and svn does not support local commits. -- Added fi

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Łukasz Langa
Changes by Łukasz Langa : -- assignee: -> lukasz.langa nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10715] uninformative error message

2010-12-16 Thread Eric Smith
Eric Smith added the comment: Operating systems also return this errno for many, many things unrelated to files. So while we might be able to fix this in some specific cases, in general it's not possible to add file names to all errors. Once we know your specific case we can see if it's fixab

[issue10715] uninformative error message

2010-12-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Normally the filename is part of the error message, as you can see below. It's possible that some operations omit it, though. Which function were you calling? >>> open('foo') Traceback (most recent call last): File "", line 1, in IOError: [Errno 2] No

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
New submission from Raymond Hettinger : This is a straight-forward project. Pydoc currently generated 1990's style html which mixes content and presentation, making it very difficult for users to customize the appearance of the output. It is full of html like:    %s%s ''' % (bgcol, fgc

[issue6454] Add "example" keyword argument to optparse constructor

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: The two principals on the two argument parsing modules both find this unnecessary. -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue10592] pprint module doesn't work well with OrderedDicts

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 3.3 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10592] pprint module doesn't work well with OrderedDicts

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg122983 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10605] ElementTree documentation

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> effbot nosy: +effbot ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10669] Document Deprecation Warnings and how to fix

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, whatsnew is not primary documentation -- it should not be the sole or central source of anything except a highlevel overview and examples for the author's choice of selected version differences to highlight. A howto document would work best as a cen

[issue9938] Documentation for argparse interactive use

2010-12-16 Thread Tan Zong Xuan
Tan Zong Xuan added the comment: I am also trying to use argparse interactively, but in this case by combining it with the cmd module. So I'm doing something like below: class MyCmd(cmd.Cmd): parser = argparse.ArgumentParser(prog='addobject') parser.add_argument('attribute1') pars

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10573] Consistency in unittest assert methods: order of actual, expected

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: This should get fixed-up before the second beta. Try to confirm the most common argument ordering using Google's code search to ascertain actual practice in real code. FWIW, I also tend to use actual/expected and find the reverse to be a form Yoda-speak,

[issue9234] argparse: aliases for positional arguments (subparsers)

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Georg, I believe this should go in 3.2. The alias capability is an essential part of what subparsers are all about and these absence of aliases would leave them partially crippled (i.e. unable to emulate the likes of svn blame/annotate/praise). Please approv

[issue10711] Rip out HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: +1 removing HTTP 0.9, and falling back to HTTP 1.0 behavior where ever it was HTTP 0.9. Removing support for response without status (which was acceptable by 0.9) is fine. I reviewed the patch too and it seems good to go. --

[issue10692] imap lib server compabilities

2010-12-16 Thread Yevgeniy
Yevgeniy added the comment: I found than it is server configuration problem. When i add variable IMAP_COPABILITY to /etc/courier/imapd-ssl all troubles are gone. Variable did not exported from /etc/courier/imapd, but documentation sad that it imports automatically. Thank you very much for your