PyOpenGL 3.1.0 Released

2014-06-27 Thread Mike C. Fletcher
PyOpenGL 3.1.0 (final) is now available. Headline changes: * Generation of wrappers substantially more automatic and based on Khronos source-files with annotations from the Chromium/regal project * Common code-base for Python 2.6, 2.7, 3.3 and 3.4, Python 2.5 is no longer supported *

What should i do

2014-06-27 Thread suburb4nfilth
Hello I finished the codeacademy python course a week ago and my goal is to start developing websites (both back and front end) ,my question is do i start the web dev tuts and learn the holes of knoledge on the go or continue to learn python? Thank you! --

Re: Execute a python script with CGI ?

2014-06-27 Thread dandrigo
Dear all, 1/ On my windows 8, i installed apache 2.2, python 2.7. I coded a python script. I would like to execute this python script in CGI.I would like enable GET pattern only (no POST pattern). Up to now : *i edited these following lines of my apache httpd.conf:

Contouring a 2D histogram

2014-06-27 Thread Jamie Mitchell
Hi all, I have plotted a 2D histogram like so: python2.7 import netCDF4 import iris import iris.palette import numpy as np import matplotlib as mpl import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.pyplot as plt from matplotlib.colors import from_levels_and_colors

Re: What is the state of MySQL support for Python 3?

2014-06-27 Thread Egon Frerich
Am 24.06.2014 10:21, schrieb haiz...@gmail.com: Good day, I'm starting a new project from scratch so I think its finally a time to switch to the latest and greatest Python 3.4. But I'm puzzled with MySQL support for Python 3. So far the only stable library I've found it pymysql. All

Re: What should i do

2014-06-27 Thread Paul McNett
On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote: Hello I finished the codeacademy python course a week ago and my goal is to start developing websites (both back and front end) ,my question is do i start the web dev tuts and learn the holes of knoledge on the go or continue to learn

Re: print statements and profiling a function slowed performance

2014-06-27 Thread Mark Lawrence
On 27/06/2014 03:55, Steven D'Aprano wrote: On Thu, 26 Jun 2014 13:37:41 -0700, CM wrote: On Thursday, June 26, 2014 3:27:48 PM UTC-4, Mark Lawrence wrote: 3. use the logging module :) I've just never got around to it, but I guess I should. Thanks for the nudge. While using the logging

Re: Contouring a 2D histogram

2014-06-27 Thread Mark Lawrence
On 27/06/2014 13:09, Jamie Mitchell wrote: Hi all, I have plotted a 2D histogram like so: python2.7 import netCDF4 import iris import iris.palette import numpy as np import matplotlib as mpl import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.pyplot as plt from

how to build web based database performance monitoring application

2014-06-27 Thread sandhyaranimangipudi
Hi Gurus, Can you pls suggest to build a web based application to monitor sybase database with the help of python, I am new to this. -- https://mail.python.org/mailman/listinfo/python-list

Re: print statements and profiling a function slowed performance

2014-06-27 Thread Skip Montanaro
On Fri, Jun 27, 2014 at 10:55 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: Expectations don't count, measure it :) It's no contest. I have measured it (ages ago). The logging module does so many things that it's impossible for it to ever be as fast as a simple print statement. Look at the

Python reading and writing

2014-06-27 Thread aws Al-Aisafa
Why doesn't this code work? http://pastebin.com/A3Sf9WPu -- https://mail.python.org/mailman/listinfo/python-list

Re: python 3.44 float addition bug?

2014-06-27 Thread Ian Kelly
On Thu, Jun 26, 2014 at 9:24 PM, Chris Angelico ros...@gmail.com wrote: But you're right that this can be very surprising. And it's inherent to the concept of digits having more range than just high or low, so there's no way you can get this with binary floats. For an average of two numbers, I

Re: Python reading and writing

2014-06-27 Thread Peter Otten
aws Al-Aisafa wrote: Why doesn't this code work? #I want this code to write to the first file and then take the #contents of the first file and copy them to the second. from sys import argv script, file1, file2 = argv def write_to_file(fileread, filewrite): '''Writes to a

Re:how to build web based database performance monitoring application

2014-06-27 Thread Dave Angel
sandhyaranimangip...@gmail.com Wrote in message: Hi Gurus, Can you pls suggest to build a web based application to monitor sybase database with the help of python, I am new to this. You'll probably get better answers if you're more specific. What part of the assignment has you puzzled?

