[issue7370] patch: BaseHTTPServer reinventing rfc822 date formatting

2010-06-16 Thread anatoly techtonik
anatoly techtonik added the comment: I do not like the idea that BaseHTTPServer depends on email package, which in turn may depend on another package etc. Having date formatting function inside of email package breaks "single responsibility" principle that would be nice to have in stdlib. --

[issue9006] xml-rpc Server object does not propagate the encoding to Unmarshaller

2010-06-16 Thread Timothée CEZARD
New submission from Timothée CEZARD : xmlrpc cleint (Server class) default encoding is utf-8 it can be modified through the encoding keyword parameter. This parameter is not passed to the Unmarshaller that decode the bit flow causing the server to crash attached is two script reproducing the i

[issue9007] CGIHTTPServer

2010-06-16 Thread anatoly techtonik
New submission from anatoly techtonik : CGIHTTPServer only supports Python CGI scripts. That should be reflected in documentation. -- assignee: d...@python components: Documentation messages: 107911 nosy: d...@python, techtonik priority: normal severity: normal status: open title: CGIHT

[issue9007] CGIHTTPServer supports only Python CGI scripts

2010-06-16 Thread anatoly techtonik
Changes by anatoly techtonik : -- title: CGIHTTPServer -> CGIHTTPServer supports only Python CGI scripts ___ Python tracker ___ ___ Pyt

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread anatoly techtonik
New submission from anatoly techtonik : CGIHTTPServer should support all CGI scripts, not only Python ones. -- components: Library (Lib) messages: 107912 nosy: techtonik priority: normal severity: normal status: open title: CGIHTTPServer support for arbitrary CGI scripts versions: Python

[issue8720] undo findsource regression/change

2010-06-16 Thread holger krekel
holger krekel added the comment: Seems the inspect.getsourcefile regression now is in the RC1 of Python2.7 as well. I suggest to apply the "getsourcefile.patch" patch which was attached from David. I tested it and it works fine for Python2.7 and Python3.1. -- status: open -> pending

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2010-06-16 Thread anatoly techtonik
anatoly techtonik added the comment: I don't see why it modifies os.environ at all environ it passed as argument to child subprocess. -- nosy: +techtonik ___ Python tracker _

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2010-06-16 Thread anatoly techtonik
anatoly techtonik added the comment: I can't edit my comment. That suxx. It should be "...at all if environ is passed..." -- ___ Python tracker ___ ___

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread Éric Araujo
Éric Araujo added the comment: I suspect this bug will sit here languishing without action, for various reasons: 1) From other doc discussion, I assume you won’t be able to propose a patch. 2) There is no dedicated maintainer for http or cgi. 3) CGI is a low-level, archaic, inefficient inter

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread Éric Araujo
Éric Araujo added the comment: Forgot the conclusion: I suspect noone will want to work on that. (I removed 2.7 since it’s feature frozen.) -- ___ Python tracker ___ ___

[issue9006] xml-rpc Server object does not propagate the encoding to Unmarshaller

2010-06-16 Thread Éric Araujo
Éric Araujo added the comment: Thank your for reporting this bug. Are you able to reproduce the bug with current development versions, a.k.a. 2.7 (svn trunk, or the rc release) and 3.2 (py3k branch)? Only security and documentation fixes go in stable releases like 2.6 and 3.1. Also, please up

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Wed, Jun 16, 2010 at 12:16:38PM +, Éric Araujo wrote: > Forgot the conclusion: I suspect noone will want to work on that. Nope, please don't come to that conclusion soon. It is a valid request. It is not that only maintainers listed will work on those.

[issue9007] CGIHTTPServer supports only Python CGI scripts

2010-06-16 Thread Brian Curtin
Changes by Brian Curtin : -- priority: normal -> low stage: -> needs patch type: -> behavior versions: -Python 3.3 ___ Python tracker ___ __

[issue7370] BaseHTTPServer reinventing rfc822 date formatting

