error on exe file

2010-06-16 Thread Ahmed, Shakir
HI, I created a script to do some GIS process ( basic GIS operation exam: create shape file, project and copy) and exporting one of the output to dbf too. The Script is running without any problem where ArcGIS and python are installed. I need to runt this application where both of the

Re: Python Tkinter Linux Repair Question/ Python TCP Socket Example

2010-06-16 Thread My Python
1. Could u also quote some URLs for sample GUI programs written using Tkinter. I am looking for any aubstantial app that has Canvas, Frame, Button, LIstbox widgets, plus File Open/Save for simple text files. 2. Some good holistic article for positioning widgets on the frame/ canvas, basic

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Stephen Hansen
On 6/16/10 1:42 PM, Mark Lawrence wrote: Thanks Stephen, But likely to be difficult as (presumably he) has already turned up this evening as smallpox. I noticed. Reported too. Hopefully, Google'll like, ban his IP or something. Either way, I shall persistently continue to report! Even if it

JBR ,Lower Market price ,Sea View and Marina View AED800per/sqft ,050-8320722

2010-06-16 Thread PETER WONG F H (+971 50 8320722)
JBR Lower market price AED800per/sqft 5 unit (3Bed + Maid)(packet) (1800sqft to 3000sqft) +Transfer Fee 2 % + Broker Fee 2% JBR Apartments Located near to Dubai Marina and lying in a beach front location comprises the area of JBR or Jumeirah Beach Residences, Comprising clusters of 6 tower

Re: Writing to open subprocess pipes.

2010-06-16 Thread Ian Kelly
On Wed, Jun 16, 2010 at 2:29 PM, Brandon McGinty brandon.mcgi...@gmail.com wrote: Both subprocess and os.popen* only allow inputput and output one time, and the output to be read only when the process terminates. You can read output before the subprocess terminates by setting the pipe to be

Re: Writing to open subprocess pipes.

2010-06-16 Thread Stephen Hansen
On 6/16/10 1:29 PM, Brandon McGinty wrote: Both subprocess and os.popen* only allow inputput and output one time, and the output to be read only when the process terminates. Its not that subprocess only *allow* input and output one at a time, but that it a) provides blocking file objects by

Re: Different byte-code in same major version (2.6.x)?

2010-06-16 Thread Thomas Jollans
On 06/16/2010 10:36 PM, Hartmut Goebel wrote: Am 15.06.2010 20:43, schrieb Paul Rubin: Hartmut Goebel h.goe...@crazy-compilers.com writes: I'm facing a curious problem: 2.6, 2.6.1 and 2.6.4 are generating different byte-code for the same source. I can not find the reason for. Why should they

Re: Writing to open subprocess pipes.

2010-06-16 Thread Thomas Jollans
On 06/16/2010 10:29 PM, Brandon McGinty wrote: All, I have researched this both in the python documentation, and via google. Neither subprocess nor os.popen* will do what I need. First, I would instanshiate an ongoing shell, that would remain active throughout the life of the socket

Re: Different byte-code in same major version (2.6.x)?

2010-06-16 Thread Paul Rubin
Hartmut Goebel h.goe...@goebel-consult.de writes: a) they are only maintenance releases and changes to bytecode generation would eb a functional change Why would it be a functional change, if no new bytecodes are introduced or anything like that? I thought we were just talking about two

Re: Overriding __setattr__ of a module - possible?

2010-06-16 Thread John Nagle
On 6/16/2010 1:10 PM, Ian Kelly wrote: On Wed, Jun 16, 2010 at 12:55 PM, John Naglena...@animats.com wrote: Note that there are now two copies of a, one bound to the module and referenced in f, and a second bound to the class, and referenced by x.a. Uh oh. The problem here is that when def

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Joshua Kordani
Benjamin Kaplan wrote: On Wed, Jun 16, 2010 at 12:21 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 16/06/2010 18:56, Alan Harris-Reid wrote: Any idea how we get rid of this 'noise'? Will it eventually go away if we ignore it, or is there anything the moderators can do to

Re: exceptions and unicode

2010-06-16 Thread Thomas Jollans
On 06/16/2010 10:10 PM, Stuart McGraw wrote: I am having a problem with exceptions and unicode. try: open ('file.txt') except IOError, e: pass str (e) = [Errno 2] No such file or directory: 'file.txt' which is fine but... try: open (u'フィイル.txt') except IOError, e: pass

