cx_Oracle 5.1.3

2014-05-26 Thread Anthony Tuininga
What is cx_Oracle? cx_Oracle is a Python extension module that enables access to Oracle for Python 2.x and 3.x and conforms to the Python database API 2.0 specifications with a number of enhancements. Where do I get it? http://cx-oracle.sourceforge.net What's new?

PyGObject 3.12.2 Released

2014-05-26 Thread Simon Feltman
I am pleased to announce version 3.12.2 of the Python bindings for GObject. This is the third release in the stable 3.12.x series for GNOME 3.12. Download The new release is available from ftp.gnome.org: https://download.gnome.org/sources/pygobject/3.12/pygobject-3.12.2.tar.xz (686K)

PyGObject 3.13.2 Released

2014-05-26 Thread Simon Feltman
I am pleased to announce version 3.13.2 of the Python bindings for GObject. This is the third alpha release of the 3.13.x series which will result in a stable GNOME 3.14 release. This release fixes a many long standing issues and hits a milestone in our testing of having over 1,000 unit tests.

Re: Standard Delay Format (SDF) Parsing

2014-05-26 Thread garg . pankaj83
Hi Steven, did you get the module to parse the sdf file? regards, pankaj -- https://mail.python.org/mailman/listinfo/python-list

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

2014-05-26 Thread Nagy László Zsolt
2014.05.25. 23:49 keltezéssel, Terry Reedy írta: On 5/25/2014 1:40 PM, Nagy László Zsolt wrote: import win32service Traceback (most recent call last): File stdin, line 1, in module ImportError: DLL load failed: The specified module could not be found I have no problem loading the same

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Devin Jeanpierre
On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. This seems like an unnecessarily harsh way of putting it, Mark.

Re: Standard Delay Format (SDF) Parsing

2014-05-26 Thread moogyd
On Monday, 26 May 2014 08:15:53 UTC+2, garg.p...@gmail.com wrote: Hi Steven, did you get the module to parse the sdf file? regards, pankaj Unfortunately not. I actually can't remember why I wanted/needed this. I guess that it wasn't that important since I didn't actually do

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Stefan Behnel
Ben Finney, 26.05.2014 05:20: bookaa bookaa writes: Generally, people consider Python as a script language. It has high development efficiency but run too slowly Which Python implementation are you talking about? Run time is not a property of the language. It is a property of the language

Hello and sorry for disturbing !

2014-05-26 Thread Radu Ioan Barbos
Greetings from Romania,sorry for my english,i just wanted to ask you if i need any other software/program beside the one software from the next pagehttps://www.python.org/downloads/ or is it enough the software on that page , download and install it ? This question goes for both windows 7

Re: compiled cx_freeze

2014-05-26 Thread Nagy László Zsolt
Let Christoph know, he is very responsive and extremely helpful. He did help. The new version is available on his site and it works. Thank you. -- https://mail.python.org/mailman/listinfo/python-list

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Mark Lawrence
On 26/05/2014 07:31, Devin Jeanpierre wrote: On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. This seems like

Re: Hello and sorry for disturbing !

2014-05-26 Thread Rustom Mody
On Monday, May 26, 2014 2:57:54 PM UTC+5:30, Radu Ioan Barbos wrote: Greetings from Romania,sorry for my english,i just wanted to ask you if i need any other software/program beside the one software from the next page https://www.python.org/downloads/ or is it enough the software on that

Re: Hello and sorry for disturbing !

2014-05-26 Thread Wolfgang Maier
On 26.05.2014 13:27, Rustom Mody wrote: On Monday, May 26, 2014 2:57:54 PM UTC+5:30, Radu Ioan Barbos wrote: Greetings from Romania,sorry for my english,i just wanted to ask you if i need any other software/program beside the one software from the next page https://www.python.org/downloads/

Re: Build tools, and Python 3 dependencies (was: How keep Python 3 moving forward)

2014-05-26 Thread Roy Smith
In article mailman.10329.1401074189.18130.python-l...@python.org, Ben Finney b...@benfinney.id.au wrote: Roy Smith r...@panix.com writes: Stefan Behnel stefan...@behnel.de wrote: And I don't really see why you would consider fabric a dependency that keeps you from switching to Py3.

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

2014-05-26 Thread Albert-Jan Roskam
Original Message - From: Terry Reedy tjre...@udel.edu To: python-list@python.org Cc: Sent: Sunday, May 25, 2014 11:49 PM Subject: Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found On 5/25/2014 1:40 PM, Nagy László Zsolt wrote:  

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

