Re: Looking for Remote Python Project

2011-01-30 Thread Ben Finney
joy99 subhakolkata1...@gmail.com writes: But do you know whether it would be a paying one, I am looking to be a freelancer. You might find the Python Job Board useful URL:http://www.python.org/community/jobs/. -- \“Choose mnemonic identifiers. If you can't remember what | `\

Re: Use the Source Luke

2011-01-30 Thread Steven D'Aprano
On Sat, 29 Jan 2011 20:50:20 -0800, rusi wrote: On Jan 30, 9:21 am, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: I think this is a fairly accurate description of (one aspect of) the problem. If you dont see it as a problem how do you explain that google can search the

Re: multiple values for keyword argument

2011-01-30 Thread Steven D'Aprano
On Sat, 29 Jan 2011 10:39:49 -0800, patty wrote: I am glad you said this. I have been avoiding understanding this 'self', just accepting it :} For the time being, since my programs I am creating are for my own use, I think I will make my own names up, that are descriptive to me as the

Re: Use the Source Luke

2011-01-30 Thread David Boddie
On Sunday 30 January 2011 05:21, Steven D'Aprano wrote: If I *wanted* to index my files, I could do so, although in fairness I'm not aware of any Linux tools which do this -- I know of `locate`, which indexes file *names* but not content, and `grep`, which searches file content but doesn't

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-30 Thread bansi
On Jan 28, 4:22 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: On Fri, Jan 28, 2011 at 3:42 PM, bansi mail2ba...@gmail.com wrote: On Jan 28, 1:52 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: On Fri, Jan 28, 2011 at 1:33 PM, bansi mail2ba...@gmail.com wrote: On Jan 28, 9:46 am,

Re: Use the Source Luke

2011-01-30 Thread Tim Wintle
On Sat, 2011-01-29 at 21:17 -0800, Raymond Hettinger wrote: My thesis is that we can do even better than that by adding direct links from the docs to the relevant code with nice syntax highlighting. +1 - I think the source links are very useful (and thanks for pushing them). However I think

Re: Use the Source Luke

2011-01-30 Thread rantingrick
On Jan 30, 2:53 am, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: In fact, Google themselves offer a desktop app that does just that: http://desktop.google.com/features.html Yes, but at the expense of your privacy! How much private information is being sent back to Google plex

Re: Use the Source Luke

2011-01-30 Thread rusi
On Jan 30, 6:19 pm, David Boddie da...@boddie.org.uk wrote: You might find this page useful: http://www.wikinfo.org/index.php/Comparison_of_desktop_search_software David Thanks for that link David I note particularly the disclaimer that it was removed from wikipedia [Like when

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-30 Thread rusi
On Jan 30, 6:31 pm, bansi mail2ba...@gmail.com wrote: On Jan 28, 4:22 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote: You'll need to have Visual C++ 2008 (not 2010) installed for this to work. You can get it for free fromhttp://www.microsoft.com/express/Downloads/if you don't

how to modify axis tick values exponential value location in matplotlib

2011-01-30 Thread Rajendra prasad Gottipati
Hi, I am plotting the graph for long values like(267838484) so that its printing the tick lables on axes as 2.6 , 2.8 and at the top its having a text like e07 something like this, I want to move the display location of this exponent (e07) as i am having trouble in having multiple y-axis as they

Style question: Nicknames for deeply nested objects

2011-01-30 Thread Gerald Britton
Hi all, Today I was thinking about a problem I often encounter.  Say that I have (seems I often do!) a deeply nested object, by which I mean object within object with object, etc. For example:    x = some.deeply.nested.object.method(some.other.deeply.nested.object.value) Well, that's extreme

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread rantingrick
On Jan 30, 11:51 am, Gerald Britton gerald.brit...@gmail.com wrote: [...] that I might confuse with the first.  To make it look better I might do this:    _o = some.deeply.nested.object    _o.method(_o.value) which is fine, I suppose. It is very fine. And you supposed correctly! Then,

Re: how to modify axis tick values exponential value location in matplotlib