Re: exceptions and unicode

2010-06-16 Thread Martin v. Loewis
So how do I get what I want? Submit a patch. You would have to explain why this is a bug fix and not a new feature, as new features are not allowed anymore for 2.x. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: Different byte-code in same major version (2.6.x)?

2010-06-16 Thread Grant Edwards
On 2010-06-16, Hartmut Goebel h.goe...@goebel-consult.de wrote: Am 15.06.2010 20:43, schrieb Paul Rubin: Hartmut Goebel h.goe...@crazy-compilers.com writes: I'm facing a curious problem: 2.6, 2.6.1 and 2.6.4 are generating different byte-code for the same source. I can not find the reason for.

A daemon to call a function with configurable interval

2010-06-16 Thread Vishal Rana
Hi, I am working in a django web application. A function 'xyx' need to be called every 2 minutes. I want one http request should start the daemon and keep calling xyz (every 2 minutes) until I send another http request to stop it. Appreciate your ideas. Thanks Vishal Rana --

Python 2.4.4 Tkinter GUI Example for Modeless Dialog with Menu, Edit, List, Buttons, File Save etc.

2010-06-16 Thread My Python
I would like to see some substantial example of an App written for a Modeless Dialog (fixed size, non resizable window) (If you have used WIndows MFC or Visual Basic you all know how elegant it is) with Buttons, menus, edit boxes, list boxes, file save as dialogs popping from the button action

Re: Possible to make subprocess.Popen jobs run serially rather than in parallel?

2010-06-16 Thread Chris Seberino
On Jun 16, 11:27 am, Stephen Hansen me+list/pyt...@ixokai.io wrote: On 6/16/10 7:04 AM, Chris Seberino wrote: On Jun 15, 2:03 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: Just call process.wait() after you call process = subprocess.Popen(...) I may have not been clear. I

Re: Coroutines: unexpected behaviour

2010-06-16 Thread Jérôme Mainka
On 16 juin, 20:11, Carl Banks pavlovevide...@gmail.com wrote: I suggest, if you intend to use this kind of thing in real code (and I would not recommend that) that you get in a habit of explicitly closing the generator after the last send(), even when you don't think you have to. Very clear

Re: Writing to open subprocess pipes.

2010-06-16 Thread Brandon McGinty
Ah. Thank you all for your quick responses. I shall implement non-blocking stdin/stdout objects, then. Thank You, Brandon McGinty On 6/16/2010 5:37 PM, Thomas Jollans wrote: On 06/16/2010 10:29 PM, Brandon McGinty wrote: All, I have researched this both in the python documentation, and via

Re: Jewish Pirates of the Caribbean

2010-06-16 Thread J. Clarke
On 6/16/2010 4:42 PM, George Neuner wrote: On Wed, 16 Jun 2010 17:23:35 +0200, p...@informatimago.com (Pascal J. Bourguignon) wrote: Kryno Bosmankryno.bos...@gmail.com writes: Would you, please, be so nice to share *your* truth somewhere else? He has been long time ago kill-filed by

Re: GUIs - A Modest Proposal

2010-06-16 Thread Matt
On 06/05/2010 09:22 PM, ant wrote: PyQt is tied to one platform. Several posters have asked for support for or clarification of this claim of yours. On its face it seems to be nonsense. So just what are you talking about? -- http://mail.python.org/mailman/listinfo/python-list

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Mark Lawrence
On 16/06/2010 22:51, Joshua Kordani wrote: Benjamin Kaplan wrote: On Wed, Jun 16, 2010 at 12:21 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 16/06/2010 18:56, Alan Harris-Reid wrote: Any idea how we get rid of this 'noise'? Will it eventually go away if we ignore it, or is there

Re: A daemon to call a function with configurable interval

2010-06-16 Thread Clovis Fabricio
2010/6/16 Vishal Rana ranavis...@gmail.com: I am working in a django web application. A function 'xyx' need to be called every 2 minutes. I want one http request should start the daemon and keep calling xyz (every 2 minutes) until I send another http request to stop it. Appreciate your ideas.

Re: Jewish Pirates of the Caribbean

2010-06-16 Thread nanothermite911fbibustards
On Jun 16, 3:27 pm, J. Clarke jclarke.use...@cox.net wrote: On 6/16/2010 4:42 PM, George Neuner wrote: On Wed, 16 Jun 2010 17:23:35 +0200, p...@informatimago.com (Pascal J. Bourguignon) wrote: Kryno Bosmankryno.bos...@gmail.com  writes: Would you, please, be so nice to share *your*

