[issue6791] httplib read status memory usage

2010-12-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: I just read the whole discussion and it seems that code was in place so that client can tolerant of a BAD HTTP 0.9 Server response. http://www.w3.org/Protocols/HTTP/OldServers.html Given that issue10711 talks about removing HTTP/0.9 support (+1 to that), this

[issue10611] sys.exit() in a test causes a test run to die

2010-12-15 Thread Ray.Allen
Ray.Allen added the comment: > I'd like to fix all these issues by moving the exception handling into a > single method and unifying the reporting of failure / error / expected > failure / skip test. This will fix all these issues and nicely simplify the > implementation. That sounds good.

[issue8233] extend py_compile to compile files from stdin

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Missing doc added in r87312 and r87311. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-li

[issue10715] uninformative error message

2010-12-15 Thread Phillip Feldman
New submission from Phillip Feldman : The error message "OSError: [Errno 2] No such file or directory" would be far more helpful if it specified the name of the file or directory that cannot be found. -- messages: 124108 nosy: Phillip.M.Feldman priority: normal severity: normal status:

[issue8140] extend compileall to compile single files

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: I also added the missing function description. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10714] httpserver request length

2010-12-15 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10714] httpserver request length

2010-12-15 Thread Ross Lagerwall
New submission from Ross Lagerwall : BaseHTTPRequestHandler in http.server does not limit the length of the request line so a malicious client can cause the server to run out of memory with a malicious request. This patch limits the length to 64K (like Apache) and sends Error 414 if it exceed

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

2010-12-15 Thread Brett Cannon
Brett Cannon added the comment: I say ditch it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8140] extend compileall to compile single files

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: I have added versionadded directives that were missing in the doc. -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: I removed one instance of unnecessary markup in r87294 (pointed by Michael Foord on IRC) and made other minor changes in r87296, r87300 and r87302. Those eight commits are now merged in 3.1 as r87305 and 2.7 as r87308. Please let me know if you find any merge g

[issue10627] Remove usage of deprecated configparser.ConfigParser class in the stdlib

2010-12-15 Thread Łukasz Langa
Łukasz Langa added the comment: SafeConfigParser was renamed to ConfigParser in r87299 so this change is no longer necessary. -- resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue10609] dbm documentation example doesn't work (iteritems())

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: IMO, wrapping db in a dict defeats the purpose of dbm implementing a mapping interface. I would use the most natural mapping idioms: - for k, v in db.iteritems(): - print(k, '\t', v) + for k in db: + print(k, '\t', db[k]) The downside of this ex

[issue10559] NameError in tutorial/interpreter

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: New wording: When known to the interpreter, the script name and additional arguments thereafter are passed to the script in the variable ``sys.argv``, which is a -list of strings. Its length is at least one; when no script and no arguments +list of strings. Yo

[issue9281] Race condition with mkdir/makedirs in distutils2

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Do you want to backport the new makedirs function to d2/_backport/__init__.py? -- keywords: +easy -patch stage: patch review -> needs patch ___ Python tracker

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2010-12-15 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Well, I can submit a patch if anyone is interested. I came across this when writing asynchronous network code. By hanging onto the Py_buffer, I should have access to the data during the network call. But it only worked for "true" Py_buffer objects an

[issue10713] re module doesn't describe string boundaries for \b

2010-12-15 Thread Ralph Corderoy
New submission from Ralph Corderoy : The re module defines \b in a regexp to need \w one side and \W the other. What about when the end of the string or line is involved? perlre(1) says that's treated as a \W. Python should precisely document that case too. -- assignee: d...@python

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

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Looks good and ready to me. Regarding “alias” in help text, note that Mercurial prints it (using one line for them) but Subversion puts aliases in parentheses just after the main command name, which works very for me (not a beginner). Stephen, what do you thin

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