2011-01-30 Thread Rajendra prasad Gottipati
it seems relevant to my issue. http://stackoverflow.com/questions/3677368/matplotlib-format-axis-offset-values-to-whole-numbers-or-specific-number On Sun, Jan 30, 2011 at 9:45 AM, Rajendra prasad Gottipati rajendra4li...@gmail.com wrote: Hi, I am plotting the graph for long values

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Roy Smith
In article mailman.1469.1296409883.6505.python-l...@python.org, Gerald Britton gerald.brit...@gmail.com wrote: 1. You need to call this thing many times with different arguments, so you wind up with:    x = some.deeply.nested.object.method(some.other.deeply.nested.object.value1)    y =

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Stephen Hansen
On 1/30/11 9:51 AM, Gerald Britton wrote: 1. If you had to choose between approaches 1 and 2, which one would you go for, and why? Neither. Ideally, I'd tweak the API around so the deeply nested structure isn't something I need to access regularly. But! If you can't do that, I'd do something

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread rantingrick
On Jan 30, 12:23 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: --- start from contextlib import contextmanager class Item(object): pass deeply = Item() deeply.nested = Item() deeply.nested.thing = Item() @contextmanager def my(thing):     yield thing with

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Stephen Hansen
On 1/30/11 10:35 AM, rantingrick wrote: Well congratulations Stephen, you win the obfuscation prize of the year! Yes, On 1/30/11 10:09 AM, rantingrick wrote: Here is how a pythonic local block would look with this as localvar: localvar.do_something() verses with my(this) as localvar:

Understanding def foo(*args)

2011-01-30 Thread sl33k_
Hi, I am struggling to grasp this concept about def foo(*args). Also, what is def bar(*args, *kwargs)? Isnt it like self must be the first parameter to the method/function? If not what are the exceptions? Also, can the terms method and function be used interchangeably? TIA --

Re: Understanding def foo(*args)

2011-01-30 Thread sl33k_
Sorry that parameter is **kwargs. -- http://mail.python.org/mailman/listinfo/python-list

Re: Understanding def foo(*args)

2011-01-30 Thread rantingrick
On Jan 30, 1:26 pm, sl33k_ ahsanbag...@gmail.com wrote: Hi, I am struggling to grasp this concept about def foo(*args). Also, what is def bar(*args, *kwargs)? FYI: the python intepretor is your friend! py def foo(*args): print args py foo(1) (1,) py foo(1,2,3) (1, 2, 3) py

Re: Understanding def foo(*args)

2011-01-30 Thread Mel
sl33k_ wrote: Hi, I am struggling to grasp this concept about def foo(*args). Also, what is def bar(*args, *kwargs)? Isnt it like self must be the first parameter to the method/function? If not what are the exceptions? Also, can the terms method and function be used interchangeably?

Re: Understanding def foo(*args)

2011-01-30 Thread Chris Rebert
On Sun, Jan 30, 2011 at 11:26 AM, sl33k_ ahsanbag...@gmail.com wrote: Hi, I am struggling to grasp this concept about def foo(*args). The interactive interpreter is your friend! Try experimenting with it next time! http://docs.python.org/tutorial/controlflow.html#arbitrary-argument-lists That

Re: Understanding def foo(*args)

2011-01-30 Thread Ulrich Eckhardt
sl33k_ wrote: Isnt it like self must be the first parameter to the method/function? self is just customary as first parameter to memberfunctions, the language itself doesn't impose this convention, as e.g. C++ does with its this. Also, can the terms method and function be used

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Ian
On 30/01/2011 17:51, Gerald Britton wrote: Hi all, Today I was thinking about a problem I often encounter. Say that I have (seems I often do!) a deeply nested object, by which I mean object within object with object, etc. For example: x =

homedir, file copy

2011-01-30 Thread ecu_jon
hello, i am trying to work with windows homedirectory as a starting point for some kind of file copy command. i'm testing this on a win7 box so my home is c:\Users\jon\ here is the code snippet i am working on: import os homedir = os.path.expanduser('~') try: from win32com.shell import