Re: Overriding __setattr__ of a module - possible?

2010-06-16 Thread Ian Kelly
On Wed, Jun 16, 2010 at 3:38 PM, John Nagle na...@animats.com wrote: That just leaves things in a state where even sys and import are undefined. Say what? It works fine for me. import proxy_mod proxy_mod.f() 1 proxy_mod.a = 2 setting a=2 proxy_mod.f() 2 proxy_mod.sys module 'sys'

Re: Python editing .txt file

2010-06-16 Thread MRAB
187braintr...@berkeley.edu wrote: From: MRAB pyt...@mrabarnett.plus.com mailto:pyt...@mrabarnett.plus.com To: python-list@python.org mailto:python-list@python.org Date: Wed, 16 Jun 2010 03:06:58 +0100 Subject: Re: Python editing .txt file 187braintr...@berkeley.edu

Re: Writing to open subprocess pipes.

2010-06-16 Thread Nobody
On Wed, 16 Jun 2010 16:29:42 -0400, Brandon McGinty wrote: Both subprocess and os.popen* only allow inputput and output one time, and the output to be read only when the process terminates. This is incorrect; you can read from and write to the pipe as you wish. However: you may have problems

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread alex23
Stephen Hansen me+list/pyt...@ixokai.io wrote: P.S. This is something which confuses me greatly. Considering how *great* the spam filters are on Gmail-- I literally get virtually nothing in my inbox-- how in world are Google Groups so full of junk? The cynic in me thinks it has a lot to do

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread geremy condra
On Wed, Jun 16, 2010 at 6:04 PM, alex23 wuwe...@gmail.com wrote: Stephen Hansen me+list/pyt...@ixokai.io wrote: P.S. This is something which confuses me greatly. Considering how *great* the spam filters are on Gmail-- I literally get virtually nothing in my inbox-- how in world are Google

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread alex23
geremy condra debat...@gmail.com wrote: I have a hard time believing that any major company in the world wants to be associated with this kind of crap. I'm ashamed even to have it in my inbox. I can just as easily imagine the furor that would spring up over Google's evil censorship if they

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread geremy condra
On Wed, Jun 16, 2010 at 6:28 PM, alex23 wuwe...@gmail.com wrote: geremy condra debat...@gmail.com wrote: I have a hard time believing that any major company in the world wants to be associated with this kind of crap. I'm ashamed even to have it in my inbox. I can just as easily imagine the

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Deadly Dirk
On Wed, 16 Jun 2010 11:50:45 -0700, Stephen Hansen wrote: On 6/16/10 10:56 AM, Alan Harris-Reid wrote: Any idea how we get rid of this 'noise'? Will it eventually go away if we ignore it, or is there anything the moderators can do to clean-up this (normally) wonderful resource for Python

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Ian Kelly
On Wed, Jun 16, 2010 at 7:36 PM, geremy condra debat...@gmail.com wrote: Granted, but I don't see that happening if all they're doing is filtering spam out of groups. They already do it in your inbox for pete's sake- if it is censorship, it doesn't strike any closer to home than that, and

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Stephen Hansen
On 6/16/10 6:52 PM, Ian Kelly wrote: And for the record, Google Groups does have a spam filter that can be enabled in the moderation settings. The possible spam messages get sent to a moderation queue for a review. I imagine that for a group this size, the amount of work involved in

Re: Removing anti-Jewish postings from Python list

2010-06-16 Thread Ian Kelly
On Wed, Jun 16, 2010 at 8:02 PM, Stephen Hansen me+list/pyt...@ixokai.io wrote: This isn't a Google Group-group, though. There are no moderators, no administrators. Its a Usenet group (at least as far as Google is concerned) which Google offers in Google Groups form. Which goes back to my

Re: a +b ?

2010-06-16 Thread Aahz
In article a228f6fb-a97c-4c06-9676-37940cf19...@e34g2000pra.googlegroups.com, alex23 wuwe...@gmail.com wrote: I've never used map/reduce outside of Python, this is where I first encountered it. And I _have_ worked in organisations alongside new Python coders. That it's easy enough to express

Re: a +b ?

