[issue1610] test_socket.py fails

2007-12-14 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: - invalid status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1610 __ ___ Python-bugs-list mailing list

[issue1624] Remove output comparison for test_pep277

2007-12-14 Thread Christian Heimes
Christian Heimes added the comment: Fixed in r59519 with some small modifications. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1624

[issue1634] with Statement SyntaxError generated while following Tutorial

2007-12-15 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl nosy: +georg.brandl priority: - low __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1634 __ ___ Python-bugs

[issue1635] Float patch for inf and nan on Windows (and other platforms)

2007-12-15 Thread Christian Heimes
New submission from Christian Heimes: The patch unifies the creation and representation of inf, -inf and nan on all platforms. float(inf) inf float(-inf) -inf float(nan) nan repr(1e300 * 1e300) 'inf' repr(1e300 * 1e300 * 0) 'nan' repr(1e300 * 1e300 * -1) '-inf' -- assignee

[issue1600] str.format() produces different output on different platforms (Py30a2)

2007-12-15 Thread Christian Heimes
Christian Heimes added the comment: Guido is right. On Linux the system's sprintf() family prints %e, %g and %f with two or three digits while Windows always uses three digits: Linux %e % 1e1 '1.00e+01' %e % 1e10 '1.00e+10' %e % 1e100 '1.00e+100' Windows %e % 1e1 '1.00e+001

[issue1600] str.format() produces different output on different platforms (Py30a2)

2007-12-15 Thread Christian Heimes
Christian Heimes added the comment: Mark Summerfield wrote: It seems to me that Python should provide consistent results across platforms wherever possible and that this is a gratuitous inconsistency that makes cross-platform testing less convenient than it need be. I'll take a look

[issue1638] %zd configure test fails on Linux

2007-12-16 Thread Christian Heimes
Christian Heimes added the comment: I fixed the bug in r59533 trunk with a modified patch: #ifdef HAVE_SYS_TYPES_H #include sys/types.h #endif Should it be backported to 2.5? It will be merged into 3.0 automatically. -- nosy: +tiran priority: - normal resolution: - fixed status

[issue1600] str.format() produces different output on different platforms (Py30a2)

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: Hi Mark! In general the patch is fine but it has some small issues. * Your patches are all reversed. They remove (-) the new lines instead of adding (+) them. Why aren't you using svn diff file.patch? * You are mixing tabs with spaces. All 2.6 C files

[issue1639] Low ascii 12 characters found in source.

2007-12-17 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: - wont fix status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1639 __ ___ Python-bugs-list mailing list

[issue1640] Enhancements for mathmodule

2007-12-17 Thread Christian Heimes
New submission from Christian Heimes: The patch adds several small enhancements to the math module and pyport.h. * Py_MATH_PI and Py_MATH_E in long double precision * Py_IS_NAN and Py_IS_INFINITY use isnan() and isinf() functions were available (checked by configure) * isnan and isinf

[issue1640] Enhancements for mathmodule

2007-12-17 Thread Christian Heimes
Changes by Christian Heimes: -- dependencies: +Float patch for inf and nan on Windows (and other platforms) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1640

[issue1640] Enhancements for mathmodule

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: Mark Dickinson wrote: Mark Dickinson added the comment: Cool! If there's a move to add functions to the math module, there are some others that are part of C99 (but not C89), would be good to have, and that I'd consider more fundamental than the Bessel

[issue1635] Float patch for inf and nan on Windows (and other platforms)

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: Adam Olsen wrote: You have: #define Py_NAN Py_HUGE_VAL * 0 I think this would be safer as: #define Py_NAN (Py_HUGE_VAL * 0) For instance, in code that may do a / Py_NAN. You are right! Fixed Those manual string copies (*cp++ = 'n';) are ugly. Can't

[issue1635] Float patch for inf and nan on Windows (and other platforms)

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: I'm posting a combined patch for all features at #1640. -- superseder: - Enhancements for mathmodule __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1635

[issue1642] segfault when deleting value member in ctypes types

2007-12-17 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - theller nosy: +theller priority: - normal versions: +Python 2.6, Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1642

[issue1607] Patch for TCL 8.5 support

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: Kurt B. Kaiser wrote: I do have an XP on multiboot. I'm not very enthusiatic about learning MS tools; the last time I built Python on W. was with VC5 in the days when IDLE had a small C extension, later incorporated into Python. If the Tk 8.5/Tkinkter