Re: homedir, file copy

2011-01-30 Thread r
On Jan 30, 2:44 pm, ecu_jon hayesjd...@yahoo.com wrote: shutil.copy (homedir+\\backup\\, homedir+\\backup2\\) TIP: Use os.path.join(x,y, z*) why is there still two \\ in the pathfor the copy command? I always convert my paths to use a single '/' instead of '\\'. Just makes life that much

Re: homedir, file copy

2011-01-30 Thread Chris Rebert
On Sun, Jan 30, 2011 at 12:44 PM, ecu_jon hayesjd...@yahoo.com wrote: hello, i am trying to work with windows homedirectory as a starting point for some kind of file copy command. i'm testing this on a win7 box so my home is c:\Users\jon\ here is the code snippet i am working on: import os

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread rantingrick
On Jan 30, 12:53 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: On 1/30/11 10:35 AM, rantingrick wrote: Well congratulations Stephen, you win the obfuscation prize of the year! Yes, On 1/30/11 10:09 AM, rantingrick wrote: Here is how a pythonic local block would look with this

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Jerry Hill
I don't. I don't expect anyone to write 10 lines of obfuscation code when just two will suffice. Maybe you should join the perl group as they would proud! But Stephen's 10 lines of somewhat obscure code actually works, and your two lines of code doesn't. I know which one I would prefer. --

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Steven D'Aprano
On Sun, 30 Jan 2011 12:51:20 -0500, Gerald Britton wrote: Hi all, Today I was thinking about a problem I often encounter.  Say that I have (seems I often do!) a deeply nested object, by which I mean object within object with object, etc. For example:    x =    

Re: WxPython versus Tkinter.