2010-06-16 Thread James Mills
On Thu, Jun 17, 2010 at 12:37 PM, Aahz a...@pythoncraft.com wrote: And I am not particularly fond of map() and cordially loathe reduce(). Speaking as someone with more than twenty years of programming before encountering Python more than a decade ago. Loathe is a particularly STRONG world. Are

Re: a +b ?

2010-06-16 Thread Aahz
In article mailman.1662.1276743037.32709.python-l...@python.org, James Mills prolo...@shortcircuit.net.au wrote: On Thu, Jun 17, 2010 at 12:37 PM, Aahz a...@pythoncraft.com wrote: And I am not particularly fond of map() and cordially loathe reduce(). Speaking as someone with more than twenty

Re: a +b ?

2010-06-16 Thread James Mills
On Thu, Jun 17, 2010 at 1:34 PM, Aahz a...@pythoncraft.com wrote: Loathe is a particularly STRONG world. Are you sure you meant that ? Yes, I did mean to use it -- perhaps it is not entirely an accurate description of my emotional state, but I enjoy the shock effect in this circumstance. What

Re: a +b ?

2010-06-16 Thread Stephen Hansen
On 6/16/10 9:03 PM, James Mills wrote: Further: What is Pythonic ? This is probably more of a style and personal taste that might vary from one programmer to another. I don't recall anywhere in the Python documentation or a Python document that says map/reduce is or isn't pythonic (whatever

Re: a +b ?

2010-06-16 Thread James Mills
On Thu, Jun 17, 2010 at 2:23 PM, Stephen Hansen me+list/pyt...@ixokai.io wrote: It could certainly do with a little less 'taking oneself too seriously' :) You do realize my question was completely rhetorical :) --James /me withdraws from this discussion :) -- -- -- Problems are solved by

Re: a +b ?

2010-06-16 Thread Stephen Hansen
On 6/16/10 9:43 PM, James Mills wrote: On Thu, Jun 17, 2010 at 2:23 PM, Stephen Hansen me+list/pyt...@ixokai.io wrote: It could certainly do with a little less 'taking oneself too seriously' :) You do realize my question was completely rhetorical :) --James /me withdraws from this

Re: a +b ?

2010-06-16 Thread James Mills
On Thu, Jun 17, 2010 at 2:43 PM, James Mills prolo...@shortcircuit.net.au wrote: /me withdraws from this discussion :) Of course - thank you for that enlightening description of Pythonic :) Hopefully it helps others to understand! :) -- -- -- Problems are solved by method --

basic doubt

2010-06-16 Thread madhuri vio
def h(self,event): handle = open(myco.fasta,r) for seq_record in SeqIO.parse(handle, fasta): messenger_rna = coding_myco.fasta.transcribe() han1 = open(mycorna.fasta,wU) han1.close() return self.messenger_rna the error is... File

Re: Python 2.4.4 Tkinter GUI Example for Modeless Dialog with Menu, Edit, List, Buttons, File Save etc.

2010-06-16 Thread rantingrick
On Jun 16, 5:05 pm, My Python mypython_2...@yahoo.com wrote: I would like to see some substantial example of an App written for a Modeless Dialog (fixed size, non resizable window) (If you have used WIndows MFC or Visual Basic you all know how elegant it is) with Buttons, menus, edit boxes,

Re: a +b ?

2010-06-16 Thread James Mills
On Thu, Jun 17, 2010 at 2:53 PM, Stephen Hansen me+list/pyt...@ixokai.io wrote: My entire response was largely tongue-in-cheek :) I know :) Don't you wish there was a Close Thread button :) -- -- -- Problems are solved by method -- http://mail.python.org/mailman/listinfo/python-list

Upgrading from Python 2.6.5 w.r.t. matplotlib/numpy?

2010-06-16 Thread Mark Lawrence
I'm like to go direct to Python 3.1 if possible, but if necessary I'll happily use Python 2.7 as an interim measure. However I'm uncertain as to the status of matplotlib and its dependency on numpy. I've tried googling their development mailing lists but don't really understand what the

Re: Upgrading from Python 2.6.5 w.r.t. matplotlib/numpy?

2010-06-16 Thread Stephen Hansen
On 6/16/10 10:18 PM, Mark Lawrence wrote: I'm like to go direct to Python 3.1 if possible, but if necessary I'll happily use Python 2.7 as an interim measure. However I'm uncertain as to the status of matplotlib and its dependency on numpy. I've tried googling their development mailing lists