2010-12-15 Thread Łukasz Langa
Łukasz Langa added the comment: Georg, be our hero here. I would be disappointed if this missed 3.2 and made us wait another 18 months (or 3 years for Linux distribution inclusion) for that feature. This feature makes the first edition of argparse in py3k complete in terms of subcommands. -

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

2010-12-15 Thread Adrian Sampson
Adrian Sampson added the comment: Great. I've added a simple example to the documentation for argparse. I also added a space to the comma separator in the alias list, but I'm worried that adding 'aliases:' will make the help less readable (especially if every command in a long list has aliase

[issue10510] distutils upload/register should use CRLF in HTTP requests

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Updated guidelines: http://wiki.python.org/moin/Distutils/FixingBugs > is it currently impossible to test the current svn version of > distutils in the current svn version of Python? It is. Branches that get bugfixes are 3.2, 3.1 and 2.7; each one has its interp

[issue9322] Don’t fail silently if ext_modules us e absolute paths

2010-12-15 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10191] scripts files are not RECORDed.

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: For the record, I have started work on this, then stopped due to lack of time. I’ll get back to it. -- ___ Python tracker ___ __

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Patch LGTM, except for “As examples” which I’ve never read before (but I’m not a native speaker). -- ___ Python tracker ___ __

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Thanks. New patch attached with a cross-reference to reprlib.recursive_repr. -- Added file: http://bugs.python.org/file20072/repr-3.patch ___ Python tracker

[issue1274324] 'setup.py install' fails on linux from read-only storage

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Guidelines for someone wanting to make a patch: http://wiki.python.org/moin/Distutils/FixingBugs I’m adding the easy keyword to let a sprinter or bug-day newcomer find this and write a test. The fix itself may be more difficult, since the error message looks l

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r87292. Thank you for doing this! -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Possibly related: #9840 -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : Added file: http://bugs.python.org/file20071/repr-2.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9286] email.utils.parseaddr returns garbage for invalid input

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Yes, it’s either impolite or free advertisement. Ideas to receive such a malformed email: Use a valid email in From but not in Reply-To; write it by hand and put it in your maildir. -- ___ Python tracker

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > How about if I change the first sentence to the following? > > Properly implementing :attr:`tp_repr` for container types requires > special recursion handling. This looks good to me. -- ___ Python tracker

[issue7694] DeprecationWarning from build_ext needs stacklevel

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: I checked again and found those files to be fixed in 3.2: (in Lib/distutils) command/register.py command/sdist.py dist.py extension.py. Instances of self.warn or file.warn are false positives, they are logging calls. The situation is different in distutils2: De

[issue7694] DeprecationWarning from build_ext needs stacklevel

2010-12-15 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg113018 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Good point. My perspective is skewed by all of the time that I spend working on container types. :-) How about if I change the first sentence to the following? Properly implementing :attr:`tp_repr` for container types requires special recursion han

[issue8851] pkgutil documentation needs more markup

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Missing markup for one ``None`` added in r87289 and following revisions for maintenance branches. -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: pending -> closed ___ Python tracker

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this is a bit misleading. These functions are only needed if you are implementing a container. For the general case where you don't display another Python object in your repr() (or you only display objects which are themselves atomic, such as strings

[issue9286] email.utils.parseaddr returns garbage for invalid input

2010-12-15 Thread R. David Murray
R. David Murray added the comment: On the other hand, putting a real domain name that belongs to somebody else into our code base even as a test string is probably impolite without asking, so I'll change it when I commit. -- ___ Python tracker

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: The nesting allows logical grouping in source and output, saves a bit of typing, and has been added to a number of files by Benjamin Peterson. I’d say it’s recommended :) -- status: pending -> open ___ Python tracker

[issue9286] email.utils.parseaddr returns garbage for invalid input

2010-12-15 Thread R. David Murray
R. David Murray added the comment: I don't see any reason to use example.com in tests that are not talking to the network and aren't documentation. The interesting question about the other mailers is, if you *receive* an email with such an address (1) what does it show you and (2) what does i

