FYI - wiki.python.org compromised

2013-01-07 Thread Brian Curtin
On December 28th, an unknown attacker used a previously unknown remote code exploit on http://wiki.python.org/. The attacker was able to get shell access as the "moin" user, but no other services were affected. Some time later, the attacker deleted all files owned by the "moin" user, including all

Re: How to remove ellipses from long paths in traceback?

2012-01-12 Thread Brian Curtin
On Thu, Jan 12, 2012 at 22:34, Jason Veldicott wrote: > Hi, > > Long paths in python traceback are contracted with ellipses.  eg: >   TclError: couldn't load library "C:/Python26/tcl/tk8.5/../../bin/tk85.dll" > > Is there any way to see the full path? > > Surprisingly, search didn't reveal an answ

Re: how to install lxml in window xp?

2012-01-11 Thread Brian Curtin
On Wed, Jan 11, 2012 at 23:01, Tamer Higazi wrote: > Use Linux! > Specially Gentoo Linux! Not a useful answer. -- http://mail.python.org/mailman/listinfo/python-list

Re: the slash & Windows paths

2011-12-19 Thread Brian Curtin
On Mon, Dec 19, 2011 at 16:02, Juan Declet-Barreto < juan.declet-barr...@mesaaz.gov> wrote: > All, > > ** ** > > I have a Windows-style path that I need to modify so Python functions can > find it. For example, the path > “C:\Projects\Population_Pyramids\charts\test.xls” is being interpreted a

Re: Getting a patch accepted