Re: Python reading and writing

2014-06-27 Thread aws Al-Aisafa
Thanks man. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to extract contents of inner text of html tag?

2014-06-27 Thread Jesse Adam
I don't have BeautifulSoup installed so I am unable to tell whether a) for line in all_kbd: processes one line at a time as given in the input, or do you get the clean text in single lines in a list as shown in the example in the doc

Re: How to connect Python3.4.1 to Mysql 5.1 ?

2014-06-27 Thread jaahush
I am sure you could google this but here's what I've done in the past 1) file 1 has the login info. I make it to prompt for user's password (you could hardcode the password in this file) import getpass USERNAME = yourusername DBNAME = yourdatabasename PASSWORD = getpass.getpass(Enter

Re: What should i do

2014-06-27 Thread alister
On Fri, 27 Jun 2014 08:18:24 -0700, Paul McNett wrote: On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote: Hello I finished the codeacademy python course a week ago and my goal is to start developing websites (both back and front end) ,my question is do i start the web dev tuts and learn the

Re: What should i do

2014-06-27 Thread Paul McNett
On 6/27/14, 11:12 AM, alister wrote: On Fri, 27 Jun 2014 08:18:24 -0700, Paul McNett wrote: On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote: Hello I finished the codeacademy python course a week ago and my goal is to start developing websites (both back and front end) ,my question is do i

Re: [RELEASE] fastcache

2014-06-27 Thread ptb
The 0.2 release is out! Python versions 2.6, 2.7, 3.2, 3.3, and 3.4 are now supported. On Wednesday, June 25, 2014 12:15:02 PM UTC-6, ptb wrote: Hello all, I am pleased to announce the release of fastcache v0.1. It is intended to be a drop in replacement for functools.lru_cache but

Re: What should i do

2014-06-27 Thread suburb4nfilth
Thank you for the fast response guys, what if I go with django instead of flask and is javascript hard to learn considering that I have no knoledge of any other language beside Python? -- https://mail.python.org/mailman/listinfo/python-list

Re: What should i do

2014-06-27 Thread alister
On Fri, 27 Jun 2014 12:39:49 -0700, suburb4nfilth wrote: Thank you for the fast response guys, what if I go with django instead of flask and is javascript hard to learn considering that I have no knoledge of any other language beside Python? I guess it depends on what you want it to do

Re: What should i do

2014-06-27 Thread Joel Goldstick
On Jun 27, 2014 3:42 PM, suburb4nfi...@gmail.com wrote: Thank you for the fast response guys, what if I go with django instead of flask and is javascript hard to learn considering that I have no knoledge of any other language beside Python? -- Check out jquery

Re: print statements and profiling a function slowed performance

2014-06-27 Thread Ian Kelly
On Fri, Jun 27, 2014 at 10:05 AM, Skip Montanaro s...@pobox.com wrote: On Fri, Jun 27, 2014 at 10:55 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: Expectations don't count, measure it :) It's no contest. I have measured it (ages ago). The logging module does so many things that it's

Re: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-06-27 Thread Peter Tomcsanyi
Christian Gollwitzer aurio...@gmx.de wrote in message news:loh45o$14g$1...@dont-email.me... As I said, it doesn't have a special interface, you just load it and that's it. So if you do a tk.eval(package require tkpng), your Tk.PhotoImage will magically recognize PNG. I will try it on the

Re: OT: This Swift thing

2014-06-27 Thread Albert van der Horst
In article mailman.11028.1402548495.18130.python-l...@python.org, Chris Angelico ros...@gmail.com wrote: On Thu, Jun 12, 2014 at 12:08 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: I'm just pointing out that our computational technology uses over a million times more energy

What can Nuitka do?

2014-06-27 Thread CM
(Trying again, simpler and cleaner post) Can I use Nuitka to transform a wxPython GUI application in Python that uses several 3rd party modules into a small and faster compiled-to-C executable? -- https://mail.python.org/mailman/listinfo/python-list

What can PyPy do?

2014-06-27 Thread CM
Can I use PyPy to transform a wxPython GUI application in Python that uses several 3rd party modules into a faster Python application that can be distributed as an exe? -- https://mail.python.org/mailman/listinfo/python-list

Re: multiprocessing in a while loop?

