[issue1688] Incorrectly displayed non ascii characters in prompt using input() - Python 3.0a2

2008-01-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: Isn't it enough to encode the prompt with the console encoding, instead of letting the default utf-8 conversion? This patch corrects the issue on Windows: Sounds right. Technically, you should be using the stdout encoding, but I don't think it should ever

[issue1621] Do not assume signed integer overflow behavior

2008-01-11 Thread Martin v. Löwis
Martin v. Löwis added the comment: FWIW gcc hacker Ian Lance Taylor has a nice article about signed overflow optimizations in gcc, see http://www.airs.com/blog/archives/120 . Reading that it might be better to use -fno-strict-overflow instead of -fwrapv. Please be specific. I read it, and I

[issue1787] segfault in obmalloc.c

2008-01-11 Thread Christian Theune
New submission from Christian Theune: Python 2.4.4 on Linux crashes with following backtrace. Application is a Zope server. The other threads seem to be idle at that moment, only the segfaulting thread gives a reasonable backtrace (see attachment). -- components: Interpreter Core files:

[issue1782] PyModule_AddIntConstant and PyModule_AddStringConstant can leak

2008-01-11 Thread Hrvoje Nikšić
Hrvoje Nikšić added the comment: I agree that a leak would very rarely occur in practice, but since there is a straightforward fix, why not apply it? If nothing else, the code in the core should be an example of writing leak-free Python/C code, and a fix will also prevent others from wasting

[issue1743] IDLE fails to launch

2008-01-11 Thread Rich
Rich added the comment: I can't get it to do it again. Unless someone else is still experiencing the problem, perhaps it was fixed (deliberately or otherwise) by this month's Vista hotfixes that came down automatically a couple of days ago. Thanks for your help everyone.

[issue1544] IDLE installation problems and no message errors

2008-01-11 Thread Rich
Rich added the comment: If you are using Vista, then we discovered that there might be a problem associated with the recent-files.lst file (usually found in .idle in the C:\Users\Yourname directory). That's all written down in Issue 1743. If that doesn't apply to you then if you specify what

[issue1621] Do not assume signed integer overflow behavior

2008-01-11 Thread Ismail Donmez
Ismail Donmez added the comment: Ian says -fno-strict-overflow still allows some optimizations, and his example code shows less assembly is produced with -fno-strict-overflow. But of course your opinion matters on this one, not mine. Regards, ismail __ Tracker

[issue1788] Outdated link in the tutorial

2008-01-11 Thread Christopher Yeleighton
New submission from Christopher Yeleighton: The page About Python Tutorial http://docs.python.org/tut/node20.html incorrectly refers to the Python Bug Tracker at SourceForge as http://sourceforge.net/tracker/?group_id=5470atid=105470func=add. That page says This tracker is CLOSED. Please use

[issue1788] Outdated link in the tutorial

2008-01-11 Thread Facundo Batista
Facundo Batista added the comment: Already fixed in the trunk and 2.5 maintenance branch. -- nosy: +facundobatista resolution: - out of date status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1788

[issue1780] Decimal constructor accepts newline terminated strings

2008-01-11 Thread Facundo Batista
Facundo Batista added the comment: Mark Dickinson: The other option that maintains full compliance with the specification is to do what we like with Decimal.__new__ (e.g. allowing leading and trailing whitespace), but make sure that there's a fully conforming to-number elsewhere in the

[issue1791] The Library Reference still refers to the old bug tracker.

2008-01-11 Thread Vilya Harvey
New submission from Vilya Harvey: The page at http://docs.python.org/lib/about.html refers people to the old SourceForge bug tracker, rather than bugs.python.org. -- messages: 59707 nosy: vilya severity: normal status: open title: The Library Reference still refers to the old bug

[issue1790] xmlrpclib ServerProxy page has out-of-date content

2008-01-11 Thread Vilya Harvey
New submission from Vilya Harvey: The page at 'http://docs.python.org/lib/serverproxy-objects.html' contains the following text which should be removed as it's (a) not especially relevant; and (b) out of date: Introspection methods are currently supported by servers written in PHP, C and

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Joseph Armbruster
Joseph Armbruster added the comment: Ah, good to know :-) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1472 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1782] PyModule_AddIntConstant and PyModule_AddStringConstant can leak

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: I don't mind if you like to pursue the issue. I won't invest any time into it. But if you can come up with a patch we can surely apply it. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1782

[issue1793] ctypes.util.find_msvcrt() function

