[issue1733134] sqlite3.dll cannot be relocated

2008-01-11 Thread Tim Delaney
Tim Delaney added the comment: I've got no further details on this bug - I've never encountered it myself. _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1812] doctest _load_testfile function -- newline handling seems incorrect

2008-01-11 Thread Peter Donis
Peter Donis added the comment: Edit: I should have said that the attached diff also includes changes to test_doctest.py to test for the correct newline behavior. Because the test setup is a little complex, I added an auxiliary script, doctest_testfile.py, and an accompanying text file, doctes

[issue1812] doctest _load_testfile function -- newline handling seems incorrect

2008-01-11 Thread Peter Donis
New submission from Peter Donis: When running doctest.testfile on a Linux machine, testing a txt file saved on a Windows machine, doctest raised a SyntaxError exception for each Windows newline in the txt file. On examining the code in the _load_testfile function, it looks to me like there are

[issue1367711] Remove usage of UserDict from os.py

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: tiran -> keywords: +easy _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue1367711] Remove usage of UserDict from os.py

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> tiran nosy: +tiran type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Build type: -> compile error versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _

[issue1220212] os.kill on windows

2008-01-11 Thread Miki Tebeka
Miki Tebeka added the comment: > Users should substitute their popen and exec calls with subprocess As long as popen and exec are available, users are free to use them (and probably will :) The Popen(...).terminate() works only if I'm the one who started the process. However there are cases wher

[issue1733134] sqlite3.dll cannot be relocated

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Tim, please help us to track the bug down. I'm going to close the bug in two weeks (2008-01-26) unless you respond. -- nosy: +tiran status: open -> pending _ Tracker <[EMAIL PROTECTED]>

[issue1811] True division of integers could be more accurate

2008-01-11 Thread Mark Dickinson
Changes by Mark Dickinson: -- components: +Interpreter Core versions: +Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-

[issue1811] True division of integers could be more accurate

2008-01-11 Thread Mark Dickinson
New submission from Mark Dickinson: Division of two longs can produce results that are needlessly inaccurate: >>> from __future__ import division >>> 10**40/10**39 10.002 The correct result is, of course, 10.0, which is exactly representable as a float. The attached snippet of Py

[issue1678668] fix a bug mixing up 0.0 and-0.0

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: See also #1678668. -- nosy: +tiran _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing l

[issue1729014] 0.0 and -0.0 end up referring to the same object

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: I mark this bug as duplicate of #1678668. They are both about the same issue. -- nosy: +tiran resolution: -> duplicate status: open -> closed superseder: -> fix a bug mixing up 0.0 and-0.0 type: -> behavior _ Tra

[issue1720595] Allow T_BOOL in PyMemberDef definitions

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: allow or reject it for 2.6, Georg? -- nosy: +tiran type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ __

[issue1702551] distutils sdist does not exclude SVN/CVS files on Windows

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: The code should use \ and / on Windows. -- nosy: +tiran type: -> behavior versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _

[issue1644818] Allow importing built-in submodules

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Build type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ __

[issue1672336] Building python 2.5 for AMD64 (windows) and VS2005

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: The new build directories for VS 2005 and VS 2008 work for AMD 64. -- nosy: +tiran resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1653416] print >> f, "Hello" produces no error: normal?

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: On Linux both 2.5 and 2.6 are raising an exception: >>> f = open("/etc/passwd") >>> print >>f, "Hello" Traceback (most recent call last): File "", line 1, in IOError: [Errno 9] Bad file descriptor -- nosy: +tiran __

[issue1653416] print >> f, "Hello" produces no error: normal?

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- type: -> behavior versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing

[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> theller type: -> crash versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> _ ___ Pytho

[issue1608805] Py_FileSystemDefaultEncoding can be non-canonical

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue1570672] qtsupport.py mistake leads to bad _Qt module

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Qt is a 3rd party extension. -- nosy: +tiran resolution: -> invalid status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ _

[issue1522046] RPM build fails for Py2.5b2

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Please open a new bug for the /usr/lib64 issue. -- nosy: +tiran resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue1528620] Python 2.5b2 fails to build on Solaris 10 (Sun Compiler)

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Guido, have you tested the build on your box? I'm going to close the bug after two week unless you report a new problem. (2008-01-26) -- nosy: +tiran status: open -> pending _ Tracker <[EMAIL PROTECTED]>

[issue1467201] size_t warnings on OSX 10.3

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: *PING* Is this still a problem, Anthony? -- nosy: +tiran status: open -> pending _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1220212] os.kill on windows

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: This should be implemented differently. Users should substitute their popen and exec calls with subprocess. The subprocess.Popen class should gain two new methods terminate() and send_signal(int) where send_signal is restricted to SIGKILL (+SIGTERM ?) on Window

[issue1479611] speed up function calls

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- type: -> rfe versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list

