ANN: Veusz 1.2.1 - a scientific plotting package / module

2008-11-30 Thread Jeremy Sanders
Note: the Python embedding interface is now more robust and works under windows. Veusz 1.2.1 --- Velvet Ember Under Sky Zenith - http://home.gna.org/veusz/ Veusz is Copyright (C) 2003-2008 Jeremy Sanders [EMAIL PROTECTED] Licenced under the GPL (version 2 or

Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Francesco Bochicchio
On Sat, 29 Nov 2008 12:44:14 -0800, Josh wrote: If you were a beginning programmer and willing to make an investment in steep learning curve for best returns down the road, which would you pick? Honestly, I would invest my time and energy in someting more significant than editor skills. In

Re: Pyhon (with wxPython) on Windows' cygwin: can it be done fully ?

2008-11-30 Thread Carl Banks
On Nov 29, 3:31 pm, Lie [EMAIL PROTECTED] wrote: Python's learning curve shouldn't raise with time, it should get lower so more people can join in the board. print function should give a newbie less to learn than a print statement, since statements have their own syntax (and the print

Re: end of print = lower productivity ?

2008-11-30 Thread Lie Ryan
On Sat, 2008-11-29 at 17:51 -0600, Tim Chase wrote: It's not so much ridiculous as a failure of your editor to assist you. In Vim (my editor-of-choice), I'd do something like seriously, I don't think anyone in Windows uses vim Are you just guessing, or do you have any sort of facts

Re: Is there any project whose patches are all available?

2008-11-30 Thread Lie
On Nov 28, 1:57 pm, ZelluX [EMAIL PROTECTED] wrote: Hi, all I want to write a version-tracking tool for Python projects, and need some sample projects whose even smallest modifications can be downloaded from the internet. Could you recommend some to me? Thanks for your reply When the

Re: Is there any library that can convert RGB colors to ANSI colors?

2008-11-30 Thread John Machin
On Nov 30, 4:39 pm, ZelluX [EMAIL PROTECTED] wrote: Convert RGB colors to the closest ANSI colors. For example, given RGB color FF, it should print [31m. Maybe ... but you could write it yourself quickly enough; the code is a trivial loop over a list of the RGB values of the 8 possible

a regual expression problem

2008-11-30 Thread lookon
I have a url of image, and I want to get the filename and extension of the image. How to write in python? for example, the url is http://a.b.com/aaa.jpg?version=1.1 how can I get aaa and jpg by python? -- http://mail.python.org/mailman/listinfo/python-list

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread Lie
On Nov 28, 12:28 pm, r [EMAIL PROTECTED] wrote: To think...that I would preach freedom to the slaves and be lynched for it...IS MADNESS! Not one vote for Python, not a care. I think everyone here should look deep within their self and realize the damage that has been done today! I hope

Re: Exhaustive Unit Testing

2008-11-30 Thread Roel Schroeven
Steven D'Aprano schreef: [..] Thank you for elaborate answer, Steven. I think I'm really starting to get it now. -- The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom. -- Isaac Asimov Roel Schroeven --

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread Lie
On Nov 28, 1:52 pm, [EMAIL PROTECTED] wrote: On Nov 27, 10:28 pm, r [EMAIL PROTECTED] wrote: To think...that I would preach freedom to the slaves and be lynched for it...IS MADNESS! Not one vote for Python, not a care. I think everyone here should look deep within their self and realize

Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Ant
On Nov 29, 8:44 pm, Josh [EMAIL PROTECTED] wrote: If you were a beginning programmer and willing to make an investment in steep learning curve for best returns down the road, which would you pick? Personally I'd choose Vim for the following reasons: 1) Vim is ubiquitous on Linux/Unix servers.

Re: Python surpasses Perl in popularity?

2008-11-30 Thread Stephane CHAZELAS
2008-11-30, 06:11(+00), Tam Ha: Stephane CHAZELAS wrote: There's a common confusion in this in the nature of /bin/sh. There's no standard (neither POSIX nor Unix) that specifies that /bin/sh should be any variant of the Bourne shell. Sure there is, POSIX. Or rather their Austin Group. And

Re: a regual expression problem

2008-11-30 Thread Arnaud Delobelle
lookon [EMAIL PROTECTED] writes: I have a url of image, and I want to get the filename and extension of the image. How to write in python? for example, the url is http://a.b.com/aaa.jpg?version=1.1 how can I get aaa and jpg by python? Without res: url= http://a.b.com/aaa.jpg?version=1.1;

Re: Is there any library that can convert RGB colors to ANSI colors?

2008-11-30 Thread John Machin
On Nov 30, 8:04 pm, John Machin [EMAIL PROTECTED] wrote: On Nov 30, 4:39 pm, ZelluX [EMAIL PROTECTED] wrote: Convert RGB colors to the closest ANSI colors. For example, given RGB color FF, it should print [31m. Maybe ... but you could write it yourself quickly enough; the code is a

Re: a regual expression problem

2008-11-30 Thread Arnaud Delobelle
Arnaud Delobelle [EMAIL PROTECTED] writes: lookon [EMAIL PROTECTED] writes: I have a url of image, and I want to get the filename and extension of the image. How to write in python? for example, the url is http://a.b.com/aaa.jpg?version=1.1 how can I get aaa and jpg by python? Without

Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Jeremiah Dodds
There is, as other people have pointed out, no correct answer to this question, other that use a few different editors, and settle on what you like. I personally use emacs. In fact, I use emacs for a lot more than just editing code. The reason I found myself really liking emacs was because I'm

Re: a regual expression problem

2008-11-30 Thread Jon Clements
On Nov 30, 9:10 am, lookon [EMAIL PROTECTED] wrote: I have a url of image, and I want to get the filename and extension of the image. How to write in python? for example, the url ishttp://a.b.com/aaa.jpg?version=1.1 how can I get aaa and jpg by python? Something like... from urlparse

Unofficial Phone, , the most cheap mobile phones from china , 30 kinds today

2008-11-30 Thread [EMAIL PROTECTED]
Unofficial Phone, ,the most cheap mobile phones from china ,30 kinds today http://www.unofficialphone.cn/2008/11/android-phone-cottage-sciphone-dream-g2.html http://www.unofficialphone.cn/2008/11/unofficial-phone.html http://www.unofficialphone.cn/2008/11/amanilan.html

Re: Pycon 2009

2008-11-30 Thread Jeremiah Dodds
On Sat, Nov 29, 2008 at 1:59 AM, r [EMAIL PROTECTED] wrote: do you have any suggestions where? I am not as versed as you in Usenet. -- http://mail.python.org/mailman/listinfo/python-list Try comp.lang.lisp -- http://mail.python.org/mailman/listinfo/python-list

Re: Python surpasses Perl in popularity?

2008-11-30 Thread Stephane Chazelas
2008-11-30, 06:11(+00), Tam Ha: Stephane CHAZELAS wrote: There's a common confusion in this in the nature of /bin/sh. There's no standard (neither POSIX nor Unix) that specifies that /bin/sh should be any variant of the Bourne shell. Sure there is, POSIX. [...] And on this. First, POSIX has

How to distribute a Python app together with its dependencies?

2008-11-30 Thread Alessio Pace
Hi, I have to distribute a Python application which relies on an external library, and I'm not very fluent in this kind of stuff with Python (I come from the Java world where I would have used the Maven build tool to create an assembly with dependencies of all it is needed to run the app), so I

Re: a regual expression problem

2008-11-30 Thread Roy Smith
In article [EMAIL PROTECTED], lookon [EMAIL PROTECTED] wrote: I have a url of image, and I want to get the filename and extension of the image. How to write in python? for example, the url is http://a.b.com/aaa.jpg?version=1.1 how can I get aaa and jpg by python? Despite the subject

Re: Exhaustive Unit Testing

2008-11-30 Thread James Harris
On 27 Nov, 16:32, Emanuele D'Arrigo [EMAIL PROTECTED] wrote: On Nov 27, 5:00 am, Steven D'Aprano [EMAIL PROTECTED] wrote: Refactor until your code is simple enough to unit-test effectively, then unit-test effectively. Ok, I've taken this wise suggestion on board and of course I found

Project structure - Best practices

2008-11-30 Thread Filip Gruszczyński
This is first time that I am building python application that is larger than a single module and I would like to do it right. I google it a bit, finding some stuff about not using src directory (which I have seen so many times, that I believed it be standard) and using packages. Still, there are

Re: Project structure - Best practices

2008-11-30 Thread Jean-Paul Calderone
On Sun, 30 Nov 2008 17:43:46 +0100, Filip Gruszczyński [EMAIL PROTECTED] wrote: This is first time that I am building python application that is larger than a single module and I would like to do it right. I google it a bit, finding some stuff about not using src directory (which I have seen so

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread r
The first step simply meant...within this movement...Not that there exist no other Python API's. -- http://mail.python.org/mailman/listinfo/python-list

Re: Help with capturing error

2008-11-30 Thread tekion
Yes, you are absolutely right. I had open a file earlier and when it reach end of line with no new idea; it seems to have closed the file. I am not sure if this because I am using my own class to open and read a file or just a python behavior. I plan to test this out. On another note, is there a

Re: Project structure - Best practices

2008-11-30 Thread Filip Gruszczyński
http://jcalderone.livejournal.com/39794.html That's exactly what I have read before posting here ;-) -- Filip Gruszczyński -- http://mail.python.org/mailman/listinfo/python-list

Re: hello from colombia

2008-11-30 Thread Tim Rowe
2008/11/27 fel [EMAIL PROTECTED]: that's a lot of bytes for do your own homework but thanks, I'll do it. It also included You haven't defined the issue precisely enough :-) -- Tim Rowe -- http://mail.python.org/mailman/listinfo/python-list

noob needs help

2008-11-30 Thread toveysnake
I decided that I want to learn python, and have no previous programming experience. I was reading the guide A byte of python and got to the part where you create and run the program helloworld.py I used kate to create this program and save it as helloworld.py. I then entered the command python

Re: noob needs help

2008-11-30 Thread packet
What i would use is emacs is better i think. On Sun, Nov 30, 2008 at 11:50 AM, toveysnake [EMAIL PROTECTED] wrote: I decided that I want to learn python, and have no previous programming experience. I was reading the guide A byte of python and got to the part where you create and run the

Re: noob needs help

2008-11-30 Thread Kevin Kelley
Try python documents/helloworld.py or cd documents before python helloworld.py. Kevin On Sun, Nov 30, 2008 at 11:50 AM, toveysnake [EMAIL PROTECTED] wrote: I decided that I want to learn python, and have no previous programming experience. I was reading the guide A byte of python and got to

Re: unicode and hashlib

2008-11-30 Thread Scott David Daniels
Jeff H wrote: ... decode vs encode You decode from on character set to a unicode object You encode from a unicode object to a specifed character set Pretty close: encode: Think of characters a conceptual -- you encode a character string into a bunch of bytes (unicode - bytes) in order

Re: segfault calling SSE enabled library from ctypes

2008-11-30 Thread Olivier Grisel
I found an even simpler solution: use the -mstackrealign GCC option to build the shared library. -- Olivier -- http://mail.python.org/mailman/listinfo/python-list

Re: noob needs help

2008-11-30 Thread Peter Pearson
On Sun, 30 Nov 2008 09:50:32 -0800 (PST), toveysnake wrote: [snip] I used kate to create this program and save it as helloworld.py. I then entered the command python helloworld.py into the terminal(I am using ubuntu 8.10) and I get this error: [EMAIL PROTECTED]:~$ python helloworld.py

RE multiline

2008-11-30 Thread Guy Doune
Hi, I try to figure out what gonna be the equivalent of : (.*?) For the same purpose on multiline basis. I would like completed the variable part of elements that I searching for. Example : table width=95% cellpadding=0 cellspacing=0 border=0 align=center Is the begining of the variable

Re: RE multiline

2008-11-30 Thread Diez B. Roggisch
Guy Doune schrieb: Hi, I try to figure out what gonna be the equivalent of : (.*?) For the same purpose on multiline basis. I would like completed the variable part of elements that I searching for. Example : table width=95% cellpadding=0 cellspacing=0 border=0 align=center Is the

Re: noob needs help

2008-11-30 Thread Benjamin Kaplan
On Sun, Nov 30, 2008 at 1:00 PM, packet [EMAIL PROTECTED]wrote: What i would use is emacs is better i think. Why are you telling a beginning programmer to use emacs? It takes more time to learn to use emacs (or vim) than it does to learn to program python. On Sun, Nov 30, 2008 at 11:50

Re: Project structure - Best practices

2008-11-30 Thread Aaron Watters
On Nov 30, 11:55 am, Filip Gruszczyński [EMAIL PROTECTED] wrote: http://jcalderone.livejournal.com/39794.html That's exactly what I have read before posting here ;-) -- Filip Gruszczyński I too would like to see a meatier discussion of best practices for python packagizing. I particularly

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread Aaron Brady
r, i am with you! i will back Python!!! we MUST spread Python throughout the world! sketchup is the first step, only the first step. First step? Really? AFAIK, Python is already used in: OpenOffice.Org, Blender, GIMP, Inkscape, Scribus, etc. I've never used these tools, but I heard

Re: Python surpasses Perl in popularity?

2008-11-30 Thread Sven Mascheck
In comp.unix.shell Stephane CHAZELAS wrote: The Bourne shell, as can still be found on some systems either in some non-standard place (/bin on Solaris, /usr/old/bin on HPUX) or named differently [...] What do you mean with non-standard place here? --

Do more imported objects affect performance

2008-11-30 Thread Filip Gruszczyński
I have following question: if I use from module import * instead from module import Class am I affecting performance of my program? I believe, that all those names must be stored somewhere, when they are imported and then browsed when one of them is called. So am I putting a lot of garbage to

pydoc enforcement.

2008-11-30 Thread [EMAIL PROTECTED]
I've been thinking about implementing (although no idea yet *HOW*) the following features/extension for the python compile stage and would be interested in any thoughts/comments/flames etc. Basically I'm interested adding a check to see if: 1) pydoc's are written for every function/method. 2)

Re: Project structure - Best practices

2008-11-30 Thread Martin P. Hellwig
Aaron Watters wrote: On Nov 30, 11:55 am, Filip Gruszczyński [EMAIL PROTECTED] wrote: http://jcalderone.livejournal.com/39794.html That's exactly what I have read before posting here ;-) -- Filip Gruszczyński I too would like to see a meatier discussion of best practices for python

Google App Engine Code Challenge - write a tetris playing algorithm

2008-11-30 Thread russ.au
Hi all, Here's my attempt to learn App Engine / python. It's a tetris code challenge, you write a tetris playing algorithm, and the app challenges your algorithm. You can write the algorithm in anything that can do cgi: php, asp.net, jsp, etc. I've provided a sample client that you can easily

Re: pydoc enforcement.

2008-11-30 Thread Filip Gruszczyński
Hey! If you are interested, I have written a small tool for declaring variables and attributes. It's not very sophisticated, because I have written it solely for own use. It might be useful though. You can download it from you: http://code.google.com/p/pyver/downloads/list For a small example,

Re: HELP!...Google SketchUp needs a Python API

2008-11-30 Thread r
Aaron Brady wrote: That's circular: Sketchup is the first step within the Sketchup movement. Dear God...I have entered the twilight zone! This is the Python movement(comp.lang.python)? get it? To move you must first take a step. Lest you never move. I am the BDFL of the SketchUp-Python

Re: Do more imported objects affect performance

2008-11-30 Thread MRAB
Filip Gruszczyński wrote: I have following question: if I use from module import * instead from module import Class am I affecting performance of my program? I believe, that all those names must be stored somewhere, when they are imported and then browsed when one of them is called. So am I

Re: end of print = lower productivity ?

2008-11-30 Thread Tim Roberts
Lie Ryan [EMAIL PROTECTED] wrote: On Sat, 2008-11-29 at 17:51 -0600, Tim Chase wrote: It's not so much ridiculous as a failure of your editor to assist you. In Vim (my editor-of-choice), I'd do something like seriously, I don't think anyone in Windows uses vim Are you just

Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Clay Hobbs
On Sat, 2008-11-29 at 12:44 -0800, Josh wrote: If you were a beginning programmer and willing to make an investment in steep learning curve for best returns down the road, which would you pick? I know this topic has been smashed around a bit already, but 'learning curve' always seems to

Re: pydoc enforcement.

2008-11-30 Thread r
I support any idea that supports python. You have my vote friend! -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Library to display detail hardware information

2008-11-30 Thread Chris Rebert
On Fri, Nov 28, 2008 at 7:51 AM, Hanny Wibisono [EMAIL PROTECTED] wrote: Is there any python library that display very detailed hardware information and it must run in linux environtment ? It's not Python, but you could run it using the `subprocess` module from Python:

Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Roy Smith
Clay Hobbs [EMAIL PROTECTED] wrote: The first real text editor I used was Vim, which I actually started using about a year ago. I've looked at Emacs and it just looks confusing. I've been using emacs for so many years (um let's see, it's got to be close to 25 years now; first saw it on

Re: how to find help/doc files ?

2008-11-30 Thread Gabriel Genellina
En Sat, 29 Nov 2008 19:30:50 -0200, Stef Mientki [EMAIL PROTECTED] escribió: For an IDE, I want to find the installed help files, either in the form of chm or html files. I'm specially interested in the files for: - python - wxpython - vpython but I fact I want link to all installed docs. Is

Mathematica 7 compares to other languages

2008-11-30 Thread Xah Lee
Wolfram Research's Mathematica Version 7 has just been released. See: http://www.wolfram.com/products/mathematica/index.html Among it's marketing material, it has a section on how mathematica compares to competitors. http://www.wolfram.com/products/mathematica/analysis/ And on this page, there

Re: How to distribute a Python app together with its dependencies?

2008-11-30 Thread Lev Elbert
If Python for Windows you can use Py2Exe package. It works very well in simple cases and requires a few tweaks to make it recognize some dependencies. -- http://mail.python.org/mailman/listinfo/python-list

Beautiful soup tag attributes - Dictionary?

2008-11-30 Thread killsto
The documentation says I can find attributes of tags by using it as a dictionary. Ex: product = p.findAll('dd') print product['id'] However, when I try that python thinks I am slicing it. When I print product, it works but is a list. I am pretty sure I have the latest version. Any ideas?

Re: Beautiful soup tag attributes - Dictionary?

2008-11-30 Thread Chris Rebert
On Sun, Nov 30, 2008 at 8:51 PM, killsto [EMAIL PROTECTED] wrote: The documentation says I can find attributes of tags by using it as a dictionary. Ex: product = p.findAll('dd') .findAll() produces a *list* of tags The example in the docs is: firstPTag, secondPTag = soup.findAll('p') which

Re: Confused about class relationships

2008-11-30 Thread John O'Hagan
On Sat, 29 Nov 2008, Carl Banks wrote: On Nov 26, 11:20 pm, John O'Hagan [EMAIL PROTECTED] wrote: [...] class Bar(list):         def __init__(self, a_bar, args, engine):                 list.__init__ (self, a_bar)                 self[:] = a_bar                         self.args =

incorrect line reported in traceback

2008-11-30 Thread Patrick Stinson
Is there any reason why the last item in the traceback is one frame below the top of the stack? It would be great to show the real line in my editor... -- http://mail.python.org/mailman/listinfo/python-list

Re: incorrect line reported in traceback

2008-11-30 Thread John Machin
On Dec 1, 4:47 pm, Patrick Stinson [EMAIL PROTECTED] wrote: Is there any reason why the last item in the traceback is one frame below the top of the stack? It would be great to show the real line in my editor... Maybe your anonymous [HINT!] editor is confused. Do you get the same problem when

Re: incorrect line reported in traceback

2008-11-30 Thread Patrick Stinson
No, I've embedded the interpreter and an editor in my app, which might have something to do with it. I can't run the scripts at the command line because my app provides an API to built-ins that isn't availbel in the standard interpreter. I am simply calling a python method in the script module

Re: How to distribute a Python app together with its dependencies?

2008-11-30 Thread Alessio Pace
On 1 Dic, 05:23, Lev Elbert [EMAIL PROTECTED] wrote: If Python for Windows you can use Py2Exe package. It works very well in simple cases and requires a few tweaks to make it recognize some dependencies. As I was saying above, the destination machines are all Unix. Thank you anyway for your

Re: Python surpasses Perl in popularity?

2008-11-30 Thread Stephane CHAZELAS
2008-12-1, 01:10(+01), Sven Mascheck: In comp.unix.shell Stephane CHAZELAS wrote: The Bourne shell, as can still be found on some systems either in some non-standard place (/bin on Solaris, /usr/old/bin on HPUX) or named differently [...] What do you mean with non-standard place here? It's

Re: Emacs vs. Eclipse vs. Vim

2008-11-30 Thread Paul Rudin
Clay Hobbs [EMAIL PROTECTED] writes: It has key commands with key modifiers to do simple tasks (such as moving the cursor to the left). Err - you move the cursor to the left by pressing the left arrow key (as you do with virtually every other editor), unless you've made some strange key bind

Re: Mathematica 7 compares to other languages

2008-11-30 Thread Xah Lee
On Nov 30, 7:30 pm, Xah Lee [EMAIL PROTECTED] wrote: Wolfram Research's Mathematica Version 7 has just been released. See: http://www.wolfram.com/products/mathematica/index.html Among it's marketing material, it has a section on how mathematica compares to competitors.

Cross platform desktop operations in Python

2008-11-30 Thread [EMAIL PROTECTED]
Hi I'm looking for a cross platform (Linux/Win/Mac) solution of common desktop operations like: * Getting system icon theme (icons for files, folders etc.) * Determine mimetype (better than mimetypes using mapped extension to mime) Under Unix/Linux there are freedesktop.org standards and pyxdg

[issue4468] Restore chapter enumeration in Python docs

2008-11-30 Thread Kay Schluehr
New submission from Kay Schluehr [EMAIL PROTECTED]: Request for restoring chapter enumeration in the Python docs for Python 2.6 and newer releases. In the new style Sphinx documentation for Python the enumeration of sections and subsections has been dropped. This is highly unusual for a

[issue4407] Windows Installer Error 1722 when opting for compilation at install time

2008-11-30 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thanks for the report. The problem was not with the quoting (this works fine), but that test/crashers/iter.py failed to compile. Fixed in r67448. -- resolution: - fixed status: open - closed ___

[issue4457] __import__ documentation obsolete

2008-11-30 Thread Mart Sõmermaa
Mart Sõmermaa [EMAIL PROTECTED] added the comment: Also, the examples that clarify __import__ behaviour by Nick Coghlan should be added: http://mail.python.org/pipermail/python-dev/2008-November/083735.html --- from foo.bar import baz stack top = __import__('foo.bar', globals(),

[issue4469] CVE-2008-5031 multiple integer overflows

2008-11-30 Thread Matthias Klose
New submission from Matthias Klose [EMAIL PROTECTED]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507317 needs backport of rev 61350 from the trunk. fixed in newer versions. -- components: Interpreter Core messages: 76638 nosy: doko priority: release blocker severity: normal

[issue4387] binascii b2a functions accept strings (unicode) as data

2008-11-30 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- keywords: +needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4387 ___ ___ Python-bugs-list

[issue4470] smtplib SMTP_SSL not working.

2008-11-30 Thread Lorenzo M. Catucci
New submission from Lorenzo M. Catucci [EMAIL PROTECTED]: The enclosed patch does three things: 1. enables SMTP_SSL working: the _get_socket method was setting self.sock instead of returning the socket to the caller, which did reset self.sock to None 2. replace home-grown SSLFakeFile()

[issue4471] IMAP4 missing support for starttls

2008-11-30 Thread Lorenzo M. Catucci
New submission from Lorenzo M. Catucci [EMAIL PROTECTED]: In the enclosed patch, there are three changes: 1. Support starttls on IMAP4 connections 2. Rework of the IMAP_SSL, to replace home-grown file-like methods with proper ones from ssl module's makefile(); 3. Properly shutdown sockets at

[issue4472] Is shared lib building broken on trunk?

2008-11-30 Thread Skip Montanaro
New submission from Skip Montanaro [EMAIL PROTECTED]: I have tried several different combinations of configure args on my Mac in the past couple days in a so far fruitless attempt to generate a libpython.2.7.dylib file. All it will ever generate is a .a file. I've come to the conclusion that

[issue4471] IMAP4 missing support for starttls

2008-11-30 Thread Lorenzo M. Catucci
Lorenzo M. Catucci [EMAIL PROTECTED] added the comment: the needed changes to library documentation if the patch is accepted Added file: http://bugs.python.org/file12171/imaplib.rst.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4471

[issue4473] POP3 missing support for starttls

2008-11-30 Thread Lorenzo M. Catucci
Lorenzo M. Catucci [EMAIL PROTECTED] added the comment: The needed changes to documentation if the patch gets accepted Added file: http://bugs.python.org/file12172/poplib.rst.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4473

[issue4370] warning: unknown conversion type character `z' in format

2008-11-30 Thread Akira Kitada
Akira Kitada [EMAIL PROTECTED] added the comment: Attached patch just leaves Py_GCC_ATTRIBUTE as it is now. Here is the highlight. /* * Hide GCC's format attribute from compilers if one of the following is true: * a) the compiler does not support it and not on RISC OS * b) the compiler does

[issue4370] warning: unknown conversion type character `z' in format

2008-11-30 Thread Akira Kitada
Changes by Akira Kitada [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12160/issue4370.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4370 ___

[issue4388] test_cmd_line fails on MacOS X

2008-11-30 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: conversion from UTF-32 to UCS-2 here That 'UCS-2' should be 'UTF-16', of course. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4388 ___

[issue4388] test_cmd_line fails on MacOS X

2008-11-30 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Should I open an issue for this, or am I simply misunderstanding? I think you are right. However, conversion to/from wchar_t is/was rarely used, and so are non-BMP characters; it's very likely that the problem hasn't occurred in practice

[issue4073] distutils build_scripts and install_data commands need 2to3 support

2008-11-30 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thanks for the review. Here is a revised version, addressing comments 1 and 2. Comment 3 is address by exposing all arguments to RefactoringTool as class variables in a new class Mixin2to3, from which build_py and build_scripts inherit.

[issue4073] distutils build_scripts and install_data commands need 2to3 support

2008-11-30 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11803/build_scripts.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4073 ___

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2008-11-30 Thread Mark Dickinson
New submission from Mark Dickinson [EMAIL PROTECTED]: On systems (Linux, OS X) where sizeof(wchar_t) is 4 and wchar_t arrays are usually encoded as UTF-32, it looks as though PyUnicode_FromWideChar simply truncates the 32-bit characters to 16-bits, thus giving incorrect results for characters

[issue4388] test_cmd_line fails on MacOS X

2008-11-30 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: it's very likely that the problem hasn't occurred in practice (and I doubt it would occur in 3.0 if not fixed - there are more severe problems around). Okay. So it's an issue, but not a blocker. Opened issue 4474 for this. Thanks, Martin.

[issue4469] CVE-2008-5031 multiple integer overflows

2008-11-30 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- nosy: +brett.cannon ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4469 ___ ___ Python-bugs-list mailing

[issue4468] Restore chapter enumeration in Python docs

2008-11-30 Thread Winfried Plappert
Changes by Winfried Plappert [EMAIL PROTECTED]: -- nosy: +wplappert ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4468 ___ ___ Python-bugs-list mailing

[issue4365] Add CRT version info in msvcrt module

2008-11-30 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thanks for the patch. Committed (with modifications) as r67455. Barry, I would like to apply this to both 2.6 and 3.0. Ok? -- assignee: - barry nosy: +barry, loewis priority: - release blocker

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2008-11-30 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- versions: +Python 2.6, Python 2.7, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4474 ___

[issue2306] Update What's new in 3.0

2008-11-30 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Guido... ping? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2306 ___ ___ Python-bugs-list mailing list

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-30 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Jesse, please apply so we can close this issue. -- nosy: +barry ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4449 ___

[issue4385] Py_Object_HEAD_INIT in Py3k

2008-11-30 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: I agree with MvL and MAL. We can't change Python, so this is a documentation issue. I'm lowering the priority so it doesn't block the release. -- nosy: +barry priority: release blocker - critical

[issue1683] Thread local storage and PyGILState_* mucked up by os.fork()

2008-11-30 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Since this is a Python 2.5.3 issue, I'm lowering to deferred blocker until after 3.0 and 2.6.1 are released. -- nosy: +barry priority: release blocker - deferred blocker ___ Python tracker [EMAIL

[issue4475] More verbose error message for Py_FindMethod

2008-11-30 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: As was told in http://mail.python.org/pipermail/python-dev/2008-November/083782.html some objects may print a not so nice message when an attribute is not found. I considered this was due to Py_FindMethod being so easy to use that is

[issue4407] Windows Installer Error 1722 when opting for compilation at install time

2008-11-30 Thread Eric Devolder
Eric Devolder [EMAIL PROTECTED] added the comment: Dear Martin, It's my pleasure. I'm just sorry if I misled you a bit, but as I told I haven't managed to have a full testing env yet ( although I'm close to it), so I could not check in time if it would have fixed the bug. Thanks for the great

[issue4469] CVE-2008-5031 multiple integer overflows

2008-11-30 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Lowering priority since this is not a Python 3.0 or 2.6.1 issue. -- nosy: +barry priority: release blocker - deferred blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4469

[issue4365] Add CRT version info in msvcrt module

2008-11-30 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Go for it Martin. -- resolution: - accepted versions: +Python 2.6, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4365 ___

[issue4388] test_cmd_line fails on MacOS X

2008-11-30 Thread Roumen Petrov
Roumen Petrov [EMAIL PROTECTED] added the comment: C locale (alias POSIX, ANSI_X3.4-1968) define is 7-bit char-set. It is expected mbstowcs to return error is a byte sequence contain a byte 128. After quick check into code

[issue4475] More verbose error message for Py_FindMethod

2008-11-30 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: -- versions: -Python 3.0, Python 3.1 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4475 ___ ___

[issue4472] Is shared lib building broken on trunk?

2008-11-30 Thread Akira Kitada
Akira Kitada [EMAIL PROTECTED] added the comment: OS X 10.5.5 seems to have the problem just as described, whereas there seems no problem on FreeBSD 6.3. -- components: +Build, Macintosh nosy: +akitada ___ Python tracker [EMAIL PROTECTED]

  1   2   >