2011-12-19 Thread Brian Curtin
On 19-12-11 18:13, Tycho Andersen wrote: > > Hi all, > > A couple months ago I found a bug in a corner of the curses library > (http://bugs.python.org/issue13051) and filed it. Unfortunately, there > was nobody listed to cc on the noisy list, so it probably got lost in > the shuffle. (There is even

Re: PyCon US 2012 sprints

2011-12-18 Thread Brian Curtin
2011/12/17 Ricardo Bánffy : > Hi folks. > > Next March I'm planning to attend PyCon US (for the first time) and > stay for the sprints. I am not sure how they work, however. Are there > any "first-timer guide to PyCon sprints"? I don't know of any such guide, but here's what usually happens: 1. R

Re: Install Python on Windows without Start Menu icons?

2011-12-05 Thread Brian Curtin
On Fri, Dec 2, 2011 at 12:34, snorble wrote: > Is it possible to automate the Python installation on Windows using > the MSI file so it does not add a Start Menu folder? I would like to > push out Python to all of my office workstations, but I'd like for it > to be relatively silent from the user

Re: Does anyone use Python Tools for visual studio?

2011-11-01 Thread Brian Curtin
On Tue, Nov 1, 2011 at 11:57, Wei wrote: > I got several buggy things going on. > First, the view of class tree stops expanding after creating more than > two classes. > Second, after 800 lines of code the classes and methods can't be > folded. (meaning the + sign is gone) > P.S. there is no warni

Re: C API: Making a context manager

2011-10-31 Thread Brian Curtin
On Mon, Oct 31, 2011 at 13:34, Chris Kaynor wrote: > I am currently rewritting a class using the Python C API to improve > performance of it, however I have not been able to find any > documentation about how to make a context manager using the C API. > > The code I am working to produce is the fo

Re: How do I get curses to work in Python 3.2 on win-64?

2011-10-17 Thread Brian Curtin
On Sun, Oct 16, 2011 at 11:16, Jan Sundström wrote: > On 16 Okt, 06:59, Christoph Gohlke wrote: >> On Oct 15, 1:13 pm, Jan Sundström wrote: >> >> >> >> `import curses` should work. What exactly is the error message? Does >> `import curses` work outside your program/program directory? >> >> The c

Re: L.A. user group?

2011-10-06 Thread Brian Curtin
On Thu, Oct 6, 2011 at 12:24, Miki Tebeka wrote: > Greetings, > > Is there an L.A. Python user group out there? http://socal-piggies.org might work for you. They recently had a meeting in Santa Monica, and I believe many of the members are LA based. -- http://mail.python.org/mailman/listinfo/pyt

Re: Installing Python 2.6.7 on Windows

2011-09-29 Thread Brian Curtin
On Wed, Sep 28, 2011 at 19:10, Nobody wrote: > On Wed, 28 Sep 2011 15:21:25 -0700, Ned Deily wrote: > > > No, it was a deliberate decision. After a release is in security-fix > > mode only, we don't build Windows or Mac OS X installers for them. > > But you continue to offer the installers for t

Re: Installing Python 2.6.7 on Windows

2011-09-27 Thread Brian Curtin
On Tue, Sep 27, 2011 at 16:32, Wanderer wrote: > I think it is strange to release a security update but not really expect > people > to use it. We expect that people who need 2.6 but won't move to 2.7, and at the same time are vulnerable to the security issue(s), would be able to compile Python

PyCon 2012 Proposals Due October 12

2011-09-27 Thread Brian Curtin
...@python.org Brian Curtin - Publicity Coordinator - br...@python.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Installing Python 2.6.7 on Windows

2011-09-27 Thread Brian Curtin
On Tue, Sep 27, 2011 at 15:54, Wanderer wrote: > How do I install Python 2.6.7 on Windows? The Python 2.6.6 page says > > "Python 2.6.6 has been replaced by a newer security-fix only source > release of Python. Please download Python 2.6.7 instead." > > But there is no windows installer on the 2.6

Re: pyWin build 216

2011-09-23 Thread Brian Curtin
On Fri, Sep 23, 2011 at 09:25, python wrote: > I have used pyWin for several years now with out issue.   I recently > installed build 216 for python 2.7 on windows XP pro.   The program > crashes every time I exit a wxPython program and has crashed a few > other times.  I does not seem that pyWin

Re: Python bug in Windows 8--report now, or later?

2011-09-19 Thread Brian Curtin
On Sat, Sep 17, 2011 at 13:01, Kevin Walzer wrote: > I have been testing my Python application on the just-released developer > preview of Windows 8 and have noted an error: the application does not > create an app folder in the user's "application data" directory. This causes > the app to crash o

Re: Installing 2.6 on Win 7

2011-09-09 Thread Brian Curtin
On Fri, Sep 9, 2011 at 15:04, ray wrote: > > I have not found binaries for this install.  The page > http://www.python.org/download/windows/ > takes me to > http://www.python.org/download/releases/ > which goes to > http://www.python.org/download/releases/2.6.7/ > Here are Gzip and Bzip tar balls.

Re: Python Tools for Visual Studio - anyone using it?

2011-08-31 Thread Brian Curtin
On Wed, Aug 31, 2011 at 14:29, Andrew McLean wrote: > I understand that Python Tools for Visual Studio doesn't work with VS > Express, but does work with the (free) VS 2010 Shell. Does anyone know if > you can install VS Express and VS Shell on the same machine? Yes, because the shell and Expre

Re: How to build python using visual studio 2005?

2011-08-18 Thread Brian Curtin
On Wed, Aug 17, 2011 at 13:16, smith jack wrote: > anybody here have build it correctly? > how to make a msi file just as the official site did? > is there any detailed tutorial online? We're currently shipping CPython built on VS 2008, but I do know of people building with 2005. How they do it

PyCon US 2012 Survey - We need your input!

2011-08-08 Thread Brian Curtin
Hi all, As we ramp up our efforts on PyCon US 2012, we wanted to gather some information from the community on what we can do best to serve you at the March 2012 conference in Santa Clara, CA. We've put together a survey about your experiences at past PyCons as well as what your interests are in t

Re: Question- Getting Windows 64bits information Python 32bits

2011-07-07 Thread Brian Curtin
2011/7/7 António Rocha > Greetings > > I'm running Python (32b) in Windows7 (at 64bits) and I would like to know > how can I check if my machine is a 32b or 64b in Python. Is it possible? I > saw a few examples (like platform) but they only provide information about > Python not the machine. > Th

Re: Has anyone seen any updated versions of pywapi? (Python Weather API)

2011-06-05 Thread Brian Curtin
On Sun, Jun 5, 2011 at 19:27, Benjamin Schollnick < bscholln...@schollnick.net> wrote: > The Google Code site is at http://code.google.com/p/python-weather-api/ > > And it's powerful, but I don't see any updates since late 2010... Does > anyone know of a different pre-built API for accessing weat

Re: windows 7 x64 shutdown

2011-04-29 Thread Brian Curtin
On Mon, Apr 25, 2011 at 16:15, rjmccorkle wrote: > does anyone know a solution to shutting down windows 7 x64 via python > script? the win32 obviously doesn't work... something similar? > > "the win32 obviously doesn't work" -- It does. -- http://mail.python.org/mailman/listinfo/python-list

Re: who moved reload?

2011-04-07 Thread Brian Curtin
On Thu, Apr 7, 2011 at 00:45, harrismh777 wrote: > All right... somebody is sacked (er, fired) ! > > Who moved reload()? > > This kinda stuff is driving me bonkers... there was no need to move > reload() anyplace... > > ... so for those of you who haven't found out yet, if you want to reload a >

Re: Dump interpreter history?

2011-03-25 Thread Brian Curtin
On Fri, Mar 25, 2011 at 16:03, Ken D'Ambrosio wrote: > Hey, all. A co-worker asked me a question, and I've got no idea how (or > if) it can be done. Bottom line: he'd like to save off the text from an > interpreter session, his thinking being that you've already tried to get > what you want, an

Re: logging module -- better timestamp accuracy on Windows

2011-02-16 Thread Brian Curtin
On Wed, Feb 16, 2011 at 12:23, benhoyt wrote: > > > AFAIK, the Windows performance counter has long-term accuracy issues, > > so neither is perfect. Preferably we should have a timer with the long- > > term accuracy of time.time and the short-term accuracy of time.clock. > > Thanks for the tip --

Re: logging module -- better timestamp accuracy on Windows

2011-02-16 Thread Brian Curtin
On Wed, Feb 16, 2011 at 09:34, sturlamolden wrote: > On 16 Feb, 15:30, benhoyt wrote: > > > It seems to me that the logging module should use a millisecond-accurate > timestamp (time.clock) on Windows, just like the "timeit" module does. > > AFAIK, the Windows performance counter has long-term a

PyCon 2011 news - going strong, sign up today!

2011-02-09 Thread Brian Curtin
Hey python-list readers! PyCon 2011 looks like it may very well break every single record in the past - making it one of the biggest and best PyCons of all time. We've gone all out this year - including Extreme Talks, a Startup Row, amazing talks, tutorials, Poster sessions. Extreme talks: http:/

Re: Idea for removing the GIL...

2011-02-08 Thread Brian Curtin
On Tue, Feb 8, 2011 at 06:34, Vishal wrote: > Also, multiprocessing has issues on Windows (most probably because of > the way CreateProcess() functions...) Such as? -- http://mail.python.org/mailman/listinfo/python-list

PSF Sprints - Call For Applications

2011-01-27 Thread Brian Curtin
/distutils), and most recently, the PyPy winter sprint in Switzerland. If your group is interested in hosting a sprint, check out the full details of our call for applications at http://www.pythonsprints.com/cfa/ and contact us at spri...@python.org. Thanks for your time, and happy sprinting! Brian Curtin