[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: Amaury Forgeot d'Arc wrote: I found that the huge font in menus is due to an error in the call to SystemParametersInfo. Digging more, vc2008 defines WINVER=0x0600, which corresponds to Windows Vista, and is too high for Windows XP: this value activates

[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

2007-12-17 Thread Christian Heimes
Christian Heimes added the comment: Christian Heimes wrote: Is 0x0500 fine for Windows 2000? Should we add WINVER=0x0500 to the Python project files, too? http://msdn2.microsoft.com/en-us/library/aa383745.aspx Minimum system required Minimum value for _WIN32_WINNT and WINVER Windows

[issue1645] Fix socketmodule.c:sock_recvfrom_guts() comment.

2007-12-17 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1645 __ ___ Python-bugs-list mailing list

[issue1646] Make socket support TIPC.

2007-12-17 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: - normal type: - rfe __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1646 __ ___ Python-bugs-list mailing

[issue1647] IDLE messes around with sys.exitfunc

2007-12-17 Thread Christian Heimes
New submission from Christian Heimes: Is it necessary to alter or remove the exit function? c:\dev\python\trunk\PCbuild9python ..\Lib\idlelib\idle.py Traceback (most recent call last): File c:\dev\python\trunk\lib\idlelib\run.py, line 83, in main exit() File c:\dev\python\trunk\lib

[issue1580] Use shorter float repr when possible

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Tim Peters wrote: This has nothing to do with what will or won't satisfy me, either. I'm happy with what Python currently does, which is to rely on #3 above. That's explainable (what's hard about understanding %.17g?), and relies only on what the 754

[issue1648] add new function, sys.gettrace

2007-12-18 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: - normal type: behavior - rfe __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1648 __ ___ Python-bugs-list

[issue1647] IDLE messes around with sys.exitfunc

2007-12-18 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +py3k priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1647 __ ___ Python-bugs-list mailing list

[issue1650] IDLE: help() displays output on the wrong shell

2007-12-18 Thread Christian Heimes
New submission from Christian Heimes: On Python 3.0 IDLE shows the output of help() on the system shell that started IDLE and not inside the IDLE window. -- assignee: kbk components: IDLE, Windows messages: 58732 nosy: kbk, tiran priority: normal severity: normal status: open title

[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

2007-12-18 Thread Christian Heimes
Changes by Christian Heimes: -- priority: - high resolution: - fixed status: open - pending __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1601 __ ___ Python-bugs

[issue1629] Py_Size() should be named Py_SIZE()

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: I tried a simple find | xargs sed replace and it worked well. find -name '*.c' -or -name '*.h' -or -name '*.rst' | xargs sed -i s/Py_Size\(/Py_SIZE\(/g __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1629

[issue1631035] SyntaxWarning for backquotes

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Warnings for and `` were added a while ago. -- nosy: +tiran resolution: - out of date status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1631035

[issue1337] Tools/msi/msi.py does not work with PCBuild8

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Python 2.6 and 3.0 are using PCbuild9. -- resolution: later - out of date status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1337

[issue1565037] use LSB version information to detect a platform

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: An user has written a parser for the LSB files in /etc/ for the GHOP project. It will be merged soon. -- nosy: +tiran resolution: - out of date status: open - closed _ Tracker [EMAIL PROTECTED] http

[issue1675118] Epoll wrapper

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: I think it's a very useful addition to the select module. But I see a license problem. Have you written the tests and code yourself and are you willing to relicense the code under the Python license? -- nosy: +tiran priority: normal - high type

[issue1669539] Change (fix!) os.path.isabs() semantics on Win32

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: The problem should be addressed and fixed before the next alpha release. -- nosy: +tiran priority: normal - high type: - behavior versions: +Python 3.0 _ Tracker [EMAIL PROTECTED] http://bugs.python.org

[issue1651] Limit the max size of PyUnicodeObject-defenc?

2007-12-18 Thread Christian Heimes
New submission from Christian Heimes: I think that the cached default encoding version of the unicode object should be limited in size. It's probably a bad idea to cache a 100MB of data. For large amount strings and unicode objects the user should do explicit caching if required

[issue1700467] stack size of python_d.exe on VC6

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Is the patch still required? VS 6 is old and we have moved to VC9 / VS 2008. -- nosy: +tiran resolution: - out of date status: open - pending _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1700467

[issue1526367] str.__iter__ and unicode.__iter__

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Raymond, can this entry be closed? In py3k PyString and PyUnicode have an iterator view. -- components: +Interpreter Core -None nosy: +tiran resolution: - rejected status: open - pending _ Tracker [EMAIL PROTECTED

[issue1640] Enhancements for mathmodule

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: Guido van Rossum added the comment: i suggest abandoning any attempts at implementing math ourselves. I also suggest not combining this with #1635 but reviewing and (eventually) applying the latter first. How do you like

[issue1635] Float patch for inf and nan on Windows (and other platforms)

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: (1) You shouldn't have to add pystrcmp.c to the VC project files since on Windows it isn't used, right? It was the easiest way to test the functions in pystrcmp. Linux doesn't have stricmp but it also doesn't require the additional

[issue1638] %zd configure test fails on Linux

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Backported to 2.5 in r59552 -- status: pending - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1638 __ ___ Python-bugs-list

[issue1654] HTTPSConnection is not IPv6-capable

2007-12-18 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - janssen nosy: +janssen priority: - normal versions: +Python 2.6 -Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1654

[issue1649] IDLE error: dictionary changed size during iteration

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Thanks Guido, I didn't read the code before I created this bug report. Fixed in r59554 -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1649

[issue1655] imaplib is not IPv6-capable

2007-12-18 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: - normal type: - rfe versions: +Python 2.6 -Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1655

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

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Your proposed fixed is not correct: length = self.msg.getheader(content-length) if length and not self.chunked: try: self.length = int(length) except ValueError: pass # patch

[issue1635] Float patch for inf and nan on Windows (and other platforms)

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: Applied in r59558 to the trunk -- resolution: accepted - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1635

[issue1640] Enhancements for mathmodule

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: The trunk_math_sign_inf_nan patch contains just three new method isnan(), isinf() and sign(). It also fixes a minor numerical issue with one function that did small / (small / large) instead of small * (large / small). Added file: http://bugs.python.org

[issue1629] Py_Size() should be named Py_SIZE()

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: I've renamed the three macros and added the old names for b/w compatibility. -- resolution: accepted - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1629

[issue1675118] Epoll wrapper

2007-12-18 Thread Christian Heimes
Christian Heimes added the comment: I've created my own interface modeled after the Twisted interface: #1657 I prefer to wrap the epoll control fd in an object, just like poll. -- priority: high - normal resolution: - duplicate status: open - closed superseder: - [patch] select.epoll

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: UPDATE: * Better API with register(), unregister() and modify() instead of control() * Some documentation Added file: http://bugs.python.org/file8993/trunk_select_epoll2.patch __ Tracker [EMAIL PROTECTED] http

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: For this patch, I don't see the benefit of putting it in the select module, instead of a separate module. Is there a specific reason? There is at least one, but probably several other modules named epoll or _epoll in the wild. These modules implement

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file8992/trunk_select_epoll.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python-bugs-list

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Changes by Christian Heimes: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: I mistakenly removed the wrong message. Here is the original msg: The patch implements Linux's epoll interface (http://linux.die.net/man/4/epoll). My patch doesn't introduce a new module like http://bugs.python.org/issue1675118 and it wraps the epoll control

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file8993/trunk_select_epoll2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python-bugs-list

[issue1657] [patch] select.epoll wrapper for Linux 2.6 epoll()

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: Added license header to test_epoll. Some C code cleanups Added file: http://bugs.python.org/file8999/trunk_select_epoll3.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657

[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2007-12-19 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1662 __ ___ Python-bugs-list mailing list

[issue1658] RuntimeError: dictionary changed size during iteration in Tkinter

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: Yes, it sounds like a good idea. The patch should be applied to 2.6. -- keywords: +patch nosy: +tiran priority: - normal resolution: - accepted versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http

[issue1665] re.match.func_code.co_filename returns re.py

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: I'm able to reproduce the problem on Ubuntu. It's probably caused by their compile step in python2.5.postinst: cd /usr/lib/python2.5 files=$(dpkg -L python2.5 | sed -n '/\.py$/s,^/usr/lib/python2.5/,,p') /usr/bin/python2.5 /usr/lib

[issue1664] nntplib is not IPv6-capable

2007-12-19 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +patch priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1664 __ ___ Python-bugs-list mailing list

[issue1665] re.match.func_code.co_filename returns re.py

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: Guido van Rossum wrote: Guido van Rossum added the comment: Well, if they do that, they apparently break inspect.py. Should they be doing that? Why are they doing that? Can you contact the Ubuntu folks about this? No, they shouldn't. It may be plain

[issue1665] re.match.func_code.co_filename returns re.py

2007-12-19 Thread Christian Heimes
Christian Heimes added the comment: I proposed to the maintainer that he should change one line to dpkg -L python2.5 | sed -n '/\.py$/p' In the mean time you can easily fix the issue with: sudo find /usr/lib/python2.5 -name '*.py[co]' -delete sudo python2.5 /usr/lib/python2.5

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-20 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file8999/trunk_select_epoll3.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python-bugs-list

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-20 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file9009/trunk_select_epoll_kqueue.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-20 Thread Christian Heimes
Changes by Christian Heimes: Added file: http://bugs.python.org/file9010/trunk_select_epoll_kqueue.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python-bugs

[issue1570] Backport sys.maxsize to Python 2.6

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: The GHOP task was a success. Georg will merge the new docs soonish. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1570

[issue1497] Patch to remove API to create new unbound methods

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: Georg, do we need more docs? -- assignee: tiran - georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1497 __ ___ Python

[issue1465] building python 2.6 with VC Express 2008 Beta2

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: The PCbuild9 directory works for 2.6 and 3.0. -- resolution: - out of date status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1465

[issue1377] test_import breaks on Linux

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: I've removed the disabled test from py3k. There is no chance it is going to work on all systems. -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1377

[issue1673] test_pep277 fails

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: Fixed in r59580 Please test it, I don't have access to a Windows box right now. -- nosy: +tiran resolution: - fixed status: open - pending __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1673

[issue1671] World tool ported to py3k

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: Thx :) -- keywords: +patch, py3k nosy: +tiran priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1671 __ ___ Python

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-20 Thread Christian Heimes
Christian Heimes added the comment: Some remarks: * the name of the function used for PyArg_ParseTupleAndKeywords in register, modify, unregister is set to control instead of the good name. Fixed * there is a leak in pyepoll_new if the parsing of arguments fails. Fixed

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-21 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file9014/trunk_select_epoll_kqueue2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python

[issue1677] Ctrl-C will exit out of Python interpreter in Windows

2007-12-21 Thread Christian Heimes
Christian Heimes added the comment: I don't think it's a critical bug but it may be worth to debug it. -- keywords: +py3k nosy: +tiran priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1677

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-21 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file9010/trunk_select_epoll_kqueue.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-21 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file9017/trunk_select_epoll_kqueue3.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python

[issue1678] description of startswith is confused

2007-12-21 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl nosy: +georg.brandl priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1678 __ ___ Python-bugs

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-21 Thread Christian Heimes
Changes by Christian Heimes: Removed file: http://bugs.python.org/file9018/trunk_select_epoll_kqueue4.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python

[issue1646] Make socket support TIPC.

2007-12-22 Thread Christian Heimes
Christian Heimes added the comment: I've chatted with albertito a few days ago and adviced him to post the patch here. I'll take it. From the first review the patch looks good. The code is written cleanly and it uses the appropriate API. The new code is surrounded by ifdefs and it has a patch

[issue1657] [patch] epoll and kqueue wrappers for the select module

2007-12-22 Thread Christian Heimes
Christian Heimes added the comment: I attached a patch with a more complete test of kqueue. It's not that great, but it's a thing. I've only tested on OS X, but it works. A small unit test is better than no unit test :) Regarding the ability of building an epoll object from a fd

[issue1684] CGIHTTPServer does not chdir prior to executing the CGI script

2007-12-23 Thread Christian Heimes
Christian Heimes added the comment: A small note from me: Your proposed patch is no good and is going to lead to strange, hard to debug bugs in your app. os.chdir() isn't safe in a threaded environment. You must protect the entire section with a global lock. -- nosy: +tiran

[issue1691] feature request: methods that modify instances should return instance

2007-12-23 Thread Christian Heimes
Christian Heimes added the comment: No, it's too confusing for users and it might hide bugs. The core types either change an object in place and return None *OR* the method returns a modified object. It's a design decision we won't change. In your case you can use the reversed(range(10

[issue1693] Please check merge from trunk

2007-12-24 Thread Christian Heimes
New submission from Christian Heimes: Can you please check the merge of typeobject.c from trunk in r59595? I'm not absolutely sure if it has the desired effect. slot_tp_hash() was heavily modified in py3k. -- assignee: gvanrossum components: Interpreter Core keywords: py3k messages

[issue1697] Problems with float and 6 type

2007-12-25 Thread Christian Heimes
Christian Heimes added the comment: Your results are correct and expected. You can find more information at: http://effbot.org/pyfaq/why-are-floating-point-calculations-so-inaccurate.htm http://en.wikipedia.org/wiki/IEEE_754 -- nosy: +tiran resolution: - invalid status: open - closed

[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3

2007-12-25 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - loewis priority: - high __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1699 __ ___ Python-bugs-list mailing list

[issue1706] Force WINVER 0x0500 (Windows 2000)

2007-12-28 Thread Christian Heimes
New submission from Christian Heimes: Do you think it's a good idea to force Win2k compatibility by defining WINVER 0x0500 in PC/pyconfig.h? It fixed the problem with Tcl/Tk, #1601. http://msdn2.microsoft.com/en-us/library/aa383745.aspx #define WINVER 0x0500 #define _WIN32_WINNT 0x0500

[issue1607] Patch for TCL 8.5 support

2007-12-28 Thread Christian Heimes
Christian Heimes added the comment: Can you start a discussion on python-dev please? Tcl/Tk support should be added to Python trunk (2.6) and ported to 3.0. Is it possible to keep compatibility with Tcl/Tk 8.4, too? -- resolution: - rejected status: open - closed

[issue1706] Force WINVER 0x0500 (Windows 2000)

2007-12-29 Thread Christian Heimes
Christian Heimes added the comment: The macros don't restrain us to Win2k but they prevent us from using APIs which are not compatible with Windows 2000. It's a compile time option to conditionally exclude new features from the header files. #ifndef NTDDI_VERSION #define NTDDI_VERSION

[issue1702] Word alias used in confusing way to compare open() and file()

2007-12-30 Thread Christian Heimes
Christian Heimes added the comment: open() is preferred over file(), too. In Python 2.5 open() returns a file instance but in 3.0 file is removed. -- nosy: +tiran __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1702

[issue1711] socket functions that should return unsigned int return signed int

2007-12-30 Thread Christian Heimes
Christian Heimes added the comment: Which number shows up as a negative number on your system? -- nosy: +tiran __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1711

[issue1712] Small errors in new-style classes doc

2007-12-30 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1712 __ ___ Python-bugs-list mailing list

[issue1711] socket functions that should return unsigned int return signed int

2007-12-30 Thread Christian Heimes
Christian Heimes added the comment: Please provide an example number __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1711 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1458] installer crashes on attempted cancellation

2007-12-31 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - loewis nosy: +loewis priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1458 __ ___ Python-bugs-list

[issue1690] Crash on cancellation of windows install

2007-12-31 Thread Christian Heimes
Changes by Christian Heimes: -- resolution: - duplicate status: open - closed superseder: - installer crashes on attempted cancellation __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1690

[issue1715] Make pydoc list submodules

2008-01-01 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl keywords: +patch nosy: +georg.brandl priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1715

[issue1694] floating point number round failures under Linux

2008-01-01 Thread Christian Heimes
Changes by Christian Heimes: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1694 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options

[issue1719] Cosmetic patch for doc/code mismatch (msilib.UuidCreate)

2008-01-02 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl nosy: +georg.brandl priority: - low __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1719 __ ___ Python-bugs

[issue1721] _tkinter.c:903: AsObj: Assertion `size size * sizeof(Tcl_UniChar)' failed

2008-01-02 Thread Christian Heimes
New submission from Christian Heimes: $ ./python Lib/idlelib/idle.py python: /home/heimes/dev/python/py3k/Modules/_tkinter.c:903: AsObj: Assertion `size size * sizeof(Tcl_UniChar)' failed. Aborted The code works when I change the assertion from to =. My Python 3.0 is compiled with unicode=UCS

[issue1720] VC6 build patch for release-maint25

2008-01-02 Thread Christian Heimes
Christian Heimes added the comment: Do you have time to check and fix the VC6 build directories of Python 2.6 and 3.0, too? I don't think that they are up to date. -- assignee: - loewis keywords: +patch nosy: +loewis, tiran priority: - low __ Tracker

[issue1301] Bad assertion in _tkinter.c

2008-01-02 Thread Christian Heimes
Christian Heimes added the comment: I've hit the same bug today. I vote for the removal of the assert() and a skip of the entire block if size == 0. I don't see what the assert() should test. -- nosy: +tiran versions: +Python 2.6, Python 3.0 __ Tracker

[issue1725] -1e-1000 converted incorrectly

2008-01-03 Thread Christian Heimes
Christian Heimes added the comment: I think we have found a bug in glibc's math code. I'm hanging around in #glibc and see if I can get an opinion on the matter. -- nosy: +tiran __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1725

[issue1726] Remove Python/atof.c from PCBuild/pythoncore.vcproj

2008-01-03 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - tiran keywords: +patch, py3k nosy: +tiran priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1726

[issue1726] Remove Python/atof.c from PCBuild/pythoncore.vcproj

2008-01-03 Thread Christian Heimes
Christian Heimes added the comment: Fixed in r59672 Thanks! I'm not sure if it was causing any trouble but better be safe than sorry. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1726

<    1   2   3   4   5   6   7   8   9   10   >