[issue1391872] floating point literals don't work in non-US locale in 2.5

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Do we have a test for the problem which verifies the behavior or can I close the bug? -- nosy: +tiran status: open -> pending type: -> behavior versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]>

[issue1309352] Make fcntl work properly on AMD64

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list

[issue936813] fast modular exponentiation

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Re-targeting for 2.6 We should discuss it at the bug day. -- nosy: +tiran type: -> rfe versions: +Python 2.6 -Python 2.5 Tracker <[EMAIL PROTECTED]> ___

[issue1174614] site enhancements

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: I'm going to check the patch for my new PEP about per user site directories. -- assignee: -> tiran nosy: +tiran versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]>

[issue1616] compiler warnings (gcc 2.96)

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: 2.96 is ancient and I don't see those warnings with 4.x series. Can I close this bug? -- components: +Build nosy: +tiran status: open -> pending __ Tracker <[EMAIL PROTECTED]>

[issue1675] Race condition in os.makedirs

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- components: +Library (Lib) keywords: +easy versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ _

[issue1749567] PLATFORM macro in PC/pyconfig.h already defined by Apache

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: Please provide a patch and documentation updates (if required) or I'm going to close the bug in two weeks (2008-01-26). -- components: +Build nosy: +tiran status: open -> pending type: -> rfe versions: +Python 2.6 -Python 2.5

[issue1669637] Some Compiler Warnings on VC6

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: VC6 is no longer the main stream compiler. Please provide a patch if you like to have these errors fixed in 2.6. I don't see the warnings in VS 2008. -- nosy: +tiran resolution: -> out of date status: open -> closed __

[issue1516613] Decimal should allow leading or trailing spaces.

2008-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: I spoke too soon. This came up again in the discussion for issue #1780 and there was general support for allowing trailing and leading whitespace. Fixed for Python 2.6, revision 59929 -- resolution: -> fixed status: open -> closed superseder: -> De

[issue1239] openpty does not give bidirectional pipe

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1299] distutils.sysconfig is not cross-platform compatible

2008-01-11 Thread Christian Heimes
Christian Heimes added the comment: It's going to be hard to implement the feature for Windows. The PC/pyconfig.h uses lots of #ifdef and #if defined. If you are still interested in the matter please provide a patch and answer within two weeks. Otherwise this bug will be closed on 2008-01-26. -

[issue1297] pyconfig.h not compatible with MS VC++ Express Edition

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

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

2008-01-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: FYI, StringIO and BytesIO, in Python 3K, already support the context management protocol. __ Tracker <[EMAIL PROTECTED]> __ _

[issue1353344] python.desktop

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http

[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]> __ ___ Python

[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]> __ ___ Python-bugs-list mailing lis

[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]>

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

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

[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]> __ ___ Python-bugs-list ma

[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]>

[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]> ___

[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 a

[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]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[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]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1269] Exception in pstats print_callers()

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

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

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

[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 n

[issue1679] tokenizer permits invalid hex integer

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

[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]> __ __

[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]> _ ___ Python-bugs-list mailing list Unsubscribe: http://

[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]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[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]> __ ___ Python-bugs-list mailing list Unsub

[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]> _ ___ Python-bugs-list mailing li

[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. -- key

[issue976880] mmap needs a rfind method

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

[issue1337648] Elemental Security contribution - parsexml.py

2008-01-11 Thread Guido van Rossum
Guido van Rossum added the comment: I'll just withdraw it. -- resolution: -> rejected status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ ___

[issue1509] Documentation lacking for the sqlite3 module.

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

[issue1741] .pypirc not found on windows

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

[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]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue687648] classic division in demos/ directory

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

[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]> _ ___

[issue1675533] setup.py LDFLAGS regexp is wrong

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

[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]> _ ___ Python-bugs-list mailing list Unsubscribe: http://

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

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

[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 _

[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]> __ ___ Python-bugs-list

[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]> ___

[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]> __

[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 co

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

2008-01-11 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> georg.brandl nosy: +georg.brandl priority: -> normal versions: +Python 2.6, Python 3.0 __ Tracker <[EMAIL PROTECTED]> __

[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: (13, 'Permission denied') [Errno 13] Permission denied __ Tracker <[EMAIL PROTECTED]> __ _

[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: min

[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 _

[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 Lib/test

[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",

[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

[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]> __

[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 (normalresu

[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 mod

[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 (

[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]>

[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]> __

[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]> _ _

[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,

[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 WinD

[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 lon

[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]>

[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 poin

[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 pointers

[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:

[issue1794] Hot keys must work in any keyboard layout

2008-01-11 Thread Guido van Rossum
Guido van Rossum added the comment: IDLE is written using Tkinter, not native Windows UI programming APIs, I don't know if the scan code is available in the keyboard events. If you want something to happen on this, I suggest you try to create a patch to IDLE yourself -- it's unlikely that any of

[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]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2008-01-11 Thread Stuart D Gathman
Stuart D Gathman added the comment: see Issue1029395 -- nosy: +sdgathman __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Un

  1   2   >