[issue6007] Add disclaimer about MinGW compat in distutils docs

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Patch applied after small editions in [a8e0f46fccbd] (distutils2), r87283 (3.2), r87285 (3.1), r87287 (2.7). -- resolution: accepted -> fixed stage: -> committed/rejected status: pending -> closed title: distutils tricks you into thinking you can build e

[issue10712] 2to3 fixer for deprecated unittest method names

2010-12-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: 2to3 patches should currently be made against and checked into the sandbox. -- nosy: +loewis ___ Python tracker ___ __

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

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: After a bit of debugging, the crash is due to the "skipped" array being overflowed in nfc_nfkc() in unicodedata.c. "cskipped" goes up to 21 while the array only has 20 entries. This happens in all branches (but only crashes in 2.7 right now for probably unimp

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

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can reproduce the crash under 2.7, but not 2.6 or 3.x here. So it might be a separate issue. -- ___ Python tracker ___ _

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

2010-12-15 Thread Jonathan Halcrow
Jonathan Halcrow added the comment: I think I've come across a related problem. I am experiencing a segfault when NFC-normalizing a certain string [1]. The crash occurs with 2.7.1 in OS X (built from source with homebrew). Here is the backtrace: #0 0x0025a96e in _PyUnicode_Resize () #1 0

[issue9286] email.utils.parseaddr returns garbage for invalid input

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: I have not read email RFCs, so I will defer to you. One suggestion for the patch, though: Use example.org instead of rusty.com (see RFC 2606). I tried the examples in Icedove (free Thunderbird), either it finds a matching contact or it refuses to send the messa

[issue9558] build_ext fails on VS8.0

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Fixed in [4f2da1ec00a2] (distutils2), r87280 (3.2), r87201 (3.1), r87282 (2.7). Thanks to you both. -- resolution: accepted -> fixed stage: -> committed/rejected status: pending -> closed ___ Python tracker

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: Given the 6961 issue I'm happy to change my position and say we nuke the 0.9 client support. Anyone who _needs_ that can grab this old code or write trivial code for their poor server's needs. -- ___ Python trac

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

2010-12-15 Thread Mark Florisson
Mark Florisson added the comment: Ok I attached a new patch that solves the things you mentioned. It can debug Python inferiors with versions 2.6+. Execution control commands (py-{run, cont, finish, step, next}) and py-exec need gdb 7.2+, py-break works with 7.1+. It now also "supports except

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10693] error in documentation of distutils.archive_util.make_zipfile

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Patch extended to cover shutil, which has gained _make_{tar,zip}file in 2.7 and 3.2, and committed in all three branches in r87277 to r87279. Will be fixed in distutils2 the next time I synchronize d2._backport.shutil. -- assignee: tarek -> eric.araujo r

[issue10538] PyArg_ParseTuple("s*") does not always incref object

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: -Make gettimeofday available in time module ___ Python tracker ___ ___ Python-bugs-list m

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10534] difflib.SequenceMatcher: expose junk sets, deprecate undocumented isb... functions.

2010-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Added tweak to .__chain_b to avoid creating list of b2j.keys and .items be deleting from b2j in separate loop after creating sets. Test with timeit suggests time about same with 1% deletion. r87276 -- resolution: -> fixed status: open -> closed

[issue10702] bytes and bytearray methods are not documented

2010-12-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > I was persuaded there was already a bug open with a patch adding > bytes and bytearray in the sequence methods table, but I can’t find it. I can't find it either, but this issue is different. I propose renaming "String Methods" to "String, bytes and b

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed versions: +Python 2.7, Python 3.1 ___ Python tracker ___ ___