2008-01-11 Thread Thomas Heller
New submission from Thomas Heller: I'm uploading this patch for discussion, in case someone cares. This code (for Windows) adds a function ctypes.util.find_msvcrt(). This function returns the filename of the MSVC runtime library that the current Python executable uses. If calling functions

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-01-11 Thread Aaron Watters
Aaron Watters added the comment: Facundo 1) the +1024 was an accelerator to jump up to over 1k at the first resize. I think it's a good idea or at least doesn't hurt. 2) Here is an example program: def test(): from marshal import dumps from time import time testString =

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-01-11 Thread Facundo Batista
Facundo Batista added the comment: Why not just double the size? The doubling + 1024 address some specific issue? If so, it should be commented. Also, do you have an example of a marshal.dumps() that suffers from this issue? Thank you! -- nosy: +facundobatista

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-01-11 Thread Aaron Watters
New submission from Aaron Watters: Much to my surprise I found that one of my applications seemed to be running slow as a result of marshal.dumps. I think the culprit is the w_more(...) function, which grows the marshal buffer in 1k units. This means that a marshal of size 100k will have 100

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Joseph Armbruster
Joseph Armbruster added the comment: Is referencing the built python binary in the build tree a good idea? Just in case they do not have python installed on the system already? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1472

[issue1785] inspect gets broken by some descriptors

2008-01-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record the same problem also happens with toscawidgets. from toscawidgets.widgets.forms import validators help(validators) Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.5/site.py, line 351, in __call__

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Georg Brandl
Georg Brandl added the comment: Christian Heimes schrieb: Christian Heimes added the comment: Joseph Armbruster wrote: Is referencing the built python binary in the build tree a good idea? Just in case they do not have python installed on the system already? The doc builder requires

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Nashev
New submission from Nashev: In most platform-depended applications hot keys are working by the specified keys on a keyboard, independent of a current keyboard layout. Not by the specified char. Some application menus is displaying keyboard shortcut localized to main layout for current

[issue1622] zipfile hangs on certain zip files

2008-01-11 Thread Alan McIntyre
Alan McIntyre added the comment: Currently the extra field data is only parsed when it contains Zip64 extended information. It could probably be broken up into a list of (id, data) pairs at a minimum for all data types, since the spec says that's the structure that should be used. I don't

[issue1791] The Library Reference still refers to the old bug tracker.

2008-01-11 Thread Facundo Batista
Facundo Batista added the comment: Already fixed in trunk and 2.5 branch. -- nosy: +facundobatista resolution: - out of date status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1791 __

[issue1787] segfault in obmalloc.c

2008-01-11 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry, there's just no way that this is going to be dealt with on the Python core tracker. Who says it isn't memory corruption caused by some Zope extension module... -- nosy: +gvanrossum resolution: - rejected status: open - closed

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Guido van Rossum
Guido van Rossum added the comment: So what's a hot key? Now I'm really confused. I don't recall anything using scan codes in IDLE, at least not for the memory shortcuts etc. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1794

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: On which platforms do hotkeys have that behavior? I've never seen it. Some computer games define hot keys by scan code rather than by character. I'm not sure if it's a good idea for IDLE but for games it often makes sense.

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Georg Brandl
Georg Brandl added the comment: Christian Heimes schrieb: Christian Heimes added the comment: I *think* Nashev is talking about assigning hot keys by scan code rather than by character code. E.g. on a German keyboard the 'z' and 'y' are switched and the 'z' key is left to the 't' key.

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: Test cases so far: parseaddr('[EMAIL PROTECTED]') ('', '[EMAIL PROTECTED]') parseaddr('Full Name [EMAIL PROTECTED]') ('Full Name', '[EMAIL PROTECTED]') parseaddr('[EMAIL PROTECTED] [EMAIL PROTECTED]') ('[EMAIL PROTECTED]', '[EMAIL PROTECTED]')

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Guido van Rossum
Guido van Rossum added the comment: Not being familiar with localized keyboards, I don't understand your question. Can you provide some screen dumps of what you see and explain what you expected to see? PS. What OS? -- nosy: +gvanrossum priority: - low

[issue1790] xmlrpclib ServerProxy page has out-of-date content

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: - akuchling nosy: +akuchling __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1790 __ ___ Python-bugs-list mailing list

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-01-11 Thread Aaron Watters
Aaron Watters added the comment: also: I just modified the code to do iterations using increasingly large data sizes and I see the kind of very unpleasant behaviour for the old implementation (max time varies wildly from min time) that I saw in my more complex program. The new implementation

[issue1795] PEP 754 update

