Re: Buffer objects

2008-09-01 Thread Terry Reedy
Tom Harris wrote: Greetings, I need a little help with buffer objects. Many Python objects export the buffer interface, or can be persuaded to create a buffer object with a buffer() call. ... It must be me but I have found the whole buffer thing difficult to understand from the docs, it

Re: Py 2.6 changes

2008-09-01 Thread Christian Heimes
[EMAIL PROTECTED] wrote: I presume it's better for me to not hold my breath while I wait CPython to be written in C99 :-) First you have to convince Microsoft to release C99 compiler ... good luck! Christian -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting an objetcs dict?

2008-09-01 Thread Bruno Desthuilliers
ssecorp a écrit : I did nce (I think). class X X.__dict__() and ngot a dict of its variables. Now i get errors doing this. what am i doing wrong? cf Wojtek's answer. -- http://mail.python.org/mailman/listinfo/python-list

Re: (in memory) database

2008-09-01 Thread M.-A. Lemburg
On 2008-08-31 15:15, mark wrote: Hi there, I need to extract data from text files (~4 GB) on this data some operations are performed like avg, max, min, group etc. The result is formated and written in some other text files (some KB). I currently think about database tools might be

Re: TkMessageBox - Using sys.exit() is a a great pain. Looking for other similar commands.

2008-09-01 Thread Guilherme Polo
On Mon, Sep 1, 2008 at 3:35 PM, [EMAIL PROTECTED] wrote: Hi, I'm using a TkMessageBox for handling some errors and displaying them through the message boxes. My code is as below: if selectedVer == strNoArchivedResults: tkMessageBox._show(Error, \

Re: enhancing/wrapping an existing instance of a duck

2008-09-01 Thread Bruno Desthuilliers
Neville Dempsey a écrit : Basically I have an existing (maybe a rather large and complicated (existing) instance) that I want to add new member to. I suppose you mean attributes ? Cheers N Hacks/attempts follow: from math import sqrt try2 duck_obj = [ i*i for i

Put the output from all my programs in one place

2008-09-01 Thread Jesse Aldridge
I want to put all the output from all of my python programs in one place. I've been trying to get this working for the last few days, but there are lots of annoying little details that are making the process quite difficult. I'm wondering if anyone can help me get this working. Currently I have

Re: The Importance of Terminology's Quality

2008-09-01 Thread Martin Gregorie
On Mon, 01 Sep 2008 12:04:05 -0700, Robert Maas, http://tinyurl.com/uh3t wrote: From: George Neuner [EMAIL PROTECTED] A friend of mine had an early 8080 micros that was programmed through the front panel using knife switches When you say knife switches, do you mean the kind that are shaped

Re: enhancing/wrapping an existing instance of a duck

2008-09-01 Thread Bruno Desthuilliers
Neville Dempsey a écrit : What do I need to add to HTMLDecorator? A simpler example: import cgi class ClassX(object): pass # ... with own __repr__ class ClassY(object): pass # ... with own __repr__ inst_x=ClassX() Why do you need to prefix your variables with 'inst_' ?

encoding

2008-09-01 Thread Gandalf
if i want to print utf-8 string i should writre: print uhello word but what happen if i want to print variable? thank you -- http://mail.python.org/mailman/listinfo/python-list

Play AVI files as cut-scene... in BGE - HOW?

2008-09-01 Thread jmdeschamps
Blender Game Engine does not seem able to just play an AVI clip file... I want to play these files as cut-scenes in a game - subprocess it to the OS, and continue on return seems a good solution - but so sorry, it's been a while since I've delved in such places... I need a refresher. Must be

Re: encoding

2008-09-01 Thread Diez B. Roggisch
Gandalf schrieb: if i want to print utf-8 string i should writre: print uhello word No, you don't. You write print uhello world.encode(utf-8) Read this: http://www.reportlab.com/i18n/python_unicode_tutorial.html but what happen if i want to print variable? Then you do print

Re: Py 2.6 changes

2008-09-01 Thread Alan G Isaac
[EMAIL PROTECTED] wrote: Now math has factorial: http://docs.python.org/dev/library/math.html#math.factorial That's rather underdocumented. Does it really attempt exact calculation for arbitrary integers?? Is there any way to request a nice fast approximation for large integers (e.g., with

Re: encoding

2008-09-01 Thread Gandalf
On Sep 1, 11:59 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote: Gandalf schrieb: if i want to print utf-8 string i should writre: print uhello word No, you don't. You write print uhello world.encode(utf-8) Read this: http://www.reportlab.com/i18n/python_unicode_tutorial.html but

Re: encoding

2008-09-01 Thread Christian Heimes
Gandalf wrote: if i want to print utf-8 string i should writre: print uhello word but what happen if i want to print variable? uhello world is *not* an utf-8 encoded string. It's a unicode string. I suggest you read http://www.joelonsoftware.com/articles/Unicode.html Christian --

Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread akineko
Hi everyone, This is a memorandum so that other people can share the info. The following methods are declared in the Tkinter Button class. tkButtonDown(), tkButtonEnter(), tkButtonInvoke(), tkButtonLeave(), tkButtonUp() However, they are not working, when you try, you will get:

Tkinter after() under VMware player

2008-09-01 Thread akineko
Hi everyone, I wrote a Tkinter program that has a blinking widget. The blinking is controlled by the after() method available in the Tkinter. It worked very nicely. However, when I tried the program with a Unix OS that is running under VMware (hosted OS), I noticed the blinking rate is greatly

Re: Py 2.6 changes

2008-09-01 Thread Steven D'Aprano
On Mon, 01 Sep 2008 12:15:53 -0700, bearophileHUGS wrote: Now math has factorial: http://docs.python.org/dev/library/math.html#math.factorial Seen how reduce() is removed from Python 3 (I know it's in itertools), and seeing that for me to write a productory() function was the first usage I

Re: Py 2.6 changes

2008-09-01 Thread bearophileHUGS
Steven D'Aprano: productory() -- I don't know that function, and googling mostly comes up with retail product searches. Do you mean product(), Darn my English, you are right, sorry, I meant a product() of course :-) Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-09-01 Thread George Neuner
On Mon, 1 Sep 2008 21:03:44 + (UTC), Martin Gregorie [EMAIL PROTECTED] wrote: On Mon, 01 Sep 2008 12:04:05 -0700, Robert Maas, http://tinyurl.com/uh3t wrote: From: George Neuner [EMAIL PROTECTED] A friend of mine had an early 8080 micros that was programmed through the front panel using