2010-06-16 Thread Brian Curtin
Changes by Brian Curtin : -- title: patch: BaseHTTPServer reinventing rfc822 date formatting -> BaseHTTPServer reinventing rfc822 date formatting ___ Python tracker ___ _

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread Éric Araujo
Éric Araujo added the comment: Sorry, somehow I forgot the ton of work you’ve been putting into urlparse and urllib :) Note that I never said or thought it was an invalid request. -- ___ Python tracker ___

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread anatoly techtonik
anatoly techtonik added the comment: > I suspect this bug will sit here languishing without action, for various > reasons: I suspect this kind of discussions piss off readers of tickets, but I'll continue, as I do not see any other useful public medium at hand right now. -- start offtopic --

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Conflict resolution takes a lot of time > and I can't afford maintaining a separate copy of Python checkout for > every patch Then try various hg features such as named branches, or bookmarks, or mq, or pbranch, etc. (or any SVN-facing tool you would like, i

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
New submission from Mark Dickinson : I've opened this issue to track efforts to improve the quality of the Python/dtoa.c file, which provides Python's string-to-float and float-to-string conversions. Particular issues in mind (non-exhaustive): - do a thorough review and test of _Py_dg_dtoa;

[issue9003] urllib about https behavior

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

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

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

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue9006] xml-rpc Server object does not propagate the encoding to Unmarshaller

2010-06-16 Thread Timothée CEZARD
Timothée CEZARD added the comment: With 2.7 I'm getting another exception xml.parsers.expat.ExpatError: not well-formed (invalid token): line 5, column 15 where with 2.6 I was getting UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 0: unexpected code byte I didn't try with

[issue9010] Infinite loop in imaplib.IMAP4_SSL when used with Gmail

2010-06-16 Thread Ruben Bakker
New submission from Ruben Bakker : When using imaplib.IMAP4_SSL to open a Gmail mailbox, the readline method can go into a infinite loop. It happens after Gmail drops the connection, usually after some time/inactivity. The next imaplib request will cause the infinite loop inside the readline()

[issue9010] Infinite loop in imaplib.IMAP4_SSL when used with Gmail

2010-06-16 Thread Ruben Bakker
Ruben Bakker added the comment: I forgot to mention that the section after "Add this line to IMAP4_SSL" describes the solution. Sorry about that. -- ___ Python tracker ___ _

[issue8937] SimpleHTTPServer should contain usage example

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r82018. -- nosy: +orsenthil resolution: -> fixed stage: -> committed/rejected ___ Python tracker ___ ___

[issue9011] ast_for_factor unary minus optimization changes AST

