[issue10692] imap lib server compabilities

2010-12-16 Thread Yevgeniy
Yevgeniy shchemele...@gmail.com 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

[issue10711] Rip out HTTP 0.9 support

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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. --

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

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

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

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

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

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10515 ___

[issue9938] Documentation for argparse interactive use

2010-12-16 Thread Tan Zong Xuan
Tan Zong Xuan tzxru...@gmail.com 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')

[issue10669] Document Deprecation Warnings and how to fix

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[issue10605] ElementTree documentation

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - effbot nosy: +effbot ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10605 ___

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

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- Removed message: http://bugs.python.org/msg122983 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10592 ___

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

2010-12-16 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10592 ___

[issue6454] Add example keyword argument to optparse constructor

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The two principals on the two argument parsing modules both find this unnecessary. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
New submission from Raymond Hettinger rhettin...@users.sourceforge.net: 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:

[issue10715] uninformative error message

2010-12-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 stdin, line 1, in

[issue10715] uninformative error message

2010-12-16 Thread Eric Smith
Eric Smith e...@trueblade.com 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

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- assignee: - lukasz.langa nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___

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

2010-12-16 Thread Mark Florisson
Mark Florisson markflorisso...@gmail.com 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

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

2010-12-16 Thread Mark Florisson
Changes by Mark Florisson markflorisso...@gmail.com: Removed file: http://bugs.python.org/file19857/libpython_patch.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10566 ___

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

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

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

2010-12-16 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: I guess http://bugs.python.org/issue1195 might be related -- nosy: +nvetoshkin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1633941

[issue10692] imap lib server compabilities

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: You are welcome. Glad you were able to solve it. -- resolution: - invalid stage: unit test needed - committed/rejected ___ Python tracker rep...@bugs.python.org

[issue6791] httplib read status memory usage

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, removing 0.9 support doesn't make this obsolete, does it? -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6791

[issue9991] xmlrpc client ssl check faulty

2010-12-16 Thread Jesse Kaukonen
Jesse Kaukonen jesse.kauko...@gmail.com 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 rep...@bugs.python.org

[issue9938] Documentation for argparse interactive use

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: You can always catch SystemExit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9938 ___ ___

[issue10669] Document Deprecation Warnings and how to fix

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue6791] httplib read status memory usage

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue6454] Add example keyword argument to optparse constructor

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org http://bugs.python.org/issue6454

[issue10669] Document Deprecation Warnings and how to fix

2010-12-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: -2to3 (2.x to 3.0 conversion tool) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10669 ___

[issue6791] httplib read status memory usage

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue10717] Multiprocessing module Pickling unPickling issues

2010-12-16 Thread Dimitrios Pritsos
New submission from Dimitrios Pritsos dprit...@extremepro.gr: 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

[issue10717] Multiprocessing module Pickling unPickling issues

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +asksol, jnoller versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10717 ___

[issue10718] brand new to programming. crashes at run

2010-12-16 Thread Jill
New submission from Jill jillcoste...@gmail.com: 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

[issue10718] brand new to programming. crashes at run

2010-12-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - ronaldoussoren components: +Macintosh nosy: +ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10718

[issue10714] httpserver request length

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[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 rdmur...@bitdance.com: 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

[issue10714] httpserver request length

2010-12-16 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com 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 rep...@bugs.python.org

[issue10454] Clarify compileall command-line options

2010-12-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10454 ___ ___ Python-bugs-list

[issue6791] httplib read status memory usage

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue10714] httpserver request length

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue8754] ImportError: quote bad module name in message

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue10720] test_threadsignals hang on FreeBSD 6.4

2010-12-16 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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

[issue10718] Idle crashes on OSX when source is saved

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue10718] Idle crashes on OSX when source is saved

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Same behavior when starting /Applications/Python 2.7/IDLE.app in finder. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10718

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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,

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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

[issue10711] Rip out HTTP 0.9 client support

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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:

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: See also the calendar module for an example of a modern html. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716

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

2010-12-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r87323. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10710

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: LGTM -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10721 ___ ___

[issue10711] Rip out HTTP 0.9 client support

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch LGTM, modulo warnings.warn calls lacking a stacklevel=2 parameter. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10711

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

2010-12-16 Thread Daniel Stutzbach
Daniel Stutzbach stutzb...@google.com added the comment: On Tue, Dec 14, 2010 at 7:22 PM, Ezio Melotti rep...@bugs.python.org 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

[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 n...@acm.org 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

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

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

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

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

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___ ___ Python-bugs-list

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

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net 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

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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 rep...@bugs.python.org

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

2010-12-16 Thread Jill
Jill jillcoste...@gmail.com added the comment: *Thanks Ned. I'll give this a try. Jill * On Thu, Dec 16, 2010 at 2:04 PM, Ned Deily rep...@bugs.python.org wrote: Ned Deily n...@acm.org added the comment: Unfortunately, there are some major stability problems with IDLEs that are linked

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

2010-12-16 Thread Jason Scheirer
Jason Scheirer jason.schei...@gmail.com 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:

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net 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

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

2010-12-16 Thread T Rink
New submission from T Rink t...@jm.rinkleff.com: 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

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[issue10723] Undocumented built-in exceptions

2010-12-16 Thread flashk
New submission from flashk fla...@gmail.com: 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

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

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

2010-12-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue10723] Undocumented built-in exceptions

2010-12-16 Thread flashk
flashk fla...@gmail.com 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 rep...@bugs.python.org

[issue10723] Undocumented built-in exceptions

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10723 ___

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

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1449496 ___ ___

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

2010-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: unit test needed - versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1449496 ___

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

2010-12-16 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

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

2010-12-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue10454] Clarify compileall command-line options

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +terry.reedy type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10722 ___

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

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- nosy: +doerwalter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10542 ___ ___

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Fri, Dec 10, 2010 at 6:09 PM, Daniel Stutzbach rep...@bugs.python.org wrote: .. The second check for surrogates in Py_UNICODE_PUT_NEXT is necessary, unless you can prove that Py_UNICODE_SOME_TRANSFORMATION will never

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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:

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net 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

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[issue2193] Cookie Colon Name Bug

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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.

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net 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.

[issue9011] ast_for_factor unary minus optimization changes AST

2010-12-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

[issue10716] Modernize pydoc to use CSS

2010-12-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

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

2010-12-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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).

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

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

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

2010-12-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

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

2010-12-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue10724] socket.close close telnet with RST

2010-12-16 Thread sean216
New submission from sean216 taoyuan-...@163.com: 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

[issue10724] socket.close close telnet with RST

2010-12-16 Thread sean216
Changes by sean216 taoyuan-...@163.com: Added file: http://bugs.python.org/file20091/normal RST and fin.pcap ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10724 ___

[issue10724] socket.close close telnet with RST

2010-12-16 Thread sean216
sean216 taoyuan-...@163.com 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