2011-01-30 Thread Littlefield, Tyler
Are you a representative voice for all the screen reader users? (Even though most of them use JAWS that you don't seem to like) Newsflash: I didn't say I didn't like Jaws, and I'm using Jaws -right now-. I don't like jaws and see a lot of future for NVDA as it is both free and open source. I

Re: Understanding def foo(*args)

2011-01-30 Thread Ben Finney
sl33k_ ahsanbag...@gmail.com writes: I am struggling to grasp this concept about def foo(*args). Also, what is def bar(*args, *kwargs)? Please work through the Python Tutorial from start to finish URL:http://docs.python.org/tutorial/, performing each exercise and experimenting with it until

Re: homedir, file copy

2011-01-30 Thread ecu_jon
On Jan 30, 3:55 pm, r rt8...@gmail.com wrote: On Jan 30, 2:44 pm, ecu_jon hayesjd...@yahoo.com wrote: shutil.copy (homedir+\\backup\\, homedir+\\backup2\\) TIP: Use os.path.join(x,y, z*) why is there still two \\ in the pathfor the copy command? I always convert my paths to use a single

Re: homedir, file copy

2011-01-30 Thread Chris Rebert
On Sun, Jan 30, 2011 at 3:13 PM, ecu_jon hayesjd...@yahoo.com wrote: On Jan 30, 3:55 pm, r rt8...@gmail.com wrote: On Jan 30, 2:44 pm, ecu_jon hayesjd...@yahoo.com wrote: shutil.copy (homedir+\\backup\\, homedir+\\backup2\\) TIP: Use os.path.join(x,y, z*) why is there still two \\ in the

Re: homedir, file copy

2011-01-30 Thread rantingrick
On Jan 30, 5:13 pm, ecu_jon hayesjd...@yahoo.com wrote: what does this mean?  Use os.path.join(x,y, z*) what is the x,y,z? x,y, and z in this case are just generic variables. Consider x+y=10. x and y could both equal 5 or any number of combinations of two numbers who sum equals ten. Anyway see

Re: homedir, file copy

2011-01-30 Thread ecu_jon
ok now i get permission denied import os homedir = os.path.expanduser('~') try: from win32com.shell import shellcon, shell homedir = shell.SHGetFolderPath(0, shellcon.CSIDL_APPDATA, 0, 0) except ImportError: homedir = os.path.expanduser(~) print homedir print

Re: WxPython versus Tkinter.

2011-01-30 Thread rantingrick
On Jan 28, 9:15 am, Littlefield, Tyler ty...@tysdomain.com wrote: If you want to rant and scream about accessibility, yell at the people charging an arm and a leg to make things accessible. You make a good point as we could always use more opensource, free, and reasonably priced software.

Re: homedir, file copy

2011-01-30 Thread MRAB
On 30/01/2011 23:43, ecu_jon wrote: ok now i get permission denied import os homedir = os.path.expanduser('~') try: from win32com.shell import shellcon, shell homedir = shell.SHGetFolderPath(0, shellcon.CSIDL_APPDATA, 0, 0) except ImportError: homedir = os.path.expanduser(~)

Re: homedir, file copy

2011-01-30 Thread ecu_jon
On Jan 30, 7:09 pm, MRAB pyt...@mrabarnett.plus.com wrote: On 30/01/2011 23:43, ecu_jon wrote: ok now i get permission denied import os homedir = os.path.expanduser('~') try:      from win32com.shell import shellcon, shell      homedir = shell.SHGetFolderPath(0,

Re: homedir, file copy

2011-01-30 Thread Dave Angel
On 01/-10/-28163 02:59 PM, ecu_jon wrote: ok now i get permission denied import os homedir = os.path.expanduser('~') try: from win32com.shell import shellcon, shell homedir = shell.SHGetFolderPath(0, shellcon.CSIDL_APPDATA, 0, 0) except ImportError: homedir =

MS Access table values as input into a formula in another table-need help!!

2011-01-30 Thread Cathy James
Dear Python Community, Table1: Prop_codeR_Value GC 0.8 CI 0.6 LDR 0.4 HDR 0.6 TR 0.65 CR 0.35 Table 2: O_ID PROP_CODE AI TArea R_Value Pre_R_Value IR MER02006 LDR 38.19235 132.3178 0.4 0.115456 0.555143 MER02006 TR 20.78983 132.3178 0.65 0.102128 0.555143 MER02006 UO 1.850129 132.3178 0.25

Re: homedir, file copy

2011-01-30 Thread ecu_jon
On Jan 30, 7:19 pm, Dave Angel da...@ieee.org wrote: On 01/-10/-28163 02:59 PM, ecu_jon wrote: ok now i get permission denied import os homedir = os.path.expanduser('~') try:      from win32com.shell import shellcon, shell      homedir = shell.SHGetFolderPath(0,

Re: homedir, file copy

2011-01-30 Thread rantingrick
On Jan 30, 5:43 pm, ecu_jon hayesjd...@yahoo.com wrote: ok now i get permission denied [...] shutil.copy (backupdir1, backupdir2) I must stress the importance of proper testing before ever running code that manipulates files! So many things can go wrong. Of course you are just copying

Re: homedir, file copy

2011-01-30 Thread ecu_jon
On Jan 30, 7:34 pm, rantingrick rantingr...@gmail.com wrote: On Jan 30, 5:43 pm, ecu_jon hayesjd...@yahoo.com wrote: ok now i get permission denied [...] shutil.copy (backupdir1, backupdir2) I must stress the importance of proper testing before ever running code that manipulates

Re: homedir, file copy

2011-01-30 Thread Westley Martínez
It seems like you are trying to copy directories with shutil.copy. Use shutil.copytree instead. On Sun, 2011-01-30 at 16:43 -0800, ecu_jon wrote: On Jan 30, 7:34 pm, rantingrick rantingr...@gmail.com wrote: On Jan 30, 5:43 pm, ecu_jon hayesjd...@yahoo.com wrote: ok now i get permission

Re: homedir, file copy

2011-01-30 Thread MRAB
On 31/01/2011 00:18, ecu_jon wrote: On Jan 30, 7:09 pm, MRABpyt...@mrabarnett.plus.com wrote: On 30/01/2011 23:43, ecu_jon wrote: ok now i get permission denied import os homedir = os.path.expanduser('~') try: from win32com.shell import shellcon, shell homedir =

Re: Is it possible to pass CSV Reader Object As Argument to another Python File ???

2011-01-30 Thread rusi
On Jan 30, 10:35 pm, rusi rustompm...@gmail.com wrote: On Jan 30, 6:31 pm, bansi mail2ba...@gmail.com wrote: Isn't it possible to implement your suggestion without installing Visual C++ 2008 . http://code.google.com/p/pyodbc/wiki/Building#Windows Well... This is what the official site

Limit on entries in dictionary data structure

2011-01-30 Thread Shruti Sanadhya
Hi, I am running a script that uses dictionaries on Python 2.6.4 on Ubuntu 9.10. I notice that my script crashes with a MemoryError when my dictionary reaches 44739243th entry. My system has 3GB RAM (32-bit). I noticed that changing the key or value types also did not help my code. For simplicity

Re: homedir, file copy

2011-01-30 Thread ecu_jon
On Jan 30, 8:25 pm, MRAB pyt...@mrabarnett.plus.com wrote: On 31/01/2011 00:18, ecu_jon wrote: On Jan 30, 7:09 pm, MRABpyt...@mrabarnett.plus.com  wrote: On 30/01/2011 23:43, ecu_jon wrote: ok now i get permission denied import os homedir = os.path.expanduser('~') try:      

Re: Style question: Nicknames for deeply nested objects

2011-01-30 Thread Stephen Hansen
On 1/30/11 1:13 PM, rantingrick wrote: On Jan 30, 12:53 pm, Stephen Hansen me+list/pyt...@ixokai.io wrote: OH MY GOD. How can someone be expected to understand what a function does! Yes, and also how decorators word and generators work, and ... Be serious! You can't expect that of them.

Re: homedir, file copy

2011-01-30 Thread Dave Angel
On 01/-10/-28163 02:59 PM, ecu_jon wrote: On Jan 30, 7:19 pm, Dave Angelda...@ieee.org wrote: On 01/-10/-28163 02:59 PM, ecu_jon wrote: ok now i get permission denied import os homedir =s.path.expanduser('~') try: from win32com.shell import shellcon, shell homedir

Re: multiple values for keyword argument

2011-01-30 Thread Patty
Well - this is all timely email. I just spent the day configuring my HP mini netbook running Windows 7 with all the right software based on recomendations from folks on this list, from the Python Tutor list and an email group of former colleagues where I spelled out exactly all the programming

Re: Understanding def foo(*args)

2011-01-30 Thread rusi
On Jan 31, 12:35 am, rantingrick rantingr...@gmail.com wrote: Also, can the terms method and function be used interchangeably? Can the terms cars and truck be used interchangeably? Oooff! A load of meaning in that one line -- I wonder though if the OP will understand... --

Useing the processor clock, or get time in Femptoseconds

2011-01-30 Thread Garland Fulton
Does anyone have any suggestions? -- http://mail.python.org/mailman/listinfo/python-list

Re: Limit on entries in dictionary data structure

2011-01-30 Thread MRAB
On 31/01/2011 02:43, Shruti Sanadhya wrote: Hi, I am running a script that uses dictionaries on Python 2.6.4 on Ubuntu 9.10. I notice that my script crashes with a MemoryError when my dictionary reaches 44739243th entry. My system has 3GB RAM (32-bit). I noticed that changing the key or value

Re: Useing the processor clock, or get time in Femptoseconds

2011-01-30 Thread Littlefield, Tyler
If you are on windows, you can use high-resolution timers. What you are trying is physically impossible though: lets say you have a processor that runs at 2.5 GHz. that's 2.5 billion cycles per second, give or take a few. So, the lowest you can go is nanoseconds. You're trying to time like 10x

Re: WxPython versus Tkinter.

2011-01-30 Thread alex23
rantingrick rantingr...@gmail.com wrote: To be honest, i would sacrifice all the functionality of wxWidgets if we could get pyGUI into the stdlib. Why? Well because pyGUI would be under OUR complete control. You would need to contribute something other than bullshit and vitriol in order to be

Re: Limit on entries in dictionary data structure

2011-01-30 Thread Dan Stromberg
On Sun, Jan 30, 2011 at 6:43 PM, Shruti Sanadhya s.sanad...@gmail.com wrote: Hi, I am running a script that uses dictionaries on Python 2.6.4 on Ubuntu 9.10. I notice that my script crashes with a MemoryError when my dictionary reaches 44739243th entry. My system has 3GB RAM (32-bit). I

Re: Useing the processor clock, or get time in Femptoseconds

2011-01-30 Thread John Nagle
On 1/30/2011 8:14 PM, Littlefield, Tyler wrote: If you are on windows, you can use high-resolution timers. What you are trying is physically impossible though: lets say you have a processor that runs at 2.5 GHz. that's 2.5 billion cycles per second, give or take a few. So, the lowest you can go

Re: Bugs/issues in tkinter.simpledialog!!

2011-01-30 Thread alex23
rantingrick rantingr...@gmail.com wrote: Actually i see you point but there is a good reason behind me bringing this up here. I want to bring to the attention of everyone how little interest there is for Tkinter. Right. You have no interest in resolving this issue and instead want to use it as

[issue10845] test_multiprocessing failure under Windows

2011-01-30 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: release blocker - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, applied in r88258. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I fixed two instances of missing HTML escaping and committed as r88261. The code should be checked thoroughly for more such missing escaping. -- resolution: - fixed status: open - closed ___ Python

[issue11051] system calls per import

2011-01-30 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list

[issue11051] system calls per import

2011-01-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Something has gone out of control here. Why do we need to check so many alternative locations? What change do you propose? -- ___ Python tracker rep...@bugs.python.org

[issue11051] system calls per import

2011-01-30 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___

[issue11051] system calls per import

2011-01-30 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11051 ___ ___ Python-bugs-list

[issue11051] system calls per import

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Something has gone out of control here. Why do we need to check so many alternative locations? What change do you propose? First, I don't understand why we need to check both foo.so and foomodule.so. Second, I don't understand why we need

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

2011-01-30 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Looks great, thanks. I've updated the patch so it applies okay to both release27-maint and py3k. All tests pass on both branches. It's a one line fix and the test case looks good, so there should be no problem applying this to

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

2011-01-30 Thread Steven Bethard
Changes by Steven Bethard steven.beth...@gmail.com: Removed file: http://bugs.python.org/file20548/issue10680_withTestcase.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___

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

2011-01-30 Thread Steven Bethard
Changes by Steven Bethard steven.beth...@gmail.com: Removed file: http://bugs.python.org/file20114/argparse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___

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

2011-01-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I haven't started yet actually releasing, so this got in as r88263. -- nosy: +georg.brandl resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680

[issue7502] All DocTestCase instances compare and hash equal to each other

2011-01-30 Thread Cédric Krier
Cédric Krier cedric.kr...@b2ck.com added the comment: Here is a patch that defines __eq__ and __hash__ on DocTestCase. -- keywords: +patch nosy: +ced Added file: http://bugs.python.org/file20618/doctestcase_eq_hash.patch ___ Python tracker

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This should be back-ported to the maintenance branch as well. I can take care of that if Georg is busy with release-related stuff. -- ___ Python tracker rep...@bugs.python.org

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

2011-01-30 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Awesome, thanks! Do you want to apply to 2.7 or should I? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: Reviewing the What's New docs, this seemed like the easiest way to give Raymond a list of things I noticed: - first sentence in the ast module section needs rewording (currently includes fragments from a couple of different phrasings) - in

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: A couple more in the Build and CAPI section: - The is a new function should be There is a new function - The PyUnicode_CompareWithASCIIString() now either needs to drop the The or add function before the now. It's fascinating to read all

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

2011-01-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Please do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___ ___ Python-bugs-list

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Please do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069 ___ ___ Python-bugs-list

[issue11023] pep 227 missing text

2011-01-30 Thread Alan Isaac
Alan Isaac alan.is...@gmail.com added the comment: Bear with my confusion about your response. Are you saying that CPython documentation bugs cannot be submitted here, or that this does not constitute a CPython documentation bug? I assume the latter. But then, can you tell me where to find

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

2011-01-30 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Done in r88268. Thanks again everyone! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10680 ___

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Another significant logging change: the addition of the style parameter for Formatter objects (allowing the use of str.format and string.Template style substitution instead of percent formatting) --

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: The last two logging changes potentially worth mentioning that I noticed: - simple callables can now be supplied as logging filters (see the version 3.2 note in http://docs.python.org/dev/library/logging#filter-objects) - the logging API docs

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I was wrong, I found one more potentially notable logging change: http://docs.python.org/dev/library/logging#logging.setLogRecordFactory -- ___ Python tracker rep...@bugs.python.org

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Adding Vinay, given the number of logging changes in 3.2 that don't appear to be in the What's New yet (the only logging change noted there at the moment is the inclusion of PEP 391) -- nosy: +vinay.sajip

[issue11068] Python 2.7.1 Idle traceback on OS X (10.6.6)

2011-01-30 Thread David Meier
David Meier djme...@gmail.com added the comment: Removing the 10.6 specific Python 2.7.1 installation (with the instructions provided by Ned) and reinstalling the 10.3-10.6 32bit installation fixed the aforementioned segfault. Thanks for the information, however, I do think it should be

[issue9527] Add aware local time support to datetime module

2011-01-30 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9527 ___ ___ Python-bugs-list

[issue11048] import ctypes causes segfault on read-only filesystem

2011-01-30 Thread Marcin Bachry
Marcin Bachry hegel...@gmail.com added the comment: This patch fixes issue with unitialized variable which makes ctypes crash in error handler. Note that for you it merely turns Segmentation fault into MemoryError exception. Python ships with buggy version of libffi, which tries to allocate

[issue11059] Mercurial fails on code.python.org repo

2011-01-30 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: 'Had to look on a sunday once again, and it is still impossible to clone branches/release2.7-maint. In the meanwhile the Mercurial people from http://mercurial.selenic.com reacted - they play the ball back to python.org.

[issue10716] Modernize pydoc to use CSS

2011-01-30 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: A reminder: Check for instances where html.escape is not called on data inserted into the html pages. I'll update the patch as the non-css (error handling) parts made it into python 3.2. :-) --

[issue11059] Mercurial fails on code.python.org repo

2011-01-30 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: http://mercurial.selenic.com/bts/issue2595 says code.python.org/hg often seems unstable., so it seems to be a well known thing. I leave this issue now open nevertheless, and let some experienced Python.org user decide what to

[issue11059] Mercurial fails on code.python.org repo

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: 'Had to look on a sunday once again, and it is still impossible to clone branches/release2.7-maint. It failed here on one attempt and succeeded on others. hg verify ran fine too, including on the server. I'm closing the issue again; in all

[issue11048] import ctypes causes segfault on read-only filesystem

2011-01-30 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: It would be nice to add a unit test to this patch. I don't think messing with read-only filesystems is feasible in regrtest, but it seems from reading _ctypes_alloc_callback() source that similar behavior can be

[issue11071] What's New review comments

2011-01-30 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Nick, thanks for the read-through and comments. Later this week, will get add a section of logging. Other people are also welcome to use this tracker item for other comments. --

[issue6715] xz compressor support

2011-01-30 Thread devurandom
Changes by devurandom devuran...@gmx.net: -- nosy: -devurandom ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list

[issue7502] All DocTestCase instances compare and hash equal to each other

2011-01-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: needs patch - patch review versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7502 ___

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Fixed in release31-maint in r88269. -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11069 ___

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-30 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: Removed file: http://bugs.python.org/file20581/issue10990.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990 ___

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-30 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Sorry about that. New patch attached. -- Added file: http://bugs.python.org/file20620/issue_10990.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: Patch looks good to me. Can this be applied? As a temporary workaround I have set my buildbot to run interactively. Once the fix is applied, I will switch back to running as a service. -- keywords: +buildbot

  1   2   >