Re: Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread Guilherme Polo
On Mon, Sep 1, 2008 at 7:45 PM, akineko [EMAIL PROTECTED] wrote: Hi everyone, This is a memorandum so that other people can share the info. The following methods are declared in the Tkinter Button class. tkButtonDown(), tkButtonEnter(), tkButtonInvoke(), tkButtonLeave(), tkButtonUp()

Re: Py 2.6 changes

2008-09-01 Thread Mensanator
On Sep 1, 6:55�pm, [EMAIL PROTECTED] wrote: Steven D'Aprano: productory() -- I don't know that function, and googling mostly comes up with retail product searches. Do you mean product(), Darn my English, you are right, sorry, I meant a product() of course :-) But the name product() has

Re: Python 3.0b2 cannot map '\u12b'

2008-09-01 Thread Terry Reedy
Marc 'BlackJack' Rintsch wrote: First, thank you for the informative responses. The windows command prompt expects cp437 because that's what old DOS programs print to it. Grrr. When the interpreter runs, it opens the command prompt window with Python running, and the window closes when

Re: Py 2.6 changes

2008-09-01 Thread Mensanator
On Sep 1, 2:15�pm, [EMAIL PROTECTED] wrote: I have just re-read the list of changes in Python 2.6, it's huge, there are tons of changes and improvements, I'm really impressed:http://docs.python.org/dev/whatsnew/2.6.html I'll need many days to learn all those changes! I can see it fixes

Re: Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread akineko
On Sep 1, 5:52 pm, Guilherme Polo [EMAIL PROTECTED] wrote: Are you trying to simulate clicks ? You should be doing it using event_generate, more below. Actually, I was trying to implement a sticky button. (Button Release is done later by another event) I already tried event_generate. It