Re: Finding the right Python executable on Windows

2011-01-25 Thread Brian Curtin
On Tue, Jan 25, 2011 at 04:25, Geoff Bache wrote: > Hi all, > > I have a Python process on Windows and would like to start a Python > subprocess using the same interpreter. I wonder how to go about this? > > First, I tried the obvious > > subprocess.Popen([ sys.executable, "subproc.py", ... ]) >

Re: Tkinter: The good, the bad, and the ugly!

2011-01-19 Thread Brian Curtin
On Wed, Jan 19, 2011 at 18:53, rantingrick wrote: > Without the car the driver is > nothing, and without the driver the car is nothing. But together, they > are a force to reckoned with. Well, unless the driver is Asian -- then > all bets are off! :-) Welcome to the auto-deletion filter. -- ht

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Brian Curtin
On Tue, Jan 18, 2011 at 13:22, rantingrick wrote: > > Thanks for offering a suggestion it was very welcome however i need to > emphasize that what i am proposing is sort of "community discussion > suggestion box". Like a "Python Suggestions" group or something. Where > any and all suggestions, ra

Re: move to end, in Python 3.2 Really?

2011-01-18 Thread Brian Curtin
On Tue, Jan 18, 2011 at 12:33, rantingrick wrote: > > On Jan 18, 11:56 am, Antoine Pitrou wrote: > > On Tue, 18 Jan 2011 09:10:48 -0800 (PST) > > > > rantingrick wrote: > > > > > Well don't get wrong i want to join in --not that i have all the > > > solutions-- > > > > Take a look athttp://docs

Re: __pycache__, one more good reason to stck with Python 2?

2011-01-17 Thread Brian Curtin
On Mon, Jan 17, 2011 at 08:31, jmfauth wrote: > As a scientist using computer tools, and not as a computer > scientist, I discovered Python long time ago (it was in its > 1.5.6 version) and I remain an happy user up to now date. > Yesterday, I was happy to download and test Python 3.2rc1. > Pytho

Re: Question regarding python2.5 migration from windows xp to windows 7

2010-10-14 Thread Brian Curtin
On Thu, Oct 14, 2010 at 01:37, python_tsp wrote: > Hi, > > We have a Python based test framework which is being used in various > projects. > > Our current environment is > Python (ver 2.5.1) > wxPython (wxPython2.8-win32-ansi-2.8.6.0-py25) > pywin32-210.win32-py2.5 > vcredist_x86.exe > pyserial-

Re: [Python-Dev] PyArg_ParseTuple

2010-10-11 Thread Brian Curtin
On Mon, Oct 11, 2010 at 07:06, Ioan Ferencik wrote: > I would like to ask where can I find more detailed info on > PyArg_ParseTuple function. > > I find the doc limited on the matter. > Mainly I am curious why the function requires an address of a pointer. > > I have issues in the following case