2014-06-27 Thread Jesse Adam
Could you post a) what the output looks like now (sans the logging part) b) what output do you expect In any event, this routine does not look right to me: def consume_queue(queue_name): conn = boto.connect_sqs() q = conn.get_queue(queue_name) m = q.read() while m is not None:

Re: What can Nuitka do?

2014-06-27 Thread Paul Sokolovsky
Hello, On Fri, 27 Jun 2014 16:25:02 -0700 (PDT) CM cmpyt...@gmail.com wrote: (Trying again, simpler and cleaner post) Can I use Nuitka to transform a wxPython GUI application in Python that uses several 3rd party modules into a small and faster compiled-to-C executable? Yes, you can.

Re: print statements and profiling a function slowed performance

2014-06-27 Thread Skip Montanaro
On Fri, Jun 27, 2014 at 4:35 PM, Ian Kelly ian.g.ke...@gmail.com wrote: That's got to count for something, compared to a raw print that has to wait for the I/O to finish. A raw print basically just tosses some bytes in a stdio buffer (at least in Unix-land). Stdio does whatever little it does,

Re: print statements and profiling a function slowed performance

2014-06-27 Thread Chris Angelico
On Sat, Jun 28, 2014 at 10:12 AM, Skip Montanaro s...@pobox.com wrote: threading-doesn't-always-speed-things-up-ly, y'rs, Threading is a focus of so many myths. People who don't understand it think that threads are magic pixie dust that fixes everything, or else magic pixie dust that breaks

Re: print statements and profiling a function slowed performance

2014-06-27 Thread Mark Lawrence
On 28/06/2014 01:12, Skip Montanaro wrote: On Fri, Jun 27, 2014 at 4:35 PM, Ian Kelly ian.g.ke...@gmail.com wrote: That's got to count for something, compared to a raw print that has to wait for the I/O to finish. A raw print basically just tosses some bytes in a stdio buffer (at least in

Re: What can Nuitka do?

2014-06-27 Thread Rustom Mody
On Saturday, June 28, 2014 5:14:39 AM UTC+5:30, Paul Sokolovsky wrote: Hello, On Fri, 27 Jun 2014 16:25:02 -0700 (PDT) CM wrote: (Trying again, simpler and cleaner post) Can I use Nuitka to transform a wxPython GUI application in Python that uses several 3rd party modules into a

Re: What can Nuitka do?

2014-06-27 Thread Steven D'Aprano
On Fri, 27 Jun 2014 19:10:25 -0700, Rustom Mody wrote: If no one speaks up (with hard specific data!) for the technologies you are considering (eg PyPy, Nuitka etc) then I would conclude that they are not yet ready for prime-time/ your use-case A silly conclusion. The OP's use-case is quite

Re: What can Nuitka do?

2014-06-27 Thread CM
On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: Yes, you can. So, please try that, and report how that went. We're eager to know how that would go very much. But unlike you, we don't have need to transform wxPython GUI application in Python into an executable. So, you are

Re: What can Nuitka do?

2014-06-27 Thread Steven D'Aprano
On Fri, 27 Jun 2014 20:06:36 -0700, CM wrote: On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: Yes, you can. So, please try that, and report how that went. We're eager to know how that would go very much. But unlike you, we don't have need to transform wxPython GUI

Re: how to build web based database performance monitoring application

2014-06-27 Thread sandhyaranimangipudi
In this moment we are monitoring sybase ASE database server by shell script(cron job) these data we are pushing to other database server what we call is monitoring server. After business hrs we are gathering metrics for each job/server cpu,disk i/o,memory, dbspace usages through some store

Re: What can Nuitka do?

2014-06-27 Thread Michael Torrie
On 06/27/2014 09:06 PM, CM wrote: On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: Yes, you can. So, please try that, and report how that went. We're eager to know how that would go very much. But unlike you, we don't have need to transform wxPython GUI application in

Re: What can Nuitka do?

2014-06-27 Thread CM
On Friday, June 27, 2014 11:09:11 PM UTC-4, Steven D'Aprano wrote: Having said that, I think that the OP's question is probably misguided. Thanks, Steven, for the input. It very well might be. I'll give a little more information. He or she gives the impression of expecting PyPy or

Re: What can Nuitka do?