2014-05-26 Thread Nagy László Zsolt
Strange thing is that win32serviceutil.py is part of the pywin32 distribution, so I guess I should be able to import it, right? Make sure you have a pywin32 that matches ???. Matching includes python version and bitness. In addition, c:\python27\DLLs should also be on your %PATH%: setx

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

2014-05-26 Thread Tim Golden
On 26/05/2014 14:24, Nagy László Zsolt wrote: Strange thing is that win32serviceutil.py is part of the pywin32 distribution, so I guess I should be able to import it, right? Make sure you have a pywin32 that matches ???. Matching includes python version and bitness. In addition,

Re: Hello and sorry for disturbing !

2014-05-26 Thread Mark Lawrence
On 26/05/2014 10:27, Radu Ioan Barbos wrote: Greetings from Romania,sorry for my english,i just wanted to ask you if i need any other software/program beside the one software from the next pagehttps://www.python.org/downloads/ https://www.python.org/downloads/ or is it enough the software on

Verify JSON Data

2014-05-26 Thread gaurangnshah
Hi Guys, Would someone let me know how to verify JSON data in python. There are so many modules available to verify XML file, however i didn't find any good module to verify JSON Data. After searching on the internet i came across JSON module, however it only coverts the JSON data to

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

2014-05-26 Thread cjgohlke
On Monday, May 26, 2014 6:32:19 AM UTC-7, Tim Golden wrote: On 26/05/2014 14:24, Nagy L�szl� Zsolt wrote: Strange thing is that win32serviceutil.py is part of the pywin32 distribution, so I guess I should be able to import it, right? Make sure you have a pywin32 that

Re: confused about the different built-in functions in Python