Numeric literal syntax (was: Py 2.6 changes)

2008-09-01 Thread Ben Finney
[EMAIL PROTECTED] writes: For Python 2.7/3.1 I'd now like to write a PEP regarding the underscores into the number literals, like: 0b_0101_, 268_435_456 etc. +1 on such a capability. -1 on underscore as the separator. When you proposed this last year, the counter-proposal was made

Re: Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread Guilherme Polo
On Mon, Sep 1, 2008 at 10:09 PM, akineko [EMAIL PROTECTED] wrote: On Sep 1, 5:52 pm, Guilherme Polo [EMAIL PROTECTED] wrote: Are you trying to simulate clicks ? You should be doing it using event_generate, more below. Actually, I was trying to implement a sticky button. (Button Release is

Re: Numeric literal syntax (was: Py 2.6 changes)

2008-09-01 Thread bearophileHUGS
Ben Finney: I don't see any good reason (other than your familiarity with the D language) to use underscores for this purpose, and much more reason (readability, consistency, fewer arbitrary differences in syntax, perhaps simpler implementation) to use whitespace just as with string literals.

Re: Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread akineko
On Sep 1, 6:34 pm, Guilherme Polo [EMAIL PROTECTED] wrote: This is an illusion you have, calling those methods are not the way for explicitly controlling button's behavior, not more than generating proper events. The explicit way is to not use a button, instead (ab)use Canvas. Some of my

Re: (in memory) database

2008-09-01 Thread Zentrader
On Ubuntu you want to install something like python-sqlite (a search for python should turn up everything). There are 2 parts to this, SQLite and the python bindings to SQLite. So you seem to have SQLite installed but not the Python bindings. Also, on some systems you have to have python-sqlite

Re: Processes in Linux from Python

2008-09-01 Thread Derek Martin
On Mon, Sep 01, 2008 at 08:40:42AM +0200, Diez B. Roggisch wrote: Johny schrieb: To get a number of the http processes running on my Linux( Debia box) I use ps -ef | grep [h]ttpd | wc -l [...] The shell does the exact same thing. And by the way: i think you miss a grep -v grep Indeed

Re: Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread Guilherme Polo
On Mon, Sep 1, 2008 at 11:01 PM, akineko [EMAIL PROTECTED] wrote: On Sep 1, 6:34 pm, Guilherme Polo [EMAIL PROTECTED] wrote: This is an illusion you have, calling those methods are not the way for explicitly controlling button's behavior, not more than generating proper events. The explicit

python mechanize/libxml2dom question

2008-09-01 Thread bruce
hi... i've got the following situation, with the following test url: http://schedule.psu.edu/soc/fall/Alloz/a-c/acctg.html#;. i can generate a list of the tables i want for the courses on the page. however, when i try to create the xpath query, and plug it into the xpath within python, i'm

python mechanize/libxml2dom question

2008-09-01 Thread bruce
hi... i've got the following situation, with the following test url: http://schedule.psu.edu/soc/fall/Alloz/a-c/acctg.html#;. i can generate a list of the tables i want for the courses on the page. however, when i try to create the xpath query, and plug it into the xpath within python, i'm

Re: Tkinter: tkButtonDown, tkButtonEnter, tkButtonInvoke, tkButtonLeave, tkButtonUp

2008-09-01 Thread akineko
On Sep 1, 8:28 pm, Guilherme Polo [EMAIL PROTECTED] wrote: Can you clarify what is this sticky behavior ? Are you referring to a toggle button ? If yes, then you might be after a simple Checkbutton: checkbutton = Tkinter.Checkbutton(indicatoron=False, text='test') I wouldn't spend days to

Re: Numeric literal syntax

2008-09-01 Thread Ben Finney
[EMAIL PROTECTED] writes: Ben Finney: I don't see any good reason (other than your familiarity with the D language) to use underscores for this purpose, and much more reason (readability, consistency, fewer arbitrary differences in syntax, perhaps simpler implementation) to use

Re: How to print first(national) char from unicode string encoded inutf-8?

2008-09-01 Thread Mark Tolonen
Marco Bizzarri [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, Sep 1, 2008 at 3:25 PM, [EMAIL PROTECTED] wrote: When I do ${urllib.unquote(c.user.firstName)} without encoding to latin-1 I got different chars than I will get: no Łukasz but Å ukasz --

Re: Numeric literal syntax

2008-09-01 Thread Fredrik Lundh
Ben Finney wrote: I would argue that the precedent, already within Python, for using a space to separate pieces of a string literal, is more important than precedents from other programming languages. that precedent also tells us that the whitespace approach is a common source of errors.

Re: Process Killed

2008-09-01 Thread dieter h
On Sat, Aug 30, 2008 at 11:07 AM, Eric Wertman [EMAIL PROTECTED] wrote: I'm doing some simple file manipulation work and the process gets Killed everytime I run it. No traceback, no segfault... just the word Killed in the bash shell and the process ends. The first few batch runs would only

python XPATH question - mechanize/libxml2dom

2008-09-01 Thread bruce
hi... i can use an xpath query to create a node from an html/dom representation. however, if i have a node, is there a way to generate an xpath query from the node. in testing with firefox/dom inspector, i can use ancestor::*, but i can't determine where/how to implement this using

[issue3744] make altinstall installs pydoc instead of pydoc3.0

2008-09-01 Thread Uli Kunitz
New submission from Uli Kunitz [EMAIL PROTECTED]: make altinstall in Python3.0-b3 doesn't install pydoc as pydoc3.0. Renaming pydoc to pydoc3.0 doesn't create any issues. -- components: Installation messages: 72219 nosy: kune severity: normal status: open title: make altinstall installs

[issue3745] _sha256 et al. encode to UTF-8 by default

2008-09-01 Thread Hagen Fürstenau
New submission from Hagen Fürstenau [EMAIL PROTECTED]: Whereas openssl-based _hashlib refuses to accept unencoded strings: _hashlib.openssl_sha256(\xff) Traceback (most recent call last): File stdin, line 1, in module TypeError: object supporting the buffer API required the _sha256 version

[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.

2008-09-01 Thread Graham Higgins
New submission from Graham Higgins [EMAIL PROTECTED]: It seems Sphinx creates duplicate ids for span elements in Permalink headers. This causes Sphinx-generated HTML to fail W3C validation. Example: http://docs.python.org/dev/tutorial/interpreter.html where id2 appears twice. --

[issue3747] Fix caching in ABCMeta.__subclasscheck__

2008-09-01 Thread Nick Coghlan
New submission from Nick Coghlan [EMAIL PROTECTED]: Two of the return paths from ABCMeta.__subclasscheck__ store the subclass being checked in _abc_registry instead of _abc_cache. The attached patch corrects the issue. -- files: meta_subclass_fix.diff keywords: needs review, patch,

[issue3747] Fix caching in ABCMeta.__subclasscheck__

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- priority: critical - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3747 ___ ___

[issue3746] Sphinx producing duplicate id attributes, HTML fails validation.

2008-09-01 Thread Graham Higgins
Graham Higgins [EMAIL PROTECTED] added the comment: Um, hang fire. I need to do more analysis in order to reproduce the problem properly. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3746 ___

[issue3160] Building a Win32 binary installer crashes

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Hi Viktor I believe no installer was released for beta3 because Martin von Löwis was on holidays and couldn't handle it. Now we are in release candidate phase, the patch needs another reviewer though. ___

[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Is adding the double-quotes enough to solve the problem ? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3719 ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: I found further PEP 8 non-compliances in the multiprocessing API while working on a patch for issue 3589, mainly in the area of function names that start with a capital letter, making them look like classes when they definitely are not. After

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto [EMAIL PROTECTED]: As title, platform.architecture() prints vogus messege. import platform platform.architecture() 指定されたパスが見つかりません。 ('32bit', 'WindowsPE') It says speicied path is not found. -- components: Library (Lib) messages: 72227 nosy:

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto [EMAIL PROTECTED]: -- keywords: +needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___ ___ Python-bugs-list

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch attached that removes the misleading convenience functions, replacing them with explicit imports of the appropriate names. The patch also adds docstrings to some of the original class definitions that were missing them. No changes were

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Benjamin's patch was applied in r65982 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: This difference between trunk and py3k would go down to this. import os os.popen(r'file e:\python-dev\py3k\PC\VC6\python_d.exe 2 /dev/null') trunk prints nothing, but py3k prints that message. I don't know which is popen's correct

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The call to _syscmd_file() should be avoided on windows platforms: - the file program does not exist - the stderr is redirected to /dev/null, which does not necessarily exists! On my machine, there is a c:\dev directory. Now it contains

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch added that removes the incorrect Py3k warnings from the threading module (also restores the methods to the same __name__ attributes as they had in 2.5). Added file:

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: I think it's better to disable that function in the same way as done for _syscmd_uname: if sys.platform in ('dos','win32','win16','os2'): # XXX Others too ? return default BTW: I assume you are running this on win32,

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg [EMAIL PROTECTED]: -- assignee: - lemburg ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748 ___ ___ Python-bugs-list

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: I've attached patch. (trunk) BTW: I assume you are running this on win32, right ? Yes, I'm running win2k. -- assignee: lemburg - keywords: +patch versions: -Python 2.6 Added file: http://bugs.python.org/file11325/fix.patch

[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Thanks for adjusting the targets ben On Aug 31, 2008, at 9:56 PM, Benjamin Peterson [EMAIL PROTECTED] wrote: Changes by Benjamin Peterson [EMAIL PROTECTED]: -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Second patch added that removes the deprecation warnings from the Py3k version of the threading module. Added file: http://bugs.python.org/file11326/issue3352_remove_threading_deprecation_warnings.diff ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- keywords: +needs review -patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- assignee: jnoller - ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: -- keywords: +patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___ Python-bugs-list mailing list

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Interesting - in some of the other work I was doing regarding the PEP 8 compliant alternative threading API, I noticed that the threading module contains similar gems such as: def Event(*args, **kwds): return _Event(*args, **kwds) Using a

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: It turns out threading uses the odd class-that-is-not-a-class naming scheme as well: threading.Lock threading.RLock threading.Condition threading.Semaphore threading.BoundedSemaphore threading.Event threading.Timer

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Patch added to tone down note regarding the PEP 8 compliant aliases that have been added to the threading module. Added file: http://bugs.python.org/file11327/issue3352_tone_down_26_threading_docs.diff ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: And one last patch to adjust the threading docs in Py3k to reflect the fact that the 2.x API is still supported, even if it is no longer documented. Added file: http://bugs.python.org/file11328/issue3352_update_30_threading_docs.diff

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Changes by Nick Coghlan [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11324/issue3352_remove_threading_py3k_warnings.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Updated the 2.6 threading patch to also remove the warnings from the methods that are being replaced by properties. Added file: http://bugs.python.org/file11329/issue3352_remove_threading_py3k_warnings.diff

[issue3352] Deficiencies in multiprocessing/threading API

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The patches look good to me. Please apply. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3352 ___ ___

[issue3712] memoryview leaks references

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I think the patch looks good. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___

[issue3589] Misleading names for multiprocessing convenience functions

2008-09-01 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: This is why multiprocessing had them nick - the threading module does On Sep 1, 2008, at 9:07 AM, Nick Coghlan [EMAIL PROTECTED] wrote: Nick Coghlan [EMAIL PROTECTED] added the comment: Interesting - in some of the other work I was doing

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Go ahead and apply. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Looks good. Could you apply it to both trunk and the py3k branch ?! Mark it Reviewed by Marc-Andre Lemburg to keep folks happy ;-) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748

[issue3749] incrementalencoder and incrementalencoder

2008-09-01 Thread MATSUI Tetsushi
New submission from MATSUI Tetsushi [EMAIL PROTECTED]: In the codecs module section of the Library Reference, an explanation about incrementalencoder and decoder starts with incrementalencoder and incrementalencoder: (both are 'encoder's). Moreover, the corresponding class name for

[issue3683] compilation --without-threads fails

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r66099. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3683 ___

[issue3712] memoryview leaks references

2008-09-01 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___ ___ Python-bugs-list

[issue3639] segfaults calling warnings.warn() with non-string message

2008-09-01 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3639 ___ ___ Python-bugs-list

[issue3732] bdist_msi gives a deprecation warning when run with Python 2.6

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Thanks, fixed in r66100. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3732 ___

[issue3160] Building a Win32 binary installer crashes

2008-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3160 ___ ___ Python-bugs-list mailing

[issue3697] Fatal Python error: Cannot recover from stack overflow on Windows buildbots

2008-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou [EMAIL PROTECTED]: -- nosy: +ocean-city ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3697 ___ ___ Python-bugs-list mailing

[issue3602] Move test.test_suport.catch_warning() to the 'warnings' module

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I think the patch can now go in. -- keywords: -needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3602 ___

[issue2501] xml.sax.parser() doesn't terminate when given a filename

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The patch looks great. (I love enabling disabled tests!) -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2501

[issue3653] segfault calling sys.excepthook with non-Exception argument

2008-09-01 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: I think you need to clear the exception again before returning. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3653 ___

[issue3748] platform.architecture() prints bogus message on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: Thanks, fixed in r66104(trunk) and r66106(py3k) -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3748

[issue3520] New Global Module Index glitch on WinXP

2008-09-01 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed in sphinx trunk with r66107, and in the next beta/rc. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3520

[issue3548] subprocess.pipe function

2008-09-01 Thread Vincent Legoll
Vincent Legoll [EMAIL PROTECTED] added the comment: - Added shut pylint up comment for ** keyword expansion - Added Copyright license header Added file: http://bugs.python.org/file11330/pipeline.py ___ Python tracker [EMAIL PROTECTED]

[issue3750] test_bsddb3 skipped -- cannot import name test_support

2008-09-01 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: This is what I get with the current py3k branch: test_bsddb3 skipped -- cannot import name test_support In py3k test/test_support.py has been renamed to test/support.py. The fix should be simple enough :) -- assignee: jcea

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Forest Bond
New submission from Forest Bond [EMAIL PROTECTED]: Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type help, copyright, credits or license for more information. u'/foo/bar'.rpartition(u'/') (u'/foo', u'/', u'bar') '/foo/bar'.rpartition(u'/')

[issue3752] test_bsddb broken

2008-09-01 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: Since the latest bsddb merge, test_bsddb is basically broken, all tests fail with the same error (see also the buildbots): == ERROR: test_update

[issue3712] memoryview leaks references

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r66111. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3712 ___

[issue3548] subprocess.pipe function

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Vincent, GPL licenced code is incompatible with the inclusion into python. And if I am correct, you should sign a contributor agreement. Then the licence text is not necessary. -- nosy: +amaury.forgeotdarc

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: It's not failing, it's simply calling unicode.partition instead of unicode.rpartition! -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file11331/rpartition.patch

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Adding a few tests wouldn't hurt :) -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3751 ___

[issue2874] Remove use of the stat module in the stdlib

2008-09-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Deferring to 2.7/3.1 as discussed on the mailing list. -- priority: release blocker - critical versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker [EMAIL PROTECTED]

[issue3753] bytearray incompatible with bytes

2008-09-01 Thread Pyry Pakkanen
New submission from Pyry Pakkanen [EMAIL PROTECTED]: I was expecting that the API function PyArg_ParseTuple(args, y#:foo, cp, size) would accept a bytearray and implicitly convert it to bytes. Currently it throws the error: TypeError: foo() argument 1 must be bytes or read-only buffer, not

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: As indicated by other posters, this *IS A* serious issue with urllib2 as it does not do CONNECT for HTTPS through Proxy and it fails. chrisl, I verified your patch and it works properly. I made some minor changes (make a method private and changes

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Changes by Senthil [EMAIL PROTECTED]: -- components: +Library (Lib) -None versions: +Python 2.6, Python 3.0 Added file: http://bugs.python.org/file11333/issue1424152-py3k.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1424152

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-09-01 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Test issue1424152-py26-test_urllib2net.diff and issue1424152-py3k-test_urllib2net.diff patches has a dependency on Issue1251 for failure scenarios. Issue1251 deals with ssl module not support non-blocking handshakes. So, when the HTTPS environment is

<    1   2   3   >