[issue6109] IDLE rendering issue with oriental characters on OSX

2009-05-26 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: IDLE has problems rendering some oriental characters on OSX. One way to reproduce this: * Start IDLE * Open the Preferences... menu * Scroll down in the list of fonts until you reach the 'Osaka' font The font just below the Osaka

[issue6110] IDLE has two Preferences... menu's on OSX

2009-05-26 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: With Python 2.7, but not 3.1 or 2.6, IDLE has two Preferences... menu's on OSX. This is on a OSX 10.5 system, with an installation of Tcl/Tk 8.4 in /Library/Frameworks. -- components: IDLE, Macintosh messages: 88332 nosy:

[issue6111] Impossible to change preferences in IDLE

2009-05-26 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: It seems to be impossible to actually change preferences in IDLE when using Python 3.1, there are no problems with 2.6, 2.7 and 3.1. How to reproduce: * Open the preferences menu * Pick a different font * Choose apply: nothing changes

[issue6111] Impossible to change preferences in IDLE

2009-05-26 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Changed into release blocker because this is a very visible and annoying issue. -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6111

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2009-05-26 Thread Robert Lehmann
Robert Lehmann lehman...@gmail.com added the comment: This only seems to be the case with the C implementation of json (_json). json.encoder.c_make_encoder = None json.dumps(OrderedDict(items)) '{one: 1, two: 2, three: 3, four: 4, five: 5}' I think the culprit is encoder_listencode_dict

[issue6107] Subprocess.Popen output fails on Windows

2009-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The following works for me: import subprocess p=subprocess.Popen('findstr disk c:\\boot.ini', stdout=subprocess.PIPE) print p.communicate()[0] default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-05-26 Thread Marco
Marco marcu...@gmail.com added the comment: TO loewis: this new patch works fine. I've removed the first #endif. thank you ;) -- Added file: http://bugs.python.org/file14072/import_patch2.patch ___ Python tracker rep...@bugs.python.org

[issue6112] scheduler.cancel does not raise RuntimeError

2009-05-26 Thread Ivo Danihelka
New submission from Ivo Danihelka i...@danihelka.net: There is a misleading documentation for module sched. Method scheduler.cancel() does not raise RuntimeError. It raises ValueError if the given event is not in the queue. The RuntimeError is mentioned inside the module documentation and also

[issue6112] scheduler.cancel does not raise RuntimeError

2009-05-26 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r72932. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6112 ___

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
New submission from Matthew matthew.bayn...@gmail.com: What I intended was... I create a list of DIFFERENT instances of the same class, I wanted them to be different instances, with different values for the properties, stressing the word DIFFERENT. What I originally did was... The __init__

[issue6111] Impossible to change preferences in IDLE

2009-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I tried with the latest version in py3k (r72934). No problem for me on Windows 2000. Did you try to run Idle from a shell window? Are there exceptions showing? -- nosy: +amaury.forgeotdarc

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Can you please show the code you tried initially? I suspect that it always adds the same instance to the list... -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue6111] Impossible to change preferences in IDLE

2009-05-26 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I should have made this more clear in the description, instead of hiding it in the components list, but this is an issue for the OSX port. -- ___ Python tracker rep...@bugs.python.org

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: I didn't keep a copy of the code that didn't work. Sorry. When I changed the way I was initialising the classes, before adding them to the list, I didn't change any of the logical flow in my code, and it started to work. I know it sounds

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: OK, then I'll close this issue. This is probably a typo in your code, like this one that I make from time to time: obj = Obj() Obj.sName = 'someName' -- resolution: - invalid status: open - closed

[issue6109] IDLE rendering issue with oriental characters on OSX

2009-05-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Are these characters displayed correctly in other places? Usually characters that are not available in a specific font are replaced by an empty box. In some cases the missing characters can be borrowed by other fonts, but IIRC that depends

[issue6109] IDLE rendering issue with oriental characters on OSX

2009-05-26 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The same fontname and file display correctly in programs (such as Textmate). Even when both textmate and IDLE have been configured to use the same font the text looks fine in textmate and broken in IDLE. My gut feeling is that this is

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: Trust me this was no typo. I debugged my code by adding print statements to see what values were going into the list, and print statements to see the values that were coming out. It might be that running code from the application Blender

[issue6102] When the package has non-ascii path and .pyc file, we cannot import them.

2009-05-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Your problem could be related to #3297, but katakana characters don't have a codepoint greater than U+ so it could be something else. (What is the value of sys.maxunicode there though?) I tried your script on Linux with Python3.1b1 and

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Even if it's a real bug, without the code we can't do anything. Try to reproduce what you did or get that code back somehow (ctrl+z? ;) -- nosy: +ezio.melotti ___ Python tracker

[issue6114] distutils build_ext path comparison only based on strings

2009-05-26 Thread Sven Rebhan
New submission from Sven Rebhan odinsho...@googlemail.com: If python is installed into a symlink'ed directory, the variables sys.exec_prefix and sys.executable can contain different paths. Therefore, the respective test in build_ext.py fails (line 202) and a wrong library search directory (-L.)

[issue6114] distutils build_ext path comparison only based on strings

2009-05-26 Thread jougs
Changes by jougs jochen.epp...@gmx.de: -- nosy: +jougs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6114 ___ ___ Python-bugs-list mailing list

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: First File This is the main one, it's the one that is called from the Blender application. -- Added file: http://bugs.python.org/file14074/MyWalls.py ___ Python tracker rep...@bugs.python.org

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: Second file The loads of code for building a wall -- Added file: http://bugs.python.org/file14075/WallWithDoors.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: Third file... all the classes for holding the data -- Added file: http://bugs.python.org/file14076/modDataObjects.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: Forth and final file... Just a little error handling and stuff I want all my classes to inherit -- Added file: http://bugs.python.org/file14077/modBasics.py ___ Python tracker

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: If you want to run it I'm afraid you'll have to: 1) install Blender (www.blender.org) 2) put all those files in C:\Program Files\Blender Foundation\Blender\.blender\scripts\MyWalls\src\ 3) in the Blender application goto scripts --- Objects

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: It's a typo :-) In WallWithDoors.py, line 146: cTempVariable = ClsFeatureVariable You forgot the () at the end... -- ___ Python tracker rep...@bugs.python.org

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: So why is it able to create instances and add them to the lstFeatureVariables list, surely it should go wrong there and not allow the instances to be created. -- ___ Python tracker

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Matthew matthew.bayn...@gmail.com added the comment: OK, sorry for the rambling, just ignore it Cheers... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113 ___

[issue6115] Header and doc related to PyNumber_Divide and PyNumber_InPlaceDivide should be removed in py3k

2009-05-26 Thread Haoyu Bai
New submission from Haoyu Bai divine...@gmail.com: As function implementation of PyNumber_Divide and PyNumber_InPlaceDivide are already removed, there are still function declaration in abstract.h, and also entries in document:

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113 ___ ___

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-05-26 Thread Marco
Changes by Marco marcu...@gmail.com: Removed file: http://bugs.python.org/file14049/import_patch.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6070 ___

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-05-26 Thread Marco
Changes by Marco marcu...@gmail.com: Removed file: http://bugs.python.org/file14070/import_patch2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6070 ___

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2009-05-26 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: I can't see that the order of keys should matter for language-neutral serialization libs like json or xmlrpclib. You're quite possibly going to be communicating with something on the other end which doesn't have an OrderedDict-like class. Why

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Changes by Matthew matthew.bayn...@gmail.com: Removed file: http://bugs.python.org/file14074/MyWalls.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113 ___

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Changes by Matthew matthew.bayn...@gmail.com: Removed file: http://bugs.python.org/file14075/WallWithDoors.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113 ___

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Changes by Matthew matthew.bayn...@gmail.com: Removed file: http://bugs.python.org/file14076/modDataObjects.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113 ___

[issue6113] Dupicate instances of classes in list

2009-05-26 Thread Matthew
Changes by Matthew matthew.bayn...@gmail.com: Removed file: http://bugs.python.org/file14077/modBasics.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6113 ___

[issue5201] Using LDFLAGS='-rpath=\$$LIB:/some/other/path' ./configure breaks the build

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: The patch looks good, beside the fact that you didn't call super() in setUp/tearDown. I'll commit it asap and fix that small issue -- ___ Python tracker rep...@bugs.python.org

[issue5164] backport distutils 3.x changes into 2.7 when appliabl

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I don't need a ticket for this I guess, it's done progressively -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5164

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I am taking over this issue (I am figuring out you are OK with this Martin) and put it in my work pile so it goes in 2.7 -- assignee: loewis - tarek ___ Python tracker rep...@bugs.python.org

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-26 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: +Python 2.7 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2856 ___ ___

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r72585 and propagated in 2.6, 3.0, 3.1 branches Thank you ! -- status: open - closed versions: +Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org

[issue3872] Python 2.6rc2: Tix ComboBox error

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: If you follow-up to a closed issue, your follow-up inevitably gets ignored. Please understand that the issue you encountered is completely different from the one reported here (which was about the Windows build). --

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I have two questions: 1. does your system provide the mbstate_t type? 2. if so, what header file needs to be included? Also, please confirm a few things: a. configure has detected that your system has mbrtowc b. configure's analysis is

[issue4947] sys.stdout fails to use default encoding as advertised

2009-05-26 Thread Denilson Figueiredo de Sá
Changes by Denilson Figueiredo de Sá denilso...@gmail.com: -- nosy: +denilsonsa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4947 ___ ___

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Sorry about that, I was travelling and didn't see that the buildbots turned red. (I ran the test but didn't build python again) I have changed that because build_ext.compiler is a string option, e.g. the compiler type. Turning it into a

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Per issue3308, it is not really possible to build Python extensions with MinGW anymore (as far as I can tell). I'm interpreting the issue differently - it was withdrawn by the submitter, indicating that it isn't an issue with Python. Even

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: new_compiler takes compiler as a compiler name. It would make much sense to make it accept a compiler instance. now for people setup.py, I wasn't aware that people are using build_ext.compiler as a compiler, besides Python itself. IMHO we

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: typo: It would make much... - It would not make much... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5977 ___

[issue6010] unable to retrieve latin-1 encoded data from sqlite3

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is not a bug. By default, pysqlite decodes all strings to Unicode, assuming UTF-8 encoding (which SQLite assumes when parsing statements). To override this default, you need to change the connection's text_factory: py import sqlite3 py

[issue6012] enhance getargs O to accept cleanup function

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I would propose a different approach: the same function can be both argument parser and cleanup function. In parsing, the PyObject* points to the parameter being converted. In cleanup, it points to NULL. This would allow the O to continue to

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think this is exaggerating the actual state. The compiler is certainly supported. Can you elaborate on what supported means? To me, it would mean that it could build all the same Python extensions which MSVC can build. Supported

[issue1621] Do not assume signed integer overflow behavior

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I'm finding many overflow checks that look like: size = Py_SIZE(a) * n; if (n size / n != Py_SIZE(a)) { PyErr_SetString(PyExc_OverflowError, repeated bytes are too long);

[issue1621] Do not assume signed integer overflow behavior

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: size = Py_SIZE(a) * n; The multiplication should be safe from overflow, and I don't get any warning at all either with this rewrite (using -O3 -Wall -Wextra - Wsigned-overflow=5) or from the original code, so there's nothing to

[issue1866] const arg for PyInt_FromString

2009-05-26 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: The patch no longer applies cleanly to the trunk. -- nosy: +doerwalter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1866 ___

[issue6022] test_distutils leaves a 'foo' file behind in the cwd

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r72636, r72637, r72638, r72639 -- components: +Distutils status: open - closed versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue5977] distutils build_ext.get_outputs returns wrong result (patch)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Roumen, the problem you mentioned was existing because of the empty c file in test_get_outputs. I have fixed it yesterday by creating a simple c file containing a minimal code: void inifoo(void) {}; can you check it works for you ?

[issue2661] Mapping tests cannot be passed by user implementations

2009-05-26 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: Any custom mapping class should have a repr test anyway, so IMHO it doesn't matter whether the base test has a repr test or not. The suggested fixes for TestMappingProtocol.test_fromkeys() and

[issue6011] python doesn't build if prefix contains non-ascii characters

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks, I'll work on this during this week end hopefully -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6011 ___

[issue6012] enhance getargs O to accept cleanup function

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Well, this is not implemented yet. (I introduced another format temporary) Does this mean converter should return Py_CLEANUP_SUPPORTED instead of 1 when cleanup is needed? If you are introducing a new character ($), then this isn't

[issue6037] MutableSequence.__iadd__ should return self

2009-05-26 Thread Andrés Marzal
New submission from Andrés Marzal amar...@lsi.uji.es: I've implemented a LinkedList as a MutableSequence and __iadd__, which is inherited from MutableSequence, does not perform as expected. The _abcoll.py file contains this: class MutableSequence(Sequence): ... def __iadd__(self,

[issue6037] MutableSequence.__iadd__ should return self

2009-05-26 Thread Andrés Marzal
Andrés Marzal amar...@lsi.uji.es added the comment: I've implemented a LinkedList as a MutableSequence and __iadd__, which is inherited from MutableSequence, does not perform as expected. The _abcoll.py file contains this: class MutableSequence(Sequence): ... def __iadd__(self, values):

[issue6038] Should collections.Counter check for int?

2009-05-26 Thread Hagen Fürstenau
New submission from Hagen Fürstenau hfuerste...@gmx.net: I noticed that while the docs say that Counts are allowed to be any integer value including zero or negative counts, collections.Counter doesn't perform any check on the types of count values. Instead, non-numerical values will lead to

[issue6041] change sdist and register command so they use check

2009-05-26 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: the check command now is able to check the meta-data, so we can remove duplicate code located in both sdist and register and call check as a subcommand. - register will also have a new boolean option called strict. If set to True (it's

[issue6041] change sdist and register command so they use check

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: the old check_metadata method, duplicated in sdist and register, will be marked with a PendingDeprecationWarning. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6041

[issue5732] add a new command called check into Distutils

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: closing (created a new ticket #6041 for sdist and register inclusion) -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5732

[issue5732] add a new command called check into Distutils

2009-05-26 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- dependencies: +change sdist and register command so they use check ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5732 ___

[issue6041] change sdist and register command so they use check

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r72681, r72683 -- dependencies: +add a new command called check into Distutils status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6041

[issue1621] Do not assume signed integer overflow behavior

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I don't see why. There's nothing in -Wall -Wextra -Wsigned-overflow that asks for warnings for code that might overflow. Ah, right. I misunderstood (rather, didn't bother checking) what -Wsigned-overflow really does. --

[issue3527] Py_WIN_WIDE_FILENAMES removal

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks fine to me, please apply. -- assignee: - ocean-city resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3527

[issue4126] remove not decodable environment variables

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This patch is out of date with PEP 383 -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4126

[issue4856] Remove checks for win NT

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The patch is slightly out of date; if updated, it is fine to apply after 3.1. I think Py_GetFileAttributesExA can also be removed. -- ___ Python tracker rep...@bugs.python.org

[issue6012] enhance getargs O to accept cleanup function

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Modifying convert_to_unicode is incorrect; this function is not an O converter. Instead, PyUnicode_FSConverter needs to change. Attached is a patch that does that, and also uses the O approach. It also adjusts the patch to use capsules.

[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: When I made this change I checked it under VC9, so it should work on this version. I'll have to create a VM with VC6 to track it down. Until then I'll deactivate this test when it's VC6 -- ___

[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Ok done. can you check on your side ? Don't we have a win32+MVCS6 buildslave somewhere ? That would be nice to have. I am running 3 differents VMs already when I work on these files. It would be great to have buildbot making regression

[issue6045] Fix dbm interfaces

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I disagree that this is release-critical. I think it is desirable to say that the dbm modules support most of a dict-style interface, and I also think that it is factually correct to claim that they currently do. Supporting only

[issue6048] make distutils use the tarinfo command

2009-05-26 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: Currently Distutils uses the tar command to build tarballs. It's better to use the tarinfo module, so Distutils does not depend on the tar program anymore. -- assignee: tarek components: Distutils messages: 87994 nosy: tarek

[issue6045] Fix dbm interfaces

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Would inheriting from MutableMapping fix this problem? In principle: some of it, yes. These types are written in C, so I'm not sure how exactly it would work. Also, it still wouldn't provide all methods, e.g. copy(), fromkeys(), get(),

[issue6049] str.strip() and behaviour expected?

2009-05-26 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6049 ___

[issue6050] zipfile: Extracting a directory that already exists generates an OSError

2009-05-26 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- assignee: - loewis nosy: +loewis priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6050 ___

[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks Roumen,that was it. I've commited the change and added a test to verify the produced file has the right extension. Thanks for the feedback Hirokazu -- status: open - closed ___ Python

[issue4174] Performance optimization for min() and max() over lists

2009-05-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Perhaps not. I had however written a general list locking system, generalizing the way sort() locks a list for direct manipulation, and rewritten min and max to be able to use that. Perhaps that approach would be of interest?

[issue6053] distutils error on windows

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I am currently working on the removal of 'tar' in favor of the usage of tarinfo, so I'll get back to you in this issue when it's ready -- ___ Python tracker rep...@bugs.python.org

[issue6053] distutils error on windows

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: (and also fix the test in 2.6 for this case) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6053 ___

[issue6053] distutils error on windows

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: ok done, thanks for the patch; -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6053 ___

[issue3541] bsddb memory leak on ubuntu

2009-05-26 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Python 2.5 is in security maintenance mode only. Please, upgrade to Python 2.6. If you can not upgrade Python, install a recent bsddb release from http://www.jcea.es/programacion/pybsddb.htm If you can still reproduce the problem, let me know.

[issue6053] distutils error on windows

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: 2. I got tar error. This happens because tar command I'm using cannot recognize path with drive letter. For example, tar -cf r:/foo . fails with error. I'm using http://gnuwin32.sourceforge.net/packages/gtar.htm I don't think this is a

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2009-05-26 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I would appreciate if someone could review the patch and comment on the technique. There are a few minor issues; overall, it looks correct: - the test for this is windows should just use MS_WINDOWS. - don't declare variables in the middle

[issue6054] tarfile normalizes arcname

2009-05-26 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- assignee: - lars.gustaebel nosy: +lars.gustaebel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6054 ___

[issue1602] windows console doesn't print utf8 (Py30a2)

2009-05-26 Thread Χρήστος Γεωργίου (Christos g...@psf.upfronthosting.co.za, eorgiou)
Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net added the comment: Just in case it helps, this behaviour is on Win XP Pro, Python 2.5.1: First, I added an alias for 'cp65001' to 'utf_8' in Lib/encodings/aliases.py . Then, I opened a command prompt with a bitmap font.

[issue6058] Add cp65001 to encodings/aliases.py

2009-05-26 Thread Χρήστος Γεωργίου (Christos g...@psf.upfronthosting.co.za, eorgiou)
New submission from Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net: Add 'cp65001' (Microsoft term for UTF-8) as an alias to 'utf_8' -- components: Library (Lib), Unicode files: alias_cp65001.diff keywords: patch messages: 88060 nosy: tzot severity: normal status: open

[issue6058] Add cp65001 to encodings/aliases.py

2009-05-26 Thread Χρήστος Γεωργίου (Christos g...@psf.upfronthosting.co.za, eorgiou)
Changes by Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6058 ___

[issue6058] Add cp65001 to encodings/aliases.py

2009-05-26 Thread Χρήστος Γεωργίου (Christos g...@psf.upfronthosting.co.za, eorgiou)
Changes by Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net: Removed file: http://bugs.python.org/file14013/alias_cp65001.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6058 ___

[issue6058] Add cp65001 to encodings/aliases.py

2009-05-26 Thread Χρήστος Γεωργίου (Christos g...@psf.upfronthosting.co.za, eorgiou)
Changes by Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net: Added file: http://bugs.python.org/file14014/alias_cp65001.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6058 ___

[issue6062] build_ext fails to build in the right directory using the package option

2009-05-26 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: all in the title. currently working to fix this. -- assignee: tarek components: Distutils messages: 88080 nosy: tarek severity: normal status: open title: build_ext fails to build in the right directory using the package option

[issue6062] build_ext fails to build in the right directory using the package option

2009-05-26 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r72781 -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6062 ___

[issue6057] sqlite3 error classes should be documented

2009-05-26 Thread Gerhard Häring
Gerhard Häring g...@ghaering.de added the comment: At the very start of the module's documentation it reads: pysqlite was written by Gerhard Häring and provides a SQL interface compliant with the DB-API 2.0 specification described by PEP 249. Where PEP 249 is a link to the Database API 2.0

[issue6054] tarfile normalizes arcname

2009-05-26 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: So, what exactly are trying to accomplish? Why do you need that? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6054 ___

  1   2   >