2010-06-16 Thread Alex Samuel
New submission from Alex Samuel : The unary negative optimization in ast_for_factor() seems to modify the ST in a way changes its meaning. In Python 3.1.2, the ST is no longer compilable: $ cat exprbug.py import parser st = parser.expr("-3") print(st.totuple()) compiled = st.compile() print(e

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Here is the history of the issue per Martin v. Löwis on python-dev: """ This was added with r36221 | bcannon | 2004-06-24 03:38:47 +0200 (Do, 24. Jun 2004) | 3 Zeilen Add compil

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +patch Added file: http://bugs.python.org/file17684/timefunc-split.diff ___ Python tracker ___ _

[issue9010] Infinite loop in imaplib.IMAP4_SSL when used with Gmail

2010-06-16 Thread R. David Murray
R. David Murray added the comment: The readline return on '' was introduced by the patch for issue 5949, which discusses the fact that SSL may return '' indefinitely in some situations. I've merged the nosy list from that issue to this one; anyone who isn't interested, my apologies and pleas

[issue9010] Infinite loop in imaplib.IMAP4_SSL when used with Gmail

2010-06-16 Thread R. David Murray
R. David Murray added the comment: Wait a minute, I misread your message. You don't show the return on ''. So I think perhaps the #5949 patch fixes this. Ruben, can you please test with 2.7RC1? -- ___ Python tracker

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay added the comment: Two issues related with the workaround suggested by nosklo. 1. Splitting the filepaths isnt simple, as there may be blank spaces etc. 2. We have different versions of Python installed in our Lab machines, some have 2.5 and others got 2.6. If I run the code using the ve

[issue9010] Infinite loop in imaplib.IMAP4_SSL when used with Gmail

2010-06-16 Thread Shashwat Anand
Shashwat Anand added the comment: "import imaplib HOST="imap.gmail.com" PORT=993 USERNAME="usern...@gmail.com" PASSWORD="password" server = imaplib.IMAP4_SSL(host=HOST, port=PORT) server.login(USERNAME, PASSWORD) def f(): print server.select("INBOX") print server.uid("FETCH",

[issue8937] SimpleHTTPServer should contain usage example

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Merged into other branches in r82020, r82022 and r82023. -- status: open -> closed ___ Python tracker ___ _

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay added the comment: Update!! I found a very good workaround for this and it works very nicely, with both 2.5 and 2.6 versions. Below is the segment from my code:- from Tkinter import * import tkFileDialog master = Tk() master.withdraw() #hiding tkinter window Inputfiles = tkFileDialog

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Based on IRC discussion, here is a modified patch that places C code in _time.c and creates a stub for _time.h so that future shared definitions can go there. -- Added file: http://bugs.python.org/file17685/issue9012.diff ___

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue9003] urllib about https behavior

2010-06-16 Thread Justin Samuel
Changes by Justin Samuel : -- nosy: +jsamuel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8998] add crypto routines to stdlib

2010-06-16 Thread Justin Samuel
Changes by Justin Samuel : -- nosy: +jsamuel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-06-16 Thread Justin Samuel
Changes by Justin Samuel : -- nosy: +jsamuel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Added new Module/_time.h to the patch. -- Added file: http://bugs.python.org/file17686/issue9012.diff ___ Python tracker ___ _

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17685/issue9012.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: Created new 'py3k-dtoa' branch for this work in r82024. -- ___ Python tracker ___ ___ Python-bugs-li

[issue5610] email feedparser.py CRLFLF bug: $ vs \Z

2010-06-16 Thread R. David Murray
R. David Murray added the comment: NLCR_eol patch merged to 2.6 in r82010, py3k in r82011, and 3.1 in r82012. Since there's been no further feedback I'll close this. If someone comes up with a test case for the boundary_re, they can open a new issue. -- resolution: -> fixed stage: u

[issue9013] Implement tzinfo.dst() method in timezone

2010-06-16 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : This idea was brought in the original fixed offset timezone proposal (see issue 5094), but was met with some opposition. See msg106914, point 2. As a result, the timezone implementation is in conflict with tzinfo documentation that says "If utcoffset

[issue9013] Implement tzinfo.dst() method in timezone

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +datetime lacks concrete tzinfo implementation for UTC nosy: +brett.cannon, mark.dickinson ___ Python tracker ___ __

[issue8854] msvc9compiler.py: find_vcvarsall() doesn't work with VS2008 on Windows x64

2010-06-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Here's a patch fixing the problem. -- keywords: +patch versions: +Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file17687/msvc9compiler.patch ___ Python tracker

[issue8854] msvc9compiler.py: find_vcvarsall() doesn't work with VS2008 on Windows x64

2010-06-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: If possible, the patch should go into Python 2.7 rc2, since without it, you can't build Python extensions on Windows x64 platforms. -- assignee: tarek -> benjamin.peterson nosy: +benjamin.peterson ___ Python tra

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: A couple of preparatory commits: r82025: In _Py_dg_strtod, 'e' now represents the adjusted exponent rather than the base exponent; that is, the input value is of the form +- m * 10**e with 0.1 <= m < 1.0. It's easier to produce such an 'e' from the parsing

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: And here's a patch to pull out the parsing stage of _Py_dg_strtod into a separate function. -- keywords: +patch Added file: http://bugs.python.org/file17688/dtoa_parsing.patch ___ Python tracker

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: r82032: Commit some additional tests for test_strtod.py. test_extra_long_significand will currently fail; with the dtoa_parsing patch, it passes. -- ___ Python tracker _

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> patch review type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread Clovis Fabricio
Clovis Fabricio added the comment: UGH! Sorry for that, I mispasted something and didn't notice, since it filled the comment entry box perfectly :( This is the real message I meant to paste: vijay, The workaround I provided above takes the blank spaces in filepa

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Eric Smith
Eric Smith added the comment: I realize the ship's already sailed on this issue [1], but isn't it a problem that editing this code makes it more difficult to apply patches from Gay's original code? What do we do if Gay releases a new version of his code with bug fixes? [1] Sorry non-native

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: Gay's changes tend to be very small; any bugfixes he releases can likely be applied by hand, if they're relevant. I did originally want to keep close to Gay's code, but frankly I'm not very happy with the quality of that code; and in communications with Gay

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: Here's the section of the 'bigcomp' code that I was referring to above: /* Now b/d = exactly half-way between the two floating-point values */ /* on either side of the input string. Compute first digit of b/d. */ if (!(dig = quorem(b,d

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Eric Smith
Eric Smith added the comment: Just to be clear: I'm okay with this divergence, as long as we've made it clear we're explicitly doing so and we've given our reasons. Mark's done that, and of course he's the expert in the subject. -- ___ Python tracker

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread Éric Araujo
Changes by Éric Araujo : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/optio

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay added the comment: Hi Clovis Ok, I did not check if your split string function check for spaces or not, sorry for that. In my first post I mentioned this:- "2. We have different versions of Python installed in our Lab machines, some have 2.5 and others got 2.6. If I run the code usin

[issue9014] Incorrect documentation of the PyObject_HEAD macro

2010-06-16 Thread Renato Cunha
New submission from Renato Cunha : PyObject_HEAD's documentation in py3k (http://docs.python.org/dev/py3k/c-api/structures.html#PyObject_HEAD) uses the same content used in the python 2.x's docs which is wrong, as there were some API changes. PyObject_HEAD is actually defined as #define PyOb

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-06-16 Thread Gerald Dalley
Gerald Dalley added the comment: Another use case: for distributed processing, it's handy to be able to pickle interactive functions and functions that are part of a script. The user can then remotely execute a broader set of functions than can be pickled by default. This is especially help

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson added the comment: Here's an updated version of the parsing patch, with rewritten comments, but no significant code changes. -- Added file: http://bugs.python.org/file17689/dtoa_parsing2.patch ___ Python tracker

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-06-16 Thread Éric Araujo
Éric Araujo added the comment: Thanks for your report and patch. I’m editing the versions field: New features and bug fixes go to the active branch, py3k (future 3.2), while only security and documentation fixes are allowed to go in stable branches (2.6 and 3.1). Current trunk (2.7) is frozen

[issue850997] mbcs encoding ignores errors

2010-06-16 Thread STINNER Victor
STINNER Victor added the comment: Patch version 4: - encode_mbcs() uses WC_NO_BEST_FIT_CHARS flag in strict mode. Examples: ğ and ł are not more replaced by g and l - encode_mbcs() doesn't set *repr to NULL on encode error: the caller does anyway destroy it - write more documentation about

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Mark, It is great to see you doing this. I looked at this code on several occasions before and each time ran away scared! I sincerely hope I will understand how it works after your rewrite. Just a small suggestion at this point: can you give longer n

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2010-06-16 Thread Guido van Rossum
Guido van Rossum added the comment: Could this be related to issue 8077? -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-l

[issue8077] cgi handling of POSTed files is broken

2010-06-16 Thread Guido van Rossum
Guido van Rossum added the comment: Could this be related to issue 4953? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r82034. -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

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

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread STINNER Victor
STINNER Victor added the comment: Reopen: r82034 broke Windows build http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/802/steps/compile/logs/stdio --- Build started: Project: pythoncore, Configuration: Debug|Win32 Linking... Creating library D:\cygwin\home\db

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread STINNER Victor
STINNER Victor added the comment: > Reopen: r82034 broke Windows build Fixed by r82035. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9015] array.array.tofile cannot write arrays of sizes > 4GB, even compiled for amd64

2010-06-16 Thread Bill Steinmetz
New submission from Bill Steinmetz : Here's my Python version info: Python 2.6.5 (r265:79096, Mar 19 2010, 18:02:59) [MSC v.1500 64 bit (AMD64)] on win32 Here's my code that won't return (Start with a file > 4GB "hugefile.bin"): siz = (1<<32) print "making array (%d) bytes" % siz fin = open(

[issue850997] mbcs encoding ignores errors

2010-06-16 Thread STINNER Victor
STINNER Victor added the comment: I commited the last patch to py3k: r82037. Let see how the buildbots react :-) -- ___ Python tracker ___ _

[issue9015] array.array.tofile cannot write arrays of sizes > 4GB, even compiled for amd64

2010-06-16 Thread Bill Steinmetz
Bill Steinmetz added the comment: Looks like the issue is Microsoft's fwrite -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue2475] Popen.poll always returns None

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this be closed or is this still a problem in 2.7 (release candidate out now, final soon) or 3.1? -- nosy: +tjreedy ___ Python tracker __

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > FreeBSD/Qemu: ipv6 is ok, but this fails: [...] That failure refers to this test: # by specifying "http" we expect all returned sockets have # STREAM type infos = socket.getaddrinfo(HOST, "http") for _, socktype, _, _, _ in

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Removed file: http://bugs.python.org/file17516/getaddrinfotest.patch ___ Python tracker ___ ___ Python-bugs-list

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Removed file: http://bugs.python.org/file17691/getaddrinfotest.patch ___ Python tracker ___ ___ Python-bugs-list

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Added file: http://bugs.python.org/file17692/getaddrinfotest.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue8857] socket.getaddrinfo needs tests

2010-06-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Forgot to include socket.gaierror in the list of exceptions. New patch in attachment. -- Added file: http://bugs.python.org/file17693/getaddrinfotest.patch ___ Python tracker __

[issue3687] Popen() object stdout attribute reassignment behaviour

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: While it could be argued that it is 'obvious' that changing the stdin, stdout, stderr, and pid of a processes cannot work, I agree that a small addition would be good. In 17.1.2. Popen Objects, after "The following attributes are also available", insert " (do

[issue3765] [patch] allow mmap take file offset as argument

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This request is slightly confusing. The first sentence implies that you want offset to be a requirement (as opposed to being an option). That would not be acceptable. Later it seems that you want it added as an option (as opposed to not available). That seems

[issue3874] documentation bug: HTMLParser needs to document unknown_decl

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Documentation issues should be component: documentation rather than library. When submitting one, please at least indicate the module or class concerned. I have never heard of 'unknown_decl' function. Preferably, indicate the specific section you want modifie

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this issue apply to 3.1/2? -- nosy: +tjreedy versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ _

[issue9011] ast_for_factor unary minus optimization changes AST

2010-06-16 Thread R. David Murray
Changes by R. David Murray : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue8814] functools.WRAPPER_ASSIGNMENTS should include __annotations__

2010-06-16 Thread Terrence Cole
Terrence Cole added the comment: Alright, I've added several tests. I also modified update_wrapper to not copy missing attributes (like __annotations__ on builtin methods) -- see issue 1576241. (I also finally see what you mean with removing 3.3 from the versions list. Sorry I didn't grok

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.1, WinXP, works fine. I am inclined to close this as idiosyncratic to a particular 2.5 installation, which is beyond patching now anyway. OP, respond if you have a problem with new 2.7, and include version splash line like "Python 3.1.2 (r312:79149, Mar 21

[issue3687] Popen() object stdout attribute reassignment behaviour

2010-06-16 Thread Legoll Vincent
Legoll Vincent added the comment: On Thu, Jun 17, 2010 at 2:34 AM, Terry J. Reedy wrote: > While it could be argued that it is 'obvious' What is obvious for someone maybe is not for others, if I tried to modify it, that was on the (false) assumption that it will do what I wanted (whatever that

[issue3290] python-config --cflags includes irrelevant flags

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this still an issue for current trunks? -- nosy: +tjreedy versions: +Python 2.7, Python 3.2 -Python 2.5 ___ Python tracker ___ __

[issue1593035] readline problem on ia64-unknown-linux-gnu

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the absence of a claim otherwise, I am assuming that this is now either fixed or out-of-date -- nosy: +tjreedy resolution: -> fixed status: open -> closed ___ Python tracker

[issue3990] The Linux2 platform definition is incorrect for alpha, hppa, mips, sparc

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.4, Python 2.5, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3862] test_array fails on FreeBSD7 amd64

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Was the fix forward ported or is this an issue for 3.1/2? -- nosy: +tjreedy status: open -> pending ___ Python tracker ___ _

[issue1633863] AIX: configure ignores $CC

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue4099] dir on a compiled re does not show pattern as a part of the list

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1107887] Speed up function calls/can add more introspection info

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be a feature request that could now go into 3.2 at the earliest, or even 3.3 if it were to violate the core change moratorium. But I do not know if it even applies to the 3.x series. -- nosy: +tjreedy type: -> feature request versions

[issue4202] Multiple interpreters and readline module hook functions.

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The be an issue, tests with currents interpreters are needed. You may be right, but it may be that no one ever uses readline with subinterpreters. -- nosy: +tjreedy status: open -> pending versions: -Python 2.5 ___

[issue1107887] Speed up function calls/can add more introspection info

2010-06-16 Thread Collin Winter
Collin Winter added the comment: I tried making this work early last year as part of Unladen Swallow, and even though I got it working and it does speed up certain builtin calls, it didn't move overall application performance at all. I believe this was due to cache effects, branch mispredicts

[issue4253] Maildir dumpmessage on

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This report is a bit hard to interpret. In 3.1, the mailbox module has a Maildir class with a private _dump_message method. Since the method is undocumented and not part of the public API, there cannot be a conflict between the doc and behavior ;-). So you n

[issue4280] Version Checker

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Demos and Tools -Tests versions: +Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ ___

[issue4452] Incorrect docstring of os.setpgrp

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: os.setpgrp is unix only, I am windows only ;-(. However, the 3.1 manual says "Call the system call setpgrp() or setpgrp(0, 0)() depending on which version is implemented (if any). " Given the name of the function and the above, I suspect the OP is correct. The

  1   2   >