[issue9016] IDLE won't launch (Win XP)

2010-06-16 Thread Tal Einat
Tal Einat added the comment: Also, try renaming/moving the directory C:\Documents and Settings\\.idlerc, and then try to start IDLE. -- nosy: +taleinat ___ Python tracker ___ __

[issue9016] IDLE won't launch (Win XP)

2010-06-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please run "python.exe Lib/idlelib/idle.py" in a console window, and report any errors that you get. -- nosy: +loewis ___ Python tracker ___ _

[issue9016] IDLE won't launch (Win XP)

2010-06-16 Thread Jon Seger
New submission from Jon Seger : I upgraded from 2.5.2 to 2.6.5 on a WinXP system. Console interpreter worked fine, but IDLE would not launch (quit without displaying anything on screen). Same with 2.6.4. Finally tried 2.5.4, which works as expected (like the old 2.5.2). -- componen

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, it is applicable to 3.1 and 3.2 as well. This is definitely a good to have performance improvement. -- nosy: +orsenthil versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue1215] Python hang when catching a segfault

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From the comments, it seems like this should be changed to a doc issue. Given that I do not know a 'synchronous' from an 'asynchronous' signal, I would want an expanded list if I were using this module. Strengthening 'little sense' to 'do not do it' makes se

[issue1675951] [gzip] Performance for small reads and fix seek problem

2010-06-16 Thread Rick Harris
Rick Harris added the comment: Are compatibility concerns the main reason this patch has yet to be applied? If so, could we allay those fears by keeping the default seek-y behavior and only introducing the new seek-less style when a 'noseek' flag is passed? -- nosy: +rharris

[issue2102] New style vs. old style classes __ror__() operator overloading

2010-06-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8720] undo findsource regression/change

2010-06-16 Thread R. David Murray
R. David Murray added the comment: I've applied the patch to trunk in r82039, to py3k in r82041, and 3.1 in r82042. Holger, I'm not really familiar with the linecache module and its uses, so I'm not sure what your proposal is aimed at. Perhaps you could flesh out your proposal in a new ticke

[issue4502] Allowing get_pre_input_hook from Readline

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

[issue4370] warning: unknown conversion type character `z' in format

2010-06-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Martin said: I also wonder whether it is really necessary to complicate the code just so that gcc 2.95 stops producing some warnings. So I propose to close this as "won't fix". Is 2.95 still used much? If not, the above sounds good. -- nosy: +tjreedy

[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

[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 ___ ___

[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

[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

[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 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

[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:

[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://

[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 ___ _

[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

[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

[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 ___ __

[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

[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

[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

[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://

[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 ___ _

[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

[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

[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

[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 __

[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'
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' : 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'
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

[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 __

[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

[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
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(

[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 ___ __

[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

[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 Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r82034. -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[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

[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

[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

[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

[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

[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 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

[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

[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

[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

[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

[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 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 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

[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 Mark Dickinson
Changes by Mark Dickinson : -- stage: -> patch review type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing li

[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
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: 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

[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

[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

[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 ___ __

[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

[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

[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

[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

[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 ___ _

[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.

[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.

[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.

[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

[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
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 ___

[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

[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 ___ _

[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",

[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 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

[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

[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 ___ _

[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

[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

[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 ___ ___

[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 ___ _

[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()

[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

[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

[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:/

[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:/

[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;

[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

[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 É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 ___

[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 ___ _

[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 ___ __

[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.

[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

  1   2   >