Re: discussion

2010-10-01 Thread Brian Curtin
On Thu, Sep 30, 2010 at 21:12, Geo_subodh wrote: > please send me the simple python code that uses input number greater > than3 digits(>3 digits) and checks whether the number is palindrome > or not. $ cat homework.py raise NotImplementedError -- http://mail.python.org/mailman/listinfo/python

Re: minimal D: need software testers

2010-09-28 Thread Brian Curtin
On Mon, Sep 27, 2010 at 10:07, Kruptein wrote: > Hey, > > I've released the second alpha for minimal-D a program I've written in > python which should make developing easier. > I need people to test the app on bugs and give ideas. > > It is written in python using the wxPython toolkit and is linu

Re: develop for Windows on GNU/Linux, using Python

2010-09-21 Thread Brian Curtin
On Tue, Sep 21, 2010 at 03:36, Lawrence D'Oliveiro wrote: > In message , Kev > Dwyer > wrote: > > > To be confident that your code is good you need to test it on a Windows > > box (we all test, right?). > > Preferably more than one. Test with Seven as well as Vista (yes, there are > still some Vi

Re: Source code for itertools

2010-08-30 Thread Brian Curtin
On Mon, Aug 30, 2010 at 22:06, vsoler wrote: > On 31 ago, 04:42, Paul Rubin wrote: > > vsoler writes: > > > I was expecting an itertools.py file, but I don't see it in your list. > > >> ./python3.1-3.1.2+20100829/Modules/itertoolsmodule.c > > > > looks promising. Lots of stdlib modules are wri

Re: looking for open source python project

2010-08-29 Thread Brian Curtin
On Sat, Aug 28, 2010 at 19:50, mo reina wrote: > looking for a python project (preferably something a bit small) that > is looking for contributors. the small bit is because i've never > worked in a team before and haven't really read source code that's > 1000s of lines long, so i'm not too sure

Re: Best practice way to open files in Python 2.6+?

2010-07-27 Thread Brian Curtin
On Tue, Jul 27, 2010 at 09:59, wrote: > Brian, > > Under Python 2.6.4 (Windows), "io.open is open" returns False. Retrieving > help() on io.open and open() reinforces that these are 2 different > implementations of open. > > My use case is reading and writing UTF-8 text files with universal newl

Re: Windows: How to detect whether a Python app/script is running in console/GUI mode?

2010-07-27 Thread Brian Curtin
On Tue, Jul 27, 2010 at 09:36, wrote: > Windows: How can I detect whether a Python app/script is running in > console/GUI mode? By app I mean a script compiled to an exe via py2exe or > similar. > > Thank you, > Malcolm > I don't remember much about py2exe, but you could check if ``os.path.split

Re: Best practice way to open files in Python 2.6+?

2010-07-27 Thread Brian Curtin
On Tue, Jul 27, 2010 at 09:33, wrote: > What is the best practice way to open files in Python 2.6+ > > It looks like there are at least 3 different ways to open files: > - built-in open() > - io.open() > - codecs.open() > > It seems like io.open() combines the best of the built-in open() and the

Re: Check in interpreter if running a debug version of python

2010-07-27 Thread Brian Curtin
On Tue, Jul 27, 2010 at 09:06, John Reid wrote: > Can I check in the interpreter if I am running a debug version of python? I > don't mean if __debug__ is set, I want to know if python was compiled in > debug mode. > > Thanks, > John. Starting with Python 2.7 and 3.2 you can do this: >>> syscon

Re: listing existing windows services with python

2010-02-15 Thread Brian Curtin
On Mon, Feb 15, 2010 at 18:17, Alf P. Steinbach wrote: > * News123: > > Hi, >> >> >> What is the best way with python to get a list of all windows services. >> >> As a start I would be glad to receive only the service names. >> >> However it would be nicer if I could get all the properties of a

Re: How to use python to register a service (an existing .exe file)

2010-02-15 Thread Brian Curtin
On Mon, Feb 15, 2010 at 18:10, News123 wrote: > Hi, > > Is there a python way to register new windows services. > > > I am aware of the > instsrv.exe program, which can be used to install services. > I could use subprocess.Popen to call > > > instsrv.exe "service_name" program.exe > > > but wonde

Re: _winreg error on open key (64bit) - proper usage of _winreg.DisableReflectionKey

2009-11-18 Thread Brian Curtin
On Tue, Nov 17, 2009 at 19:59, Mark Hammond wrote: > On 18/11/2009 6:29 AM, Randall Walls wrote: > >> I don't believe so, but it seems like I'm in a catch 22, where I need to >> _winreg.OpenKey the key first before I can pass it to >> _winreg.DisableReflectionKey, but it doesn't exist, so I can't