2014-06-27 Thread Rustom Mody
On Saturday, June 28, 2014 8:58:04 AM UTC+5:30, Michael Torrie wrote: On 06/27/2014 09:06 PM, CM wrote: On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote: Yes, you can. So, please try that, and report how that went. We're eager to know how that would go very much. But

Re: What can Nuitka do?

2014-06-27 Thread CM
I'm not a Windows user, so I can't give detailed step-by-step mouse over this menu, click this button instructions, but you need to open a command line terminal. (command.com or cmd.exe, I'm not *quite* that at sea! :D Close, but I am used to using the command line in Windows.

Re: What can Nuitka do?

2014-06-27 Thread Michael Torrie
On 06/27/2014 09:44 PM, CM wrote: Additionally, in most GUI apps (although not all), the main bottleneck is usually not the programming language but the user. GUI apps tend to spend 95% of their time idling, waiting for the user. Its been a *long* time since the GUI framework itself has

Re: What can Nuitka do?

2014-06-27 Thread Rustom Mody
On Saturday, June 28, 2014 9:27:02 AM UTC+5:30, CM wrote: I'm not a Windows user, so I can't give detailed step-by-step mouse over this menu, click this button instructions, but you need to open a command line terminal. (command.com or cmd.exe, I'm not *quite* that at sea! :D

Re: What can Nuitka do?

2014-06-27 Thread Stefan Behnel
CM, 28.06.2014 05:57: Now type nuitka --recurse-all something_or_other.py and hit Enter. What happens? I did that and the message is: 'nuitka' is not recognized as an internal or external command, operable program or batch file. which makes sense because some kind of

Re: What can Nuitka do?

2014-06-27 Thread CM
On Saturday, June 28, 2014 12:23:03 AM UTC-4, Stefan Behnel wrote: There should be a folder Python27/Scripts that contains the executable programs that Python packages install. Thank you, yes, it's there. But there are two files: nuitka (I don't see an extension and don't know the file

Re: What can Nuitka do?

2014-06-27 Thread Chris Angelico
On Sat, Jun 28, 2014 at 2:14 PM, Michael Torrie torr...@gmail.com wrote: On 06/27/2014 09:44 PM, CM wrote: Additionally, in most GUI apps (although not all), the main bottleneck is usually not the programming language but the user. GUI apps tend to spend 95% of their time idling, waiting for

Re: What can Nuitka do?

2014-06-27 Thread Chris Angelico
On Sat, Jun 28, 2014 at 2:45 PM, CM cmpyt...@gmail.com wrote: On Saturday, June 28, 2014 12:23:03 AM UTC-4, Stefan Behnel wrote: There should be a folder Python27/Scripts that contains the executable programs that Python packages install. Thank you, yes, it's there. But there are two

Re: What can Nuitka do?

2014-06-27 Thread CM
Just add Scripts to path (not Scripts/nuitka), and it should run nuitka.bat. I would guess that the one without an extension is a Unix shell script of some sort; have a look at it, see if it's a text file that begins #!/bin/sh or similar. Most likely the file sizes of nuitka and

[issue19546] configparser leaks implementation detail

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: Łukasz, do you have some time to take a look at this patch? -- type: - behavior versions: +Python 3.5 Added file: http://bugs.python.org/file35791/issue19546_1.patch ___ Python tracker rep...@bugs.python.org

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: I got a failure on FreeBSD: [1/1] test_shutil test test_shutil failed -- Traceback (most recent call last): File /tank/libs/cpython/Lib/test/test_shutil.py, line 1258, in test_chown shutil.chown(os.path.basename(filename), dir_fd=dirfd) File

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-27 Thread Ned Deily
New submission from Ned Deily: The documentation for os.stat() still contains references to optional stat fields that were supported on Classic Mac OS systems but are no longer supported in Python on Mac OS X: On Mac OS systems, the following attributes may also be available:

[issue10312] intcatcher() can deadlock

2014-06-27 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10312 ___

[issue10312] intcatcher() can deadlock

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: It's still in Python 2, though. -- nosy: +Claudiu.Popa resolution: out of date - stage: resolved - status: closed - open versions: -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue4346] PyObject_CallMethod changes the exception message already set by PyObject_GetAttr

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa4b4487c7ad by Benjamin Peterson in branch '2.7': don't overwrite the error from PyObject_GetAttrString (closes #4346) http://hg.python.org/cpython/rev/aa4b4487c7ad -- nosy: +python-dev resolution: - fixed stage: patch review - resolved

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94f7cdab9f71 by Ned Deily in branch '2.7': Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. http://hg.python.org/cpython/rev/94f7cdab9f71 New changeset d130a04fa6a1 by Ned Deily in branch '3.4': Issue #21875: Remove

[issue21875] Remove vestigial references to Classic Mac OS attributes in os.stat() and os.name docs

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21875 ___

[issue4613] Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python shows no traceback

2014-06-27 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - out of date stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4613 ___

[issue10513] sqlite3.InterfaceError after commit

2014-06-27 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: needs patch - patch review versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10513 ___

[issue20562] sqlite3 returns result set with doubled first entry

2014-06-27 Thread Claudiu Popa
Claudiu Popa added the comment: issue10513 has a patch that fixes this problem as well. -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20562 ___

[issue20562] sqlite3 returns result set with doubled first entry

2014-06-27 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20562 ___ ___

[issue10721] Remove HTTP 0.9 server support

2014-06-27 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@hybridcluster.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10721 ___ ___

[issue6130] There ought to be a way for extension types to associate documentation with their tp_new or tp_init methods

2014-06-27 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, larry, ncoghlan stage: - needs patch type: - enhancement versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6130

[issue6692] asyncore kqueue support

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: Since Python 3.4 has asyncio which supports all selectors provided by the new selectors module (which includes kqueue, but also devpoll since Python 3.5), I propose to close this issue as wontfix since there is no activity since 4 years. -- nosy:

[issue19996] httplib infinite read on invalid header

2014-06-27 Thread brian yardy
brian yardy added the comment: import http.client h = http.client.HTTPConnection('http://www.einstantloan.co.uk/') h.request('GET', '/', headers={'Accept-Encoding': 'gzip'}) r = h.getresponse() hdrs = r.getheaders() body = r.read() # Hang here. curl --compressed

[issue17399] test_multiprocessing hang on Windows, non-sockets

2014-06-27 Thread brian yardy
brian yardy added the comment: All 4 or 5 times I tried on 3.2, yes. In Command Prompt, 3.2 gave same error as before, 3.3 a different error. multi-test.txt has full tracebacks.'http://www.einstantloan.co.uk/' -- nosy: +brianyardy ___ Python tracker

[issue19841] ConfigParser PEP issues

2014-06-27 Thread brian yardy
brian yardy added the comment: Do you mean PEP 8 violations? These aren’t usually enough to cause a change.'http://www.einstantloan.co.uk/' -- nosy: +brianyardy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19841

[issue21873] Tuple comparisons with NaNs are broken

2014-06-27 Thread akira
akira added the comment: It is about equality. `float('nan') != float('nan')` unlike `0 == 0`. From msg221603: If not equal, the sequences are ordered the same as their first differing elements. The result of the expression: `(a, whatever) (b, whatever)` is defined by `a b` if a and b

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: Attaching Victor and Lisha's patch in reviewable form. -- keywords: +patch Added file: http://bugs.python.org/file35792/issue14534.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534 ___ ___

[issue12815] Coverage of smtpd.py

2014-06-27 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12815 ___ ___

[issue14534] Add method to mark unittest.TestCases as do not run.

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: Victor: I've left a review on Rietveld; it should have sent you an email with it. The basic change looks good to me, but there's some cleanup that will need to happen before it can be committed, and Michael will need to confirm that this does what he was

[issue18454] distutils crashes when uploading to PyPI having only the username (no pw) defined

2014-06-27 Thread Dries Desmet
Dries Desmet added the comment: I confirm, using python 2.7 on Mac. -- nosy: +dries_desmet ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18454 ___

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: @Steve I'm assuming that this is covered by the work you're doing for 3.5 builds, am I correct? -- components: +Windows nosy: +BreamoreBoy, steve.dower versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: The latest patch looks okay to my eye, can somebody do a formal commit review please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19681

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Steve Dower
Steve Dower added the comment: Probably, but that work is not going to be checked in for a while (until we have guarantees that we'll be able to use VC14 and there's a 'go-live' version available). If this is causing problems now, it should be fixed. The patch looks fine to me, but Zachary

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9973 ___ ___ Python-bugs-list

[issue9973] Sometimes buildbot fails to cleanup working copy

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: The real simple method here would be to replace clean[-amd64].bat with a call to kill_python_d (if it exists), followed by an hg --config extensions.purge= purge --all. That ought to give as much of a guarantee of a clean slate as possible, with the added

[issue4899] doctest should support fixtures

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: I suggest this is closed as won't fix as David and Raymond are against it and Tim says he no longer understands doctest. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue5217] testExtractDir (test.test_zipfile.TestWithDirectory) fails when python built with srcdir != builddir

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably this can be closed as out of date? -- nosy: +BreamoreBoy type: - behavior versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue17399] test_multiprocessing hang on Windows, non-sockets

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is no longer a 3.x issue. 3.2 and 3.3 get security fixes only. For 3.4, test_multiprocessing is split into 4 files and all run in multiple tries. Test_multiprocessing_spawn takes a minute, but it does 264 + 20 skipped tests, including a few 'wait' tests.

[issue678264] test_resource fails when file size is limited

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: The inline patch in msg117130 has never been committed from what I can see. Can somebody review it please as I'm assuming that it's still valid. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2

[issue5217] testExtractDir (test.test_zipfile.TestWithDirectory) fails when python built with srcdir != builddir

2014-06-27 Thread Berker Peksag
Berker Peksag added the comment: Presumably this can be closed as out of date? Yes. $ mkdir objdir $ cd objdir $ .././configure $ make $ ./python -m test -v test_zipfile Ran 164 tests in 38.202s OK (skipped=1) 1 test OK. -- nosy: +berker.peksag resolution:

[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: I've failed to reproduce this using latest default on Windows 7, would someone else like to try please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Aaron Swan
New submission from Aaron Swan: On Linux Red Hat os.rename(src,dst) does nothing when src and dst files are hard-linked. It seems like the expected behavior would be the removal of the src file. This would be in keeping with the documentation that states: On Unix, if dst exists and is a

[issue10195] Memory allocation fault-injection?

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Do you folks want to pick this up again as it seems a handy thing to have in our toolbox? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue10236] Sporadic failures of test_ssl

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10236

[issue10195] Memory allocation fault-injection?

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: This feature is implemented in my external project: https://bitbucket.org/haypo/pyfailmalloc It was discussed to integrate it in Python 3.4, but I foscused my efforts on the PEP 445 (malloc API) and 454 (tracemalloc). --

[issue14060] Implement a CSP-style channel

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: @Matt are you interested in following up on this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14060

[issue21873] Tuple comparisons with NaNs are broken

2014-06-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the logic for tuple ordering is a bit weird due to rich comparisons. Each pair of elements is first checked for equality (__eq__). Only if the equality comparison returns False does it call the relevant ordering operations (such as __lt__). The

[issue5930] Transient error in multiprocessing (test_number_of_objects)

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5930

[issue20560] tkFileFilter.c: ostypeCount not initialized?

2014-06-27 Thread Zachary Ware
Zachary Ware added the comment: I'm going to go ahead and close this, since it should be fixed. Terry, if you do find that this is still an issue, please reopen. -- resolution: - fixed stage: needs patch - resolved status: pending - closed ___

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Esa Peuha
Esa Peuha added the comment: This looks like a documentation bug. Functions in module os are usually just thin wrappers around the underlying OS functions, and POSIX states that doing nothing is the correct thing to do here. (It is arguably a bug in early Unix implementations that got

[issue3620] test_smtplib is flaky

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as out of date? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3620 ___

[issue10402] sporadic test_bsddb3 failures

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: As #3892 has been closed this can also be closed. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10402 ___

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-06-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- components: +Distutils -Build, Windows nosy: +dstufft, eric.araujo -zach.ware status: languishing - open type: compile error - behavior versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue16296] Patch to fix building on Win32/64 under VS 2010

2014-06-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16296 ___ ___

[issue7885] test_distutils fails if Python built in separate directory

2014-06-27 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still an issue that needs addressing? I can't try it myself as I use Windows. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7885

[issue21856] memoryview: no overflow on large slice values (start, stop, step)

2014-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21831 was about size not being properly clamped. Here it is. -- nosy: +terry.reedy resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked

2014-06-27 Thread Aaron Swan
Aaron Swan added the comment: Although using the mv command *does* remove the src file on red hat linux, I can accept that the POSIX requirement that the source *must* be removed might not apply if source is the same as the destination file. It would be nice if the behavior was consistent,

  1   2   >