[issue7013] Httplib read routine is not tolerant to not well-formed chunked http responses.

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue6785] IncompleteRead / BadStatus when parsing http://peakoil.mobi

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: That server simply doesn't respect the HTTP RFC. It fails to send a last "0" line to indicate that the chunked transfer has completed. -- nosy: +pitrou resolution: -> invalid status: open -> pending ___ Python trac

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Eli Bendersky
Eli Bendersky added the comment: Éric, The nested methods are nice, though a bit unusual IMHO. Is this the recommended new way to markup methods of objects? [Because AFAIK it's not used much in other docs] -- status: open -> pending ___ Python tra

[issue2576] httplib read() very slow due to lack of socket buffer

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: This was apparently fixed in r69209. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue3446] center, ljust and rjust are inconsistent with unicode parameters

2010-12-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue10712] 2to3 fixer for deprecated unittest method names

2010-12-15 Thread Ezio Melotti
New submission from Ezio Melotti : The attached patch against 2.7 adds a new fixer to 2to3 that replaces deprecated unittest method names with the correct ones. There are a few issues: 1) only the "safe" renamings are included; the assert[SameElements|ItemsEqual|CountEqual] and the assert*Reg

[issue10702] bytes and bytearray methods are not documented

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: I was persuaded there was already a bug open with a patch adding bytes and bytearray in the sequence methods table, but I can’t find it. -- nosy: +eric.araujo ___ Python tracker ___

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: Minor whitespace and markup edits make r87273. Please review and tell me if it’s okay for backport or if there are further improvements to be done first. I promise I won’t beat anyone ;-) -- ___ Python tracker

[issue10541] regrtest.py -T broken

2010-12-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +eli.bendersky, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Éric beat me. Better that he finish. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Éric Araujo
Éric Araujo added the comment: My current schedule is a bit crazy and I’ve had no time for Python bugs. I changed “programming” to “programmatic”, slightly tweaked the phrasing for the --ignore-* options to make them hopefully more understandable and similar, and committed in r87271. I’m cur

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch with adapted tests. -- Added file: http://bugs.python.org/file20061/removehttp09-2.patch ___ Python tracker ___ _

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since Éric grabbed Assigned To:, I was expecting him to ;=). But since he is doing enough other stuff, I will unless there are conflicts in the .rst I do not know how to fix. -- status: pending -> open ___ Python t

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

2010-12-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: michael.foord -> ezio.melotti nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Would it be worth keeping (but modifying) test_http_0_9 to verify that > the server complains in the expected way? Actually, I don't think the server will complain, since the request is legit. It will send back a full response with status line and headers, t

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But http.client needs to be able to communicate with any random server > created since the dawn of time. Well, that sounds a bit unreasonable... > Often on 8 bit microcontrollers that haven't been updated since 1994. Anyone with such needs should write spec

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: At minimum, I think we should apply this part of Antoine's patch: -# Most web servers default to HTTP 0.9, i.e. don't send a status line. -default_request_version = "HTTP/0.9" +default_request_version = "HTTP/1.0" --

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: Ripping HTTP "0.9" support _out_ flys directly in the face of "be lenient in what you accept and strict in what you produce." I do not mind removing support from http.server. But http.client needs to be able to communicate with any random server created si

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Would it be worth keeping (but modifying) test_http_0_9 to verify that the server complains in the expected way? -- nosy: +stutzbach ___ Python tracker

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Eli Bendersky
Changes by Eli Bendersky : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9264] trace.py documentation is incomplete

2010-12-15 Thread Eli Bendersky
Eli Bendersky added the comment: Guys, this issue is pending for a long time. Anything else needed before a commit is done? -- status: pending -> open ___ Python tracker ___ ___

[issue10516] Add list.clear() and list.copy()

2010-12-15 Thread Eli Bendersky
Eli Bendersky added the comment: Updated patch with "versionadded" tag for the new methods -- Added file: http://bugs.python.org/file20056/issue10516.5.patch ___ Python tracker

[issue10693] error in documentation of distutils.archive_util.make_zipfile