2014-05-26 Thread Deb Wyatt
snip On 5/25/14 7:55 PM, Deb Wyatt wrote: I am confused about how various built-in functions are called. Some are called with dot notation snip How do you know/remember which way to call them? TIA, Deb in WA, USA It can be confusing. Generally, built-in functions (like sum, len,

Re: Verify JSON Data

2014-05-26 Thread Roy Smith
In article e26d3f14-ac97-4abd-bdfc-699d9ed21...@googlegroups.com, gaurangns...@gmail.com wrote: Hi Guys, Would someone let me know how to verify JSON data in python. There are so many modules available to verify XML file, however i didn't find any good module to verify JSON Data.

Re: Verify JSON Data

2014-05-26 Thread Burak Arslan
On 26/05/14 16:26, gaurangns...@gmail.com wrote: Hi Guys, Would someone let me know how to verify JSON data in python. There are so many modules available to verify XML file, however i didn't find any good module to verify JSON Data. Hi, Spyne re-implements (a useful subset of) Xml Schema

Re: Verify JSON Data

2014-05-26 Thread Gene Heskett
On Monday 26 May 2014 11:19:53 Roy Smith did opine And Gene did reply: In article e26d3f14-ac97-4abd-bdfc-699d9ed21...@googlegroups.com, gaurangns...@gmail.com wrote: Hi Guys, Would someone let me know how to verify JSON data in python. There are so many modules available to verify

Re: Verify JSON Data

2014-05-26 Thread Denis McMahon
On Mon, 26 May 2014 07:26:20 -0700, gaurangnshah wrote: Is there any module through which i can verify JSON file like DOM or Object oriented way. ( i.e. data.key) Where is the json data coming from? What do you mean by verify? https://docs.python.org/2/library/json.html#encoders-and-decoders

Re: Verify JSON Data

2014-05-26 Thread Chris Angelico
On Tue, May 27, 2014 at 1:37 AM, Gene Heskett ghesk...@shentel.net wrote: Just for SG, and without checking the version numbers of anything, this may not be all that bulletproof a test: gene@coyote:~$ echo '[1, 2, 3]' | json_xs -t null 2/dev/null; echo $? 127 gene@coyote:~$ echo '[1; 2, 3]'

Re: Verify JSON Data

2014-05-26 Thread Roy Smith
In article mailman.10347.1401119046.18130.python-l...@python.org, Gene Heskett ghesk...@shentel.net wrote: $ echo '[1, 2, 3]' | json_xs -t null 2/dev/null; echo $? 0 $ echo '[1; 2, 3]' | json_xs -t null 2/dev/null; echo $? 255 gene@coyote:~$ echo '[1, 2, 3]' | json_xs -t null

Re: Verify JSON Data

2014-05-26 Thread Chris Angelico
On Tue, May 27, 2014 at 1:55 AM, Roy Smith r...@panix.com wrote: In article mailman.10347.1401119046.18130.python-l...@python.org, Gene Heskett ghesk...@shentel.net wrote: $ echo '[1, 2, 3]' | json_xs -t null 2/dev/null; echo $? 0 $ echo '[1; 2, 3]' | json_xs -t null 2/dev/null; echo $?

Re: Verify JSON Data

2014-05-26 Thread Chris Angelico
On Tue, May 27, 2014 at 1:19 AM, Roy Smith r...@panix.com wrote: Python comes with a built-in json module. Just use json.load() or json.loads() to parse your JSON data. The first call reads from a string, the second on from a file, but in all other ways, they're identical. Minor nit-pick:

Re: Verify JSON Data

2014-05-26 Thread Gene Heskett
On Monday 26 May 2014 11:55:29 Roy Smith did opine And Gene did reply: In article mailman.10347.1401119046.18130.python-l...@python.org, Gene Heskett ghesk...@shentel.net wrote: $ echo '[1, 2, 3]' | json_xs -t null 2/dev/null; echo $? 0 $ echo '[1; 2, 3]' | json_xs -t null

Re: Verify JSON Data

2014-05-26 Thread Gene Heskett
On Monday 26 May 2014 11:58:06 Chris Angelico did opine And Gene did reply: On Tue, May 27, 2014 at 1:37 AM, Gene Heskett ghesk...@shentel.net wrote: Just for SG, and without checking the version numbers of anything, this may not be all that bulletproof a test: gene@coyote:~$ echo '[1,

Re: Python is horribly slow compared to bash!!

2014-05-26 Thread Johannes Bauer
On 22.05.2014 15:43, wxjmfa...@gmail.com wrote: I can take the same application and replace 'z' by ..., and ... No, I do not win :-( . Python fails. That's nothing. I can make an application a TOUSAND times slower by changing the constant 1 to a 2. Python is such utter garbage! import time

Re: Send commands to USB device in Python

2014-05-26 Thread andre . miras
Hi, I saw your thread on SourceFourge (http://sourceforge.net/p/pyusb/mailman/message/31969943/), but I don't have an account. I also have MTI RU-824 reader. I sniffed the USB communication in the Windows demo program and I saw that the header should be written backward. So rather than: HEADER

Re: Verify JSON Data

2014-05-26 Thread Grant Edwards
On 2014-05-26, gaurangns...@gmail.com gaurangns...@gmail.com wrote: Would someone let me know how to verify JSON data in python. Parse the file into a data structure with whatever parser you like, then write a program to go thorugh the data structure and verify it. There are so many modules

Re: confused about the different built-in functions in Python

2014-05-26 Thread Terry Reedy
On 5/26/2014 11:15 AM, Deb Wyatt wrote: snip On 5/25/14 7:55 PM, Deb Wyatt wrote: I am confused about how various built-in functions are called. Some are called with dot notation snip How do you know/remember which way to call them? It can be confusing. Generally, built-in functions

Re: confused about the different built-in functions in Python

2014-05-26 Thread Marko Rauhamaa
Terry Reedy tjre...@udel.edu: Part of the answer is Python's history. Up to about 2.1, most built-in types did not have methods, though I know lists did. Ints and strings did not, or chr and ord might have been int.chr() and str.ord(). (The current string methods were originally functions in

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found [SOLVED]

2014-05-26 Thread Nagy László Zsolt
Python 3.4 does not run any bdist_wininst postinstall scripts. Try to run `C:\Python34\python.exe C:\Python34\Scripts\pywin32_postinstall.py -install` manually from an elevated command prompt. Christoph C:\C:\Python34\python.exe C:\Python34\Scripts\pywin32_postinstall.py -install Copied

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

2014-05-26 Thread Nagy László Zsolt
Python 3.4 does not run any bdist_wininst postinstall scripts. Try to run `C:\Python34\python.exe C:\Python34\Scripts\pywin32_postinstall.py -install` manually from an elevated command prompt. Much better when ran as an administrator: C:\Python\Projects\testC:\Python34\python.exe

Re: confused about the different built-in functions in Python

2014-05-26 Thread Christian Heimes
On 26.05.2014 21:00, Marko Rauhamaa wrote: Terry Reedy tjre...@udel.edu: Part of the answer is Python's history. Up to about 2.1, most built-in types did not have methods, though I know lists did. Ints and strings did not, or chr and ord might have been int.chr() and str.ord(). (The current

Re: confused about the different built-in functions in Python

2014-05-26 Thread Marko Rauhamaa
Christian Heimes christ...@python.org: Python creates a new bound method object every time. A bound method object is a callable object that keeps a strong reference to the function, class and object. The bound method object adds the object as first argument to the function (aka 'self'). I

Re: confused about the different built-in functions in Python

2014-05-26 Thread Marko Rauhamaa
Marko Rauhamaa ma...@pacujo.net: Christian Heimes christ...@python.org: Python creates a new bound method object every time. A bound method object is a callable object that keeps a strong reference to the function, class and object. The bound method object adds the object as first argument

Re: confused about the different built-in functions in Python

2014-05-26 Thread Gregory Ewing
Marko Rauhamaa wrote: IOW, you can override a method with setattr() but you cannot delete a method with delattr(). Actually, you can -- but you need to delete it from the class, not the instance: delattr(X, 'f') x.f() Traceback (most recent call last): File stdin, line 1, in module

Command prompt not shown when running Python script with subprocess on Windows

2014-05-26 Thread ps16thypresenceisfullnessofjoy
I have written a Python script with a wxPython GUI that uses subprocess.Popen to open a list of files that the user provides. One of my users would like to be able to run a Python script with my application. The Python script he is trying to run uses the command line and gets keyboard input

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Steven D'Aprano
On Mon, 26 May 2014 12:17:10 +0100, Mark Lawrence wrote: On 26/05/2014 07:31, Devin Jeanpierre wrote: On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll

Re: confused about the different built-in functions in Python

2014-05-26 Thread Steven D'Aprano
On Mon, 26 May 2014 23:58:37 +0300, Marko Rauhamaa wrote: Marko Rauhamaa ma...@pacujo.net: Christian Heimes christ...@python.org: Python creates a new bound method object every time. A bound method object is a callable object that keeps a strong reference to the function, class and

Re: confused about the different built-in functions in Python

2014-05-26 Thread Terry Reedy
On 5/26/2014 4:32 PM, Marko Rauhamaa wrote: I stand corrected. I had thought the trampoline (bound method object) was created once and for all. Assuming that bound methods are immutable, this is an implementation detail, either way. However, it is common for a specific method to be called

Re: Build tools, and Python 3 dependencies (was: How keep Python 3 moving forward)

2014-05-26 Thread Steven D'Aprano
On Mon, 26 May 2014 08:44:51 -0400, Roy Smith wrote: That makes even less sense. The build system runs under whatever version of Python it needs, and your code runs under whatever version of Python you like. The two don't affect each other at run time, and don't affect each other's testing

Re: Build tools, and Python 3 dependencies (was: How keep Python 3 moving forward)

2014-05-26 Thread Steven D'Aprano
Oh, I was a bit trigger-happy with my earlier post. On Mon, 26 May 2014 08:44:51 -0400, Roy Smith wrote about his build system and production code: The are tightly integrated, and share code. [...] When you start working with large systems, reducing complexity becomes important. Every

Re: Build tools, and Python 3 dependencies (was: How keep Python 3 moving forward)

2014-05-26 Thread Rustom Mody
On Tuesday, May 27, 2014 8:29:13 AM UTC+5:30, Steven D'Aprano wrote: On Mon, 26 May 2014 08:44:51 -0400, Roy Smith wrote: That makes even less sense. The build system runs under whatever version of Python it needs, and your code runs under whatever version of Python you like. The

Re: Verify JSON Data

2014-05-26 Thread Rustom Mody
On Tuesday, May 27, 2014 12:05:58 AM UTC+5:30, Grant Edwards wrote: On 2014-05-26, gaurang shah wrote: Would someone let me know how to verify JSON data in python. Parse the file into a data structure with whatever parser you like, then write a program to go thorugh the data structure and

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Eric Snow
Eric Snow added the comment: Okay, I didn't read closely enough. :) It may be worth updating the title. FWIW, the name module_from_spec confused me at first because my brain interpreted that as load_from_spec. Keeping the name and purpose more focused might be helpful. I have comments

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Eric Snow
Eric Snow added the comment: How about this replacement for direct use of Loader.load_module(): # in importlib.util def load(spec_or_name, /, **kwargs): # or load_from_spec if isinstance(spec_or_name, str): name = spec_or_name if not kwargs: raise

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Berker Peksag
Berker Peksag added the comment: See issue 18879 for more information about the change. -- nosy: +berker.peksag, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21579 ___

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2014-05-26 Thread Марк Коренберг
Марк Коренберг added the comment: Is issue 21579 fixed in that bug? too many letters..sorry... -- nosy: +mmarkk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18879 ___

[issue8743] set() operators don't work with collections.Set instances

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd8b5b5b6356 by Raymond Hettinger in branch '3.4': Issue 8743: Improve interoperability between sets and the collections.Set abstract base class. http://hg.python.org/cpython/rev/cd8b5b5b6356 -- ___

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba84d1e9a742 by Raymond Hettinger in branch '2.7': Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types. http://hg.python.org/cpython/rev/ba84d1e9a742 -- nosy: +python-dev

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 510c8dc38749 by Raymond Hettinger in branch '3.4': Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types. http://hg.python.org/cpython/rev/510c8dc38749 --

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21481 ___

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - bob.ippolito nosy: +bob.ippolito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13212 ___

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Bob Ippolito
Bob Ippolito added the comment: As Chris Rebert mentioned, the JSON standards have adopted this (unsurprising) behavior. Ruby hasn't, and I doubt Crockford has, but I think they're in the minority at this point. JavaScript's own JSON implementation works the same way json/simplejson does.

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Bob Ippolito
Bob Ippolito added the comment: In other words, I would consider this to be fixed by the documentation change made elsewhere. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13212 ___

[issue8743] set() operators don't work with collections.Set instances

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8743 ___

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Jan-Philip Gehrcke
Jan-Philip Gehrcke added the comment: I have updated the patch with a cross-reference to the sorted() built-in, which explains the arguments. W.r.t. to Éric's suggestion: the sorted() doc refers to the sorting howto in the wiki. Now everything is connected. -- Added file:

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21575 ___

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +gpolo, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21580 ___ ___

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21579 ___ ___

[issue20664] _findLib_crle and _get_soname broken on latest SunOS 5.11

2014-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20664 ___

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21560 ___ ___ Python-bugs-list

[issue13355] random.triangular error when low = high=mode

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note the catch on 2.7. triangular(10, 10.0) returns 10.0, but triangular(10, 10.0, 10.0) returns 10. If then you divide by the result... I proposed change return low to return low + 0.0. -- ___ Python tracker

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In any case this trick didn't work on Windows. And it can't work on Linux too when use new O_TMPFILE flag (issue21515). -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21579 ___ ___ Python-bugs-list

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Марк Коренберг
Марк Коренберг added the comment: Yes, but O_TMPFILE should be set ONLY when used with TemporaryFile, not with NamedTemporaryFile. My problem refer only NamedTemporaryFile. -- ___ Python tracker rep...@bugs.python.org

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-05-26 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a simple test case. -- keywords: +patch nosy: +berker.peksag stage: needs patch - patch review Added file: http://bugs.python.org/file35366/issue21578.diff ___ Python tracker rep...@bugs.python.org

[issue21054] Improve indexing of syntax symbols

2014-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: All the current dependences are currently fixed. Are you planning to add more in the future or can this issue be closed? -- assignee: - docs@python components: +Documentation nosy: +docs@python, ezio.melotti type: - enhancement

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2014-05-26 Thread Sunny K
Sunny K added the comment: Hi Stefan, I've added a new patch which only adds _fields, combining parts from my earlier patch and Andrew's (his patch does not account for visible unnamed fields). -- Added file: http://bugs.python.org/file35367/structseq_fields.patch

[issue21072] Python docs and downloads not available for Egypt

2014-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: IIUC there was a similar issue from China, and on the old site we fixed it by adding http://legacy.python.org/getit/. I don't know what was made to this page to make it work from China and if it still exists on the new website, but maybe the same trick could be

[issue21077] Turtle Circle Speed 0

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21077 ___

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo, pitrou, serhiy.storchaka type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21310 ___

[issue21429] Input.output error with multiprocessing

2014-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide more information about the error (e.g. the relevant piece of code where the error generates, if you can reproduce it every time or if it's sporadic, a minimal piece of code that can reproduce the same issue, etc.)? I would also suggest to report

[issue21434] python -3 documentation is outdated

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +terry.reedy stage: patch review - commit review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21434 ___

[issue21445] Some asserts in test_filecmp have the wrong messages

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21445 ___ ___

[issue21515] Use Linux O_TMPFILE flag in tempfile.TemporaryFile?

2014-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21515 ___ ___

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue20074. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21310 ___ ___ Python-bugs-list mailing

[issue19980] Improve help('non-topic') response

2014-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19980 ___ ___ Python-bugs-list mailing list

[issue21072] Python docs and downloads not available for Egypt

2014-05-26 Thread Leo Butcher
Leo Butcher added the comment: Still not working, they both timeout also the docs subdomain is the same On Mon, May 26, 2014 at 12:19 PM, Ezio Melotti rep...@bugs.python.orgwrote: Ezio Melotti added the comment: IIUC there was a similar issue from China, and on the old site we fixed it by

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: First, about breaking up _SpecMethods: that was entirely on purpose. =) I honestly have found _SpecMethods a bit of a pain to work with because at every place where I have a spec object and I need to operate on it I end up having to wrap it and then call a

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

2014-05-26 Thread Ian Cordasco
Ian Cordasco added the comment: Per discussion on twitter (https://twitter.com/merwok_/status/468518605135835136) I'm bumping this to make sure it's merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10510

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: I think that's the wrong abstraction(it would be fine in a third-party library, though, that's trying to smooth over 3.3-3.4 transitions). Since importlib.util.find_spec() always returns a spec, then you want something more like:: def load(spec): loader

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Consider dropping importlib.abc.Loader.create_module() ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21235 ___

[issue21581] Consider dropping importlib.abc.Loader.create_module()

2014-05-26 Thread Brett Cannon
New submission from Brett Cannon: As Armin Ronacher pointed out, it's a bit odd having the importlib.abc.Loader ABC have a method whose default does nothing and having the method itself be entirely optional. Might as well just drop it from the ABC and instead just make sure that

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: Opened issue #21581 to discuss Armin's point about importlib.abc.Loader.create_module() being there but not being much use since the method is entirely optional. -- ___ Python tracker rep...@bugs.python.org

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Summary for htest-26052014-34.diff and htest-26052014-27.diff 1. Adds htest for ReplaceDialog and SearchDialog 2. Removes the two canvases in TreeWidget as per code review comment. Now there is only a single ScrollableCanvas 3. Some text changes in spec

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file35369/htest-26052014-27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21477 ___

[issue21582] use the support.catpured_stdout/stderr context managers - test_asyncore

2014-05-26 Thread diana
New submission from diana: Updated test_asyncore to use the support.catpured_stdout/stderr context managers rather than try/finally blocks. -- components: Tests files: use_support_captured_test_asyncore.patch keywords: patch messages: 219162 nosy: diana priority: normal severity:

[issue21582] use support.catpured context managers - test_asyncore

2014-05-26 Thread diana
Changes by diana diana.joan.cla...@gmail.com: -- title: use the support.catpured_stdout/stderr context managers - test_asyncore - use support.catpured context managers - test_asyncore ___ Python tracker rep...@bugs.python.org

[issue21054] Improve indexing of syntax symbols

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I plan to add more. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21054 ___ ___ Python-bugs-list mailing list

[issue21434] python -3 documentation is outdated

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is documentation for the 2.7 '-3' command line option, which I presume has not changed at least since 2.7.0, rather than for 2to3, which has changed in different 3.x releases. If I am correct, the list of things -3 warns about has not changed. It might

[issue21583] use support.catpured_stderr context manager - test_logging

2014-05-26 Thread diana
New submission from diana: - Updated test_asyncore to use the support.catpured_stderr context manager - Removed unused imports -- components: Tests files: use_support_captured_stderr_test_logging.patch keywords: patch messages: 219165 nosy: diana priority: normal severity: normal

[issue19980] Improve help('non-topic') response

2014-05-26 Thread Jessica McKellar
Jessica McKellar added the comment: @BreamoreBoy, thanks for following up on this! I propose the following. help('') returns help on strings in the same way that help([]) and help({}) returns help on lists and dicts respectively, Sounds good. further help(''.method) returns help on the

[issue21583] use support.catpured_stderr context manager - test_logging

2014-05-26 Thread diana
diana added the comment: oops, typo: - Updated test_logging (not test_asyncore) to use the support.catpured_stderr context manager -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21583

  1   2   >