2008-01-11 Thread Christian Heimes
New submission from Christian Heimes: Hello Gregory! I've implemented some of your ideas of PEP 754 for Python 2.6. I like to update your PEP. Are you fine with the patch? -- components: Documentation files: pep-0754.txt.patch messages: 59734 nosy: tiran, warnes priority: normal

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Joseph Armbruster
Joseph Armbruster added the comment: Which brings up a question. Would all things in the tree ideally work with the version that was built from checkout? Just in case something like this comes up in the future, i'd want to know if it is better to have it configured as this or to auto-magically

[issue1793] ctypes.util.find_msvcrt() function

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: In general I like the idea. But wouldn't it be better to have a cross platform function which returns the c runtime library? msvcrt?? on Windows, libc on Linux and whatever Mac and BSD are using. -- nosy: +tiran __

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: IDLE lets you configure your own mappings without doing any programming. From the menu, pick Options, Configure Idle and goto the Keys tab. -- nosy: +rhettinger __ Tracker [EMAIL PROTECTED]

[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

2008-01-11 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: If the consensus is that Decimal should not implement Real, I'll reply to that thread and withdraw the patch. Raymond, do you want me to add Decimal.__init__(Rational) in this patch or another issue/thread? I don't understand the comment about scaling down

[issue1797] ctypes NULL function pointers should have a False bool value.

2008-01-11 Thread Thomas Heller
New submission from Thomas Heller: ctypes NULL function pointers should have a False bool value. -- assignee: theller components: Extension Modules files: ctypes-funcptr.patch keywords: patch messages: 59744 nosy: theller severity: normal status: open title: ctypes NULL function

[issue1796] ctypes should allow a tuple when an Array is expected

2008-01-11 Thread Thomas Heller
New submission from Thomas Heller: Another ctypes patch for discussion, if someone cares. This patch allows to pass a tuple of the correct size, a ctypes pointer to the correct itemtype, or None to foreign functions that expect ctypes array instances. 'None' is passed as a NULL pointer.

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: An example from #1221: email.Utils.parseaddr(a(WRONG)@b) ('WRONG WRONG', '[EMAIL PROTECTED]') -- nosy: +tiran _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1025395 _

[issue1799] Per user site-packages and setup.py install --user patch

2008-01-11 Thread Christian Heimes
New submission from Christian Heimes: The patch adds a per user site-packages directory and a --user option for distutils' setup.py install. It also cleans up site.py a bit and makes addsitepackages() extensible. I'm going to write a mini PEP soonish. -- components: Distutils, Library

[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

2008-01-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: If the consensus is that Decimal should not implement Real, I'll reply to that thread and withdraw the patch. Thanks. That would be nice. Raymond, do you want me to add Decimal.__init__(Rational) in this patch How about focusing on the rational module

[issue1798] Add ctypes calling convention that allows safe access of errno

2008-01-11 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I like this way to tell that a function modifies errno or GetLastError. But this thread-local attribute on the function seems bizarre to me. I would prefer another way to get the errno. I can see two alternatives: - the function returns a tuple

[issue1221] email.Utils.parseaddr(a(WRONG)@b)

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Duplicated -- nosy: +tiran priority: - normal resolution: - duplicate status: open - closed superseder: - email.Utils.parseaddr fails to parse valid addresses __ Tracker [EMAIL PROTECTED]

[issue1098749] Single-line option to pygettext.py

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: Is this change still useful for 2.6? -- nosy: +akuchling versions: +Python 2.6 -Python 2.4 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1098749 _

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Nashev
Nashev added the comment: Guido, I think now it is must be suggestion to TK team, in they's issue tracker... Raymond, I know I can make try localized hot key mapping for my keyboard layout for my self, but i think the best way is - help to make our public libraries better for all. But any way,

[issue1780] Decimal constructor accepts newline terminated strings

2008-01-11 Thread Guido van Rossum
Guido van Rossum added the comment: Do you want to be able to do Decimal(3 ) but not Decimal(3\n)? I want either both or none, with a slight preference for both but only if it can be done without breaking the spec. The status quo is that 3 is refused but 3\n is accepted; that seems wrong.

[issue1793] ctypes.util.find_msvcrt() function

2008-01-11 Thread Thomas Heller
Thomas Heller added the comment: The cross-platform function is ctypes.util.find_library, which is currently not very useful on Windows. This patch changes it so that, on Windows, find_library(c) or find_library(m) finds the MS C runtime lib which exposes functions the are typically in libc and

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: It looks like a reasonable and good patch. Aaron's tests clearly show the speed up. However the maximum resize should be limited to a value around 256 to 1024k: size = min(2*size + 1024, 512*1024); -- keywords: +patch nosy: +tiran priority: -

[issue1221] email.Utils.parseaddr(a(WRONG)@b)

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: See Issue1025395 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1221 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: Same or related issues: Issue1221, Issue1409460 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1025395 _ ___ Python-bugs-list mailing

[issue1785] inspect gets broken by some descriptors

2008-01-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a (hopefully complete) patch against both pydoc and inspect. It fixes one more bug compared to the previous one (descriptors can also have a special __getattr__ in addition to __get__, which gave problems when trying to access __classobj__). Added file:

[issue1790] xmlrpclib ServerProxy page has out-of-date content

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: Text removed, and the link updated in rev. 59924. Thanks for reporting this! -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1790 __

[issue1560327] copy() method of dictionaries is not deep

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: The Infogami FAQ is no longer available from python.org, so I'll just close this item. -- resolution: - wont fix status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1560327

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: I *think* Nashev is talking about assigning hot keys by scan code rather than by character code. E.g. on a German keyboard the 'z' and 'y' are switched and the 'z' key is left to the 't' key. If a program assigns a hot key to 'z' by character code than the

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Nashev
Nashev added the comment: WOW, so active discussion! OS - Windows Mac OS X, both Programs - most system and many others. Keyboard layouts - I mean mostly non latin (see http://en.wikipedia.org/wiki/Keyboard_layout#Keyboard_layouts_for_non-Roman_alphabetic_scripts) In case of russian

[issue1797] ctypes function pointer enhancements

2008-01-11 Thread Thomas Heller
Thomas Heller added the comment: The patch will be extended ASAP so that 'None' is accepted by foreign functions where a function pointer (callback function) is expected. For consistency it should be possible to call the ctypes function prototype with None to create a NULL callback function

[issue1798] Add ctypes calling convention that allows safe access of errno

2008-01-11 Thread Thomas Heller
New submission from Thomas Heller: This patch adds new calling conventions to ctypes foreign functions by passing 'errno=True' or 'GetLastError=True' to the CDLL or WinDLL constructor. If CDLL(..., errno=True) or WinDLL(..., errno=True) is used, the function objects available in the CDLL or

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: tiran: yes, but that is the wrong answer, and that example is already in the testcase list (with what I believe is the right answer). _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1025395

[issue1721083] Add File - Reload

2008-01-11 Thread Nashev
Nashev added the comment: There are command in menu is called Revert. P.S.: for knowing that file changed, programs in windows can register OS callback for this event and just react on it. In Mac i think too, but i don't know how with it on unix and python.

[issue1721083] Add File - Reload

2008-01-11 Thread Nashev
Nashev added the comment: It is very nice feature, that exists in many advanced and professional GUI-based editors on the Windows and Mac. For example, i can fast name TextWrangler, HomeSite, Flash, PhotoShop and it is only first names in mind. It feature for simplify tool's usage, it is improve

[issue1800] ctypes callback fails when called in Python with array argument

2008-01-11 Thread Lenard Lindstrom
New submission from Lenard Lindstrom: When a callback is created with an array argument and then is called from Python the callback function receives an array full of garbage. Here is an example: Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type help,

[issue1574217] isinstance swallows exceptions

2008-01-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: The return value should be -1 in case of errors. There's also a second code path swallowing all errors. I've converted brian's test.py to a unit test testing both code paths and added an updated patch for this one. This patch is against trunk. All tests in

[issue961805] Text.edit_modified() fails

2008-01-11 Thread Matthias Kievernagel
Matthias Kievernagel added the comment: Retested revision 59927 from the trunk. Error is still there, is demonstrated by attached editModified.py (click 'modified?') and patch is still applicable and corrects the problem. Regards, Matthias Kievernagel -- versions: +Python 2.6

[issue1809] docs for os.symlink(src, dst) doesn't mention exceptions

2008-01-11 Thread David Gardner
David Gardner added the comment: the output of symtest.py looks like: type 'instance' (13, 'Permission denied') [Errno 13] Permission denied __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1809 __

[issue1810] Partial AST compile() patch

2008-01-11 Thread Thomas Lee
New submission from Thomas Lee: This patch against HEAD provides the inverse operations to all the ast2obj_* functions in Python/Python-ast.c: effectively, this allows conversion to from a PyObject representation of a Python AST. Additionally, it updates the compile() builtin to allow it to

[issue1810] Partial AST compile() patch

2008-01-11 Thread Thomas Lee
Thomas Lee added the comment: Attaching a sample program to demonstrate the crash. Added file: http://bugs.python.org/file9135/ast.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1810 __

[issue1810] Partial AST compile() patch

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Georg is working on the AST front. -- assignee: - georg.brandl keywords: +patch nosy: +georg.brandl, tiran priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1810

[issue1800] ctypes callback fails when called in Python with array argument

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - theller nosy: +theller priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1800 __ ___ Python-bugs-list

[issue1809] docs for os.symlink(src, dst) doesn't mention exceptions

2008-01-11 Thread David Gardner
New submission from David Gardner: the docs for os.symlink at: http://docs.python.org/lib/os-file-dir.html don't mention if the function raises an exception if there was a file permission failure. -- components: Documentation files: symtest.py messages: 59762 nosy: dgardner severity:

[issue1675533] setup.py LDFLAGS regexp is wrong

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1675533 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1433694] normalize function in minidom unlinks empty child nodes

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1433694 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1337648] Elemental Security contribution - parsexml.py

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: Is this module still of interest? Given that PyXML is no longer being developed or released, the module would need to either go straight into the stdlib, or be released separately. -- nosy: +akuchling type: - rfe _

[issue1411695] XML.sax.saxutils.escape -- always escapes , , ,

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1411695 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue976880] mmap needs a rfind method

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy Tracker [EMAIL PROTECTED] http://bugs.python.org/issue976880 ___ Python-bugs-list mailing list Unsubscribe:

[issue1463043] test_minidom.py fails for Python-2.4.3 on SUSE 9.3

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: This seems to be an XML issue, not actually a build-related one. -- components: +XML -Build nosy: +akuchling _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1463043 _

[issue687648] classic division in demos/ directory

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy Tracker [EMAIL PROTECTED] http://bugs.python.org/issue687648 ___ Python-bugs-list mailing list Unsubscribe:

[issue1550] help('modules') broken by several 3rd party libraries (svn patch attached)

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1550 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1741] .pypirc not found on windows

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1741 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1509] Documentation lacking for the sqlite3 module.

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1509 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1780] Decimal constructor accepts newline terminated strings

2008-01-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please apply the patch and close the bug. Thx -- resolution: - accepted __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1780 __

[issue1780] Decimal constructor accepts newline terminated strings

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch that alters the Decimal constructor to allow leading and trailing whitespace. The Context.create_decimal method should now be a fully conforming implementation of to-number: it doesn't accept any leading or trailing whitespace. --

[issue1751519] curses - new window methods: addchstr and addchnstr

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: - akuchling nosy: +akuchling _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1751519 _ ___ Python-bugs-list mailing list

[issue1019] Cleanup pass on _curses and _curses_panel

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: - akuchling nosy: +akuchling __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1019 __ ___ Python-bugs-list mailing list