Re: a +b ?

2010-06-16 Thread Mark Lawrence
On 17/06/2010 06:12, James Mills wrote: On Thu, Jun 17, 2010 at 2:53 PM, Stephen Hansen me+list/pyt...@ixokai.io wrote: My entire response was largely tongue-in-cheek :) I know :) Don't you wish there was a Close Thread button :) For the more disgraceful/disgusting threads around here in

gui doubt

2010-06-16 Thread madhuri vio
if i want to create a button which performs the transcription of dna to rna using tkinter in a gui... can u give me the method... -- madhuri :) -- http://mail.python.org/mailman/listinfo/python-list

[issue7370] patch: BaseHTTPServer reinventing rfc822 date formatting

2010-06-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[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 tim.cez...@gmail.com: 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

[issue9007] CGIHTTPServer

2010-06-16 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: 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

[issue9007] CGIHTTPServer supports only Python CGI scripts

2010-06-16 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- title: CGIHTTPServer - CGIHTTPServer supports only Python CGI scripts ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9007 ___

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: 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

[issue8720] undo findsource regression/change

2010-06-16 Thread holger krekel
holger krekel holger.kre...@gmail.com 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. --

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2010-06-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2010-06-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I can't edit my comment. That suxx. It should be ...at all if environ is passed... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1711605

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

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

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

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

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

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

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

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

[issue9007] CGIHTTPServer supports only Python CGI scripts

2010-06-16 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- priority: normal - low stage: - needs patch type: - behavior versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9007 ___

[issue7370] BaseHTTPServer reinventing rfc822 date formatting

2010-06-16 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- title: patch: BaseHTTPServer reinventing rfc822 date formatting - BaseHTTPServer reinventing rfc822 date formatting ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7370

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2010-06-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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. --

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

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

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: 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

[issue9003] urllib about https behavior

2010-06-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9003 ___ ___

[issue9009] Improve quality of Python/dtoa.c

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

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

2010-06-16 Thread Ruben Bakker
New submission from Ruben Bakker ruben.bakk...@gmail.com: 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

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

2010-06-16 Thread Ruben Bakker
Ruben Bakker ruben.bakk...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue9010

[issue8937] SimpleHTTPServer should contain usage example

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r82018. -- nosy: +orsenthil resolution: - fixed stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8937

[issue9011] ast_for_factor unary minus optimization changes AST

2010-06-16 Thread Alex Samuel
New submission from Alex Samuel a...@alexsamuel.net: 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 =

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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.

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- keywords: +patch Added file: http://bugs.python.org/file17684/timefunc-split.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9012

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

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

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

2010-06-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 vijay.psaib...@gmail.com 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

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

2010-06-16 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com 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

[issue8937] SimpleHTTPServer should contain usage example

2010-06-16 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Merged into other branches in r82020, r82022 and r82023. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8937

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

2010-06-16 Thread vijay
vijay vijay.psaib...@gmail.com 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

[issue9012] Separate compilation of time and datetime modules

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

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9012 ___

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9012 ___

[issue9003] urllib about https behavior

2010-06-16 Thread Justin Samuel
Changes by Justin Samuel j...@justinsamuel.com: -- nosy: +jsamuel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9003 ___ ___ Python-bugs-list

[issue8998] add crypto routines to stdlib

2010-06-16 Thread Justin Samuel
Changes by Justin Samuel j...@justinsamuel.com: -- nosy: +jsamuel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___ ___ Python-bugs-list

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

2010-06-16 Thread Justin Samuel
Changes by Justin Samuel j...@justinsamuel.com: -- nosy: +jsamuel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1589 ___ ___ Python-bugs-list

[issue9012] Separate compilation of time and datetime modules

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

[issue9012] Separate compilation of time and datetime modules

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file17685/issue9012.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9012 ___

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Created new 'py3k-dtoa' branch for this work in r82024. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9009 ___

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

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

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

2010-06-16 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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

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

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- dependencies: +datetime lacks concrete tzinfo implementation for UTC nosy: +brett.cannon, mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9013

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

2010-06-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com 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 m...@egenix.com 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

[issue9009] Improve quality of Python/dtoa.c

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

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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 dicki...@gmail.com 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 rep...@bugs.python.org

[issue9009] Improve quality of Python/dtoa.c

2010-06-16 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: - patch review type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9009 ___

<    1   2   3   >