2010-12-15 Thread Eli Bendersky
Eli Bendersky added the comment: Attaching a fix for Doc/distutils/apiref.rst and Lib/distutils/archive_util.py in Python 3.2 If it's OK I will backport to other versions as well. -- keywords: +patch Added file: http://bugs.python.org/file20055/issue10693.py32.1.patch ___

[issue8753] Py_ReprEnter and Py_ReprLeave are undocumented

2010-12-15 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : Attached is a patch to add documentation for Py_ReprEnter and Py_ReprLeave. Assigning to d...@python for review. -- assignee: stutzbach -> d...@python keywords: +needs review, patch nosy: +d...@python stage: needs patch -> patch review Added file:

[issue6721] Locks in python standard library should be sanitized on fork

2010-12-15 Thread Bobby Impollonia
Changes by Bobby Impollonia : -- nosy: +bobbyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue874900] threading module can deadlock after fork

2010-12-15 Thread Bobby Impollonia
Changes by Bobby Impollonia : -- nosy: +bobbyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file20053/removehttp09.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file20052/removehttp09.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file20052/removehttp09.patch ___ Python tracker

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2010-12-15 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2010-12-15 Thread Ron Adam
Ron Adam added the comment: Pydoc skips the badsysntax_pep3120 file for now. When this gets fixed that workaround should be removed. The work around is commented and refers to this issue #. -- ___ Python tracker

[issue10711] Rip out HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- title: Rip off HTTP 0.9 support -> Rip out HTTP 0.9 support ___ Python tracker ___ ___ Python-bugs-list

[issue10711] Rip off HTTP 0.9 support

2010-12-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : Both http.client and http.server claim to support HTTP 0.9. The HTTP 1.0 RFC was filed in 1996, and 1.1 is most commonly used nowadays. We should probably rip off 0.9 support. -- components: Library (Lib) messages: 124032 nosy: jhylton, orsenthil, p

[issue6791] httplib read status memory usage

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > That's true. Near the bottom of the code, it says: > > # The status-line parsing code calls readline(), which normally > # get the HTTP status line. For a 0.9 response, however, this is > # actually the first line of the body! > > Limiting the length of

[issue6791] httplib read status memory usage

2010-12-15 Thread Ross Lagerwall
Ross Lagerwall added the comment: That's true. Near the bottom of the code, it says: # The status-line parsing code calls readline(), which normally # get the HTTP status line. For a 0.9 response, however, this is # actually the first line of the body! Limiting the length of the status lin

[issue6791] httplib read status memory usage

2010-12-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, looking at the code, readline() without any parameter is used all over http.client, so fixing only this one use case doesn't really make sense. -- stage: unit test needed -> needs patch ___ Python tracke

[issue10509] PyTokenizer_FindEncoding can lead to a segfault if bad characters are found

2010-12-15 Thread Andreas Stührk
Andreas Stührk added the comment: Yes, it is (at the latest since msg124018). -- resolution: -> duplicate status: open -> closed ___ Python tracker ___

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

2010-12-15 Thread R. David Murray
R. David Murray added the comment: I started out writing that there must be better stuff available now for doing this, but a search on 'setuid wrapper' on google reveals mostly people asking about or talking about rolling their own special purpose scripts. That said, there is at least one bet

[issue10667] collections.Counter object in C

2010-12-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed "if(" spacing and applied in r87265. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

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

2010-12-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : I guess it was created for ease of hosting CGI scripts written in Python, but is it still useful (or even functional) nowadays? Last updated goes back to 1998. -- components: Demos and Tools messages: 124025 nosy: brett.cannon, gvanrossum, jhylton,

[issue10709] Misc/AIX-NOTES needs updating

2010-12-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : Sébastien, would you like to provide an updated version of that file? The current contents look hopelessly outdated. -- assignee: d...@python components: Documentation messages: 124024 nosy: d...@python, pitrou, sable priority: normal severity: norma

[issue10656] "Out of tree" build fails on AIX 5.3

2010-12-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sable ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

  1   2   >