[issue1679] tokenizer permits invalid hex integer

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1679 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: More comments, questions, and suggestions on the latest patch: 1. In _binary_float_to_ratio, the indentation needs adjusting. Also 'top = 0L' could be replaced with 'top = 0', unless you need this code to work with Python 2.3 and earlier, in which case top

[issue1298813] sysmodule.c: realpath() is unsafe

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- type: - security _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1298813 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1269] Exception in pstats print_callers()

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1269 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1274] doctest fails to run file based tests with 8bit paths

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1274 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1160] Medium size regexp crashes python

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: Trying effbot's suggested experiment is easy, at least, and would provide useful info. If it fails, then fixing this bug might be difficult. -- keywords: +easy nosy: +akuchling __ Tracker [EMAIL PROTECTED]

[issue1780] Decimal constructor accepts newline terminated strings

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: Committed, revision 59929. -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1780 __ ___ Python-bugs-list

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

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1180 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1704474] test_optparse.py mod. for jython

2008-01-11 Thread A.M. Kuchling
A.M. Kuchling added the comment: The patch would need to be checked against Jython's last release and/or the current trunk. -- keywords: +easy nosy: +akuchling _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1704474

[issue1598083] Top-level exception handler writes to stdout unsafely

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1598083 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1286 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-11 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1339 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1682] Move Demo/classes/Rat.py to Lib/rational.py and fix it up.

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: About .trim and .approximate: it sounds like these are different, but quite closely related, methods: one takes a positive integer and returns the best approximation with denominator bounded by that integer; the other returns the 'smallest' rational in

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Please provide a patch against 2.6 with an unit test and documentation updates. -- keywords: +easy nosy: +tiran priority: - low versions: +Python 2.6 -Python 2.4 __ Tracker [EMAIL PROTECTED]

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Library (Lib) -Extension Modules __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1714 __ ___ Python-bugs-list mailing list

[issue1627] Problem with httplib and Content-Length: -1

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy priority: - low versions: +Python 2.6 -Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1627 __ ___

  1   2   >