[issue10115] accept4 can fail with errno 90

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > That's another possibility, in which case we would first remove the > current accept4-calling code in order to fix the buildbot failure. In Python, the lowest layer facing the operating system always directly exposes the API as-is, without rei

[issue3631] Improve gdbinit of Python 2.6

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think the reference to EasierPythonDebugging is outdated and should be corrected. Dave Malcolm's work is already part of Python, and available with every Python build. -- nosy: +loewis ___ Python tracker

[issue3631] Improve gdbinit of Python 2.6

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > do we have official python docs on this that I should point to? I only know of the doc string of libpython.py itself, in Tools/gdb -- ___ Python tracker <http://bugs.python.org/iss

[issue8845] Expose sqlite3 connection inTransaction as read-only in_transaction attribute

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is now fixed in r85660. The field associated with a T_BOOL must be of type char, so I changed the type of inTransaction. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I'm the maintainer of a third-party library (gmpy) that would be > impacted by this and I'm definitely in favor of this change. Assume Python would make such a change, and users would build released gmpy versions for such a Python release. W

[issue9772] test_pep277 failure on AMD64 debian parallel buildbot

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: That appears to be a bug in the NFS server. When you creat("Gr\303\274-Gott"), what actually comes out of getdents(3) is Gr\303\274-Gott. This only happens with four bytes of non-ASCII - two UTF-8 bytes are correctly reported. We are investig

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: A few comments: - in complex_hash, why did you drop the cast? - in object.rst, add versionchanged. It should also explain that Py_hash_t is a signed integer with the same width as size_t. Otherwise, it looks fine

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I would have thought that someone who intended a Unicode hostname > to be looked up in its IDNA form would have encoded it using > IDNA, rather than an 8-bit encoding - how many C programs would > transcode the name that way, rather than just

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 18.10.2010 17:27, schrieb Antoine Pitrou: > > Antoine Pitrou added the comment: > >> AFAICT, a change from (Py_ssize_t)-1 to (size_t)-1 is less likely to >> break code than a change from -1L to (Py_ssize_t)-1. (Assuming a >>

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Wouldn't it be cleaner if x was the same type as hash? Note that > unsigned long is now wrong. What is needed is "unsigned integer type > of the same size as Py_hash_t." If Py_hash_t has to stay signed, I > think we should

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > My expectation is that Py_hash_t is the same as Py_ssize_t. The goal > is to make hashes match the range of possible table sizes. Please read the patch: typedef Py_ssize_t Py_hash_t; -- ___ Python t

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2010-10-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 19.10.2010 06:58, schrieb Raymond Hettinger: > > Raymond Hettinger added the > comment: > > Martin, any thoughts on adding a ZFS dependent feature? ISTM this > Solaris feature hasn't taken hold elsewhere and it may be a mistake

[issue10148] st_mtime differs after shutil.copy2

2010-10-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is a system limitation. The underlying file system supports nanosecond resolution for the file stamps, and stat(2) also supports reporting them. However, utimes(2) only supports microsecond resolution when setting them. Linux supports utimensat(2

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Also, if GetComputerNameEx() only offers a choice of DNS names or > NetBIOS names, and both are byte-oriented underneath (that was my > reading of the "Computer Names" page), then presumably there > shouldn't be a problem with ma

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Sorry, I didn't mean how Windows constructs the result for the > "A" interface - I was talking about Python code being able to map > the result from the Unicode interface to the form used in the > protocol (e.g. DNS). I believe

[issue5936] Add MSI suport for uninstalling individual versions

2010-10-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: It possible to script MSI, so that one could write a tool that manages all MSI files that have the multi-version feature, and add and remove them to Python installation in batches. Alternatively, it would also be possible to integrate this into the Python

[issue10179] os.stat fails on mapped network drive

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Let me guess: It's GetFinalPathNameByHandle that is failing. Put some debug output right after the call to verify. Why is this critical? Not being able to stat VirtualBox folders doesn't sound that critical to me. -- nos

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: These changes also look all reasonable to me. -- ___ Python tracker <http://bugs.python.org/issue9778> ___ ___ Python-bug

[issue10179] os.stat fails on mapped network drive

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think something like this is worth adding. I'd like to see two changes implemented: - GetLastError should be checked for the "not implemented or some such" error that you got, and the fallback only performed if its this error - a comment

[issue10182] match_start truncates large values

2010-10-23 Thread Martin v . Löwis
New submission from Martin v. Löwis : _sre.c:match_start currently uses Py_BuildValue("i") to return the start index, which itself is of type Py_ssize_t. This will get truncated on x64 Windows if the start is > 2**31. PyInt_FromSsize_t should be used instead. Other usages of

[issue10184] tarfile touches directories twice

2010-10-23 Thread Martin v . Löwis
New submission from Martin v. Löwis : When extracting, the time stamps of directories are modified twice: once when creating the directories, and then once in reverse order when done. The first utimes call is redundant; it also causes issues with a buggy NFS server, see http://www.python.org

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: I recommend to declare this issue closed, and keep it closed unless somebody wants to propose to revert the change (widening the hash type) completely. Any remaining issues that people want to attribute to this change (correctly or incorrectly) should be

[issue10187] exec encode unicode to utf-8 str automatically in GBK environment

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug, but intentional. a is a Unicode string; it does not have an encoding internally (not GBK, not UTF-8). Then, the string being exec'ed also becomes a Unicode string. exec'ing Unicode strings is confusing; try to avoid this. The se

[issue10187] exec encode unicode to utf-8 str automatically in GBK environment

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Oops, I meant a = "大" -- ___ Python tracker <http://bugs.python.org/issue10187> ___ ___ Python-bugs-list mailing

[issue10187] exec encode unicode to utf-8 str automatically in GBK environment

2010-10-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: > but why it is forced to encoded to utf-8, > I think it should be encoded by the locale related encodings,not always utf-8, > for example,in GBK locale,it should use GBK to encode the unicode > object,right? Wrong. Exec'ing Unicode

[issue10187] exec encode unicode to utf-8 str automatically in GBK environment

2010-10-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: > oh,you mentioned the PEP 263 > but I already set a header like this,you can see the attached test.py > #coding=GBK You have that in test.py, but not in the string you are giving to exec. This is really a separate source code. So you could hav

[issue10184] tarfile touches directories twice

2010-10-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: I see. Here is an updated version that makes the touch operations optional. -- assignee: ghaering -> lars.gustaebel nosy: -ghaering Added file: http://bugs.python.org/file19354/tarfile2.diff ___ Python trac

[issue1542677] compile(): IDLE shell gives different len() of unicode strings compared to Python shell

2010-10-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: As indicated in msg59954, it works fine on 3.x, so removing these versions. -- versions: -Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/issue1542

[issue1542677] IDLE shell gives different len() of unicode strings compared to Python shell

2010-10-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: For 2.7, I don't think it's possible to really fix this. I see the following options: A. current status. Byte strings are compiled correctly, Unicode strings are not. B. compile source as a Unicode string, as proposed in msg85886. Unicode st

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2010-10-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch lacks a documentation change. Otherwise, it looks fine. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2010-10-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If you ascertain yourself that the test works under ZFS then I think it > is enough. Of course, it would be better if a buildbot ran that test, > but we can live without it (IMHO). I agree. I trust that the patch is correct, and we really don'

[issue10202] ftplib doesn't check close status after sending file

2010-10-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't quite understand the problem. How exactly do you manage to lose data? The ftp server should send a 226 status code to indicate success over the control connection, and presumably it will do so only after receiving the proper TCP shutdown fro

[issue6715] xz compressor support

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > All fixed now. :) Does that refer to msg119743? Please provide this module as a patch for branches/py3k, otherwise it's difficult to see what exactly you are contributing. Also, please provide Doc/library/

[issue10202] ftplib doesn't check close status after sending file

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Proper behavior for ftplib when sending is to send all desired data, > then call "sock.shutdown(socket.SHUT_RDWR)". This indicates that no > more data will be sent, and blocks until the receiver has > acknowledged all their data. I t

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd like to see this patch reverted. I don't think it is useful. 1. encoding with NFD should not be necessary, as the system will do that, anyway. 2. decoding with NFC is incompatible with previous Python releases, and I can't see why NFC

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why is the second parameter optional? -- ___ Python tracker <http://bugs.python.org/issue9981> ___ ___ Python-bugs-list mailin

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Yes, but not exactly... Mac OS X NFD normalization is a little bit > different than Python's normalization: see msg105669 and > http://developer.apple.com/library/mac/#qa/qa2001/qa1173.html I see. This is one more reason not to convert string

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Did you know break building the 3.x documentation with Python 2? If so, please revert that change. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10

[issue10230] test_tarfile failure (test_extractall) on AMD64 debian parallel 3.x: os.utime(float) issue

2010-10-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is a duplicate of http://bugs.python.org/issue10184 -- ___ Python tracker <http://bugs.python.org/issue10230> ___ ___

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: I just did an experiment on Windows 7. I used SetComputerNameEx to set the NetBIOS name (4) to "e2718", and the DNS name (5) to "π3141"; then I rebooted. This is on a system with windows-1252 as its ANSI code page (i.e. u"π"==u

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: r85934 now uses GetComputerNameExW on Windows. -- ___ Python tracker <http://bugs.python.org/issue9377> ___ ___ Python-bug

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: The Solaris case then is already supported, with no change required: if Solaris bans non-ASCII in the network configuration (or, rather, recommends to use IDNA), then this will work fine with the current code. The Josefsson AI_IDN flag is irrelevant to

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: > The DNS name of the Windows machine is the combination of the DNS host > name and the DNS domain that you setup on the machine. I think the > misunderstanding is that you assume this combination will > somehow appear as known DNS name of the mach

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Wouldn't it be better to also attempt to decode the name using IDNA > in case the name starts with the IDNA prefix ? Perhaps better - but incompatible. I don't see a way to have the resolver functions automatically decode IDNA, without pote

[issue10243] Packaged Pythons

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Python 2.6, for example, does ship a shared library. That is not really the case. Python 2.6 ships in source form. It builds with a libpython shared library only if you configure with --enable-shared. > In particular it is NOT acceptable for any ext

[issue10244] PEP100 has broken links

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why do you say that the link is broken? -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10244> ___ ___ Pytho

[issue10244] PEP100 has broken links

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: The link works fine for me right now, and the starship is alive and well. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: The change from issue1054943 is indeed bogus. As written, the code will happily run over starters, even though a blocked start means that subsequent characters can't possibly be combinable. That way, the code manages to combine, in 'Li\u030dt-s\u

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: make_buildinfo is always built and run as a 32-bit binary, so I think this part of the change is fine (though unrelated to the objective of the change). I think the patch is fine. -- ___ Python tracker <h

[issue10254] unicodedata.normalize('NFC', s) regression

2010-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> It's unfortunate that the patch had been backported to 2.6.6; we can't fix >> it there anymore. > > Why not ? It looks a lot like a security fix. Indeed, you could argue that. It's up to

[issue6715] xz compressor support

2010-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: After starting to review the code, I'm becoming skeptical whether this is the right approach. This does way to much action in C, and thus becomes complicated but also limited. An alternative approach would be to just expose lzma_code to Python, and

[issue6715] xz compressor support

2010-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: > LZMAFile, LZMACompressor & LZMADecompressor are all inspired by and > written to be as similar to bz2's for easier use & maintenance. I > must admit that I haven't really put much thought into alternate ways > to implement the

[issue6715] xz compressor support

2010-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I guess I could rewrite it following these suggestions, but I probably won't > be able to > finish it in time for 3.2 beta. The more I think about it, the more I feel like -1 about this code as long as it uses stdio, and does buffering. W

[issue775964] fix test_grp failing when NIS entries present

2010-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think this approach (of file19364) is reasonable. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue775

[issue10276] zlib crc32/adler32 buffer length truncation (64-bit)

2010-11-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: I find your approach fine; there isn't a need (IMO) to have the underlying functions change. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/is

[issue10184] tarfile touches directories twice

2010-11-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is now committed as r86102. I opted to call the parameter set_attrs. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10184] tarfile touches directories twice

2010-11-01 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/issue10184> ___ ___ Python-bugs-

[issue10292] tarinfo should use relative symlinks

2010-11-01 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- assignee: -> lars.gustaebel nosy: +lars.gustaebel ___ Python tracker <http://bugs.python.org/issue10292> ___ ___ Python-

[issue10295] _socket.pyd uses winsock2, select.pyd uses winsock 1

2010-11-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue10295> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10243] Packaged Pythons

2010-11-04 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/issue10243> ___ ___ Python-bugs-

[issue9611] FileIO not 64-bit safe under Windows

2010-11-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I propose a different solution: On Windows, instead of calling write(), we call WriteFile directly. We try to faithfully follow the CRT implementation as much as possible, knowing that what we write to actually is a binary file (in particular, the file

[issue9611] FileIO not 64-bit safe under Windows

2010-11-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If I'm not mistaken, WriteFile takes the length as a DWORD, which is > still 32 bits under Win64. Oops, ignore me, then... I agree that clamping is fine, assuming the buffering layer takes that i

[issue10243] Packaged Pythons

2010-11-04 Thread Martin v . Löwis
Changes by Martin v. Löwis : Removed file: http://bugs.python.org/file19498/unnamed ___ Python tracker <http://bugs.python.org/issue10243> ___ ___ Python-bugs-list mailin

[issue9611] FileIO not 64-bit safe under Windows

2010-11-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > On a second thought... is there another example where a *blocking* stream > does not write all the data without raising an exception? Why do you think this would be somehow an example for a blocking stream that does not write all data without rais

[issue9611] FileIO not 64-bit safe under Windows

2010-11-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 04.11.2010 22:28, schrieb Amaury Forgeot d'Arc: > > Amaury Forgeot d'Arc added the comment: > >> Why do you think this would be somehow an example for a blocking stream >> that does not write all data without raising an

[issue10341] Remove traces of setuptools

2010-11-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue10341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10341] Remove traces of setuptools

2010-11-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: In this case, backporting is ok (but IMO not needed). -- ___ Python tracker <http://bugs.python.org/issue10341> ___ ___ Pytho

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: As for back-porting: I'm not sure this is a bug in 2.7. It just doesn't support Unicode filenames, but that's not (inherently) a bug. In 3.1, I can agree that it's a bug - but we need to preserve the bytes support for compatibility. F

[issue6317] winsound.PlaySound doesn't accept non-unicode string

2010-11-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Is this also applied to *all* ANSI Win32 API > in other sources? No. I think there are backwards compatibility concerns in some of the APIs, so this must be discussed on python-dev. -- ___ Python tracker

[issue775964] fix test_grp failing when NIS entries present

2010-11-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm able to, but I may not find time. Ask on python-dev; if you feel you need to push this, offer to review issues in return. -- ___ Python tracker <http://bugs.python.org/iss

[issue10349] Error in Module/python.c when building on OpenBSD 4.8

2010-11-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: Out of curiosity: why are you building with --with-cxx_main? -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10

[issue10217] python-2.7.amd64.msi install fails

2010-11-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: IIUC, Manfred's pythonInstallLog.zip is now from a successful installation, so it is unfortunately of little help. We really would need a log of a failed installation. -- ___ Python tracker

[issue10363] Embedded python, handle (memory) leak

2010-11-08 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- versions: -Python 2.5, Python 2.6 ___ Python tracker <http://bugs.python.org/issue10363> ___ ___ Python-bugs-list mailin

[issue10349] Error in Module/python.c when building on OpenBSD 4.8

2010-11-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: It should certainly work around the problem you are reporting. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10349] Error in Module/python.c when building on OpenBSD 4.8

2010-11-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: I wasn't really discussing (yet) whether this is a bug. I was just trying to find out what specifically made you use this configure option. The need for it should have gone away ten years ago or so. -- ___ P

[issue10070] 2to3 wishes for already-2to3'ed files

2010-11-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: And I still don't understand the rationale for this request. Can you please post an example Python module that has this markup you are asking for, so I can show you how to achieve what you want without the m

[issue10070] 2to3 wishes for already-2to3'ed files

2010-11-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't understand the example, either. If I run 2to3 on it, I get, as the only change if sys.version_info[0] < 3: # Python 2 -from urllib import quote, unquote -from urlparse import urlparse, urlunparse -

[issue10395] os.path.commonprefix broken by design

2010-11-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: This goes back to issue400788 and http://mail.python.org/pipermail/python-dev/2000-July/005897.html http://mail.python.org/pipermail/python-dev/2000-August/008385.html Skip changed it to do something meaningful (more than ten years ago), Mark Hammond

[issue10400] updating unicodedata to Unicode 6

2010-11-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: The database had been updated already in r85371. Backporting this change to maintenance branches is not allowed by policy. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker

[issue10070] 2to3 wishes for already-2to3'ed files

2010-11-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: > For example, starting on line 152 we have, > # Py3K > #return unicode(self.compile()) > # Py2K > return unicode(self.compile()).\ > encode('ascii', 'backslashreplace&

[issue10070] 2to3 wishes for already-2to3'ed files

2010-11-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Consider here: > http://www.sqlalchemy.org/trac/browser/lib/sqlalchemy/engine/base.py?rev=6884:b181f1e53603#L1329 > the py3k code uses the "raise ... from" syntax which isn't legal in Python 2. In this case,

[issue10414] socket.gethostbyname doesn't return an ipv6 address

2010-11-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Python has a policy of exposing low-level APIs as-is, i.e. the way the operating system implements them. gethostbyname is an old BSD socket API function that is limited to IPv4, and Python exposes it as such. If you want another convenience function, I

[issue11288] Python installed from MSI doesn't work

2011-02-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can anybody reproduce this? -- ___ Python tracker <http://bugs.python.org/issue11288> ___ ___ Python-bugs-list mailin

[issue11288] Python installed from MSI doesn't work

2011-02-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Matthew: please run "python -v", and attach any output it makes to this report. -- ___ Python tracker <http://bugs.python.o

[issue11288] Python installed from MSI doesn't work

2011-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ok, closing this as "invalid" then - it's not a bug in the installer, but a misconfiguration of the local system. Thanks to Bartosz for the analysis! -- resolution: -> invalid status: open -> closed _

[issue11338] No list of Python hg repositories

2011-02-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: Just for the record: at the moment, Python's source code isn't maintained in Mercurial at all, but in subversion. Therefore, there are no official repos - it's no surprise you didn't find any documentation what they were.

[issue11347] libpython3.so: Broken soname and linking

2011-02-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: Having the soname be libpython3 is the whole point of the library, it serves no other reason. It is intentional that there are file collisions with that file, and either the local admin or the distributor must make an explicit choice which libpython3

[issue11347] libpython3.so: Broken soname and linking

2011-02-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > The -hl -> -h part seems correct though. Indeed. -- ___ Python tracker <http://bugs.python.org/issue11347> ___ ___

[issue11347] libpython3.so: Broken soname and linking

2011-02-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > "Having the soname be libpython3 is the whole point of the library": > I think that the point of this library is "libpython3.so" filename, > not soname. Everything should still work if libpython3.so had no > soname at all.

[issue9313] distutils error on MSVC older than 8

2011-03-02 Thread Martin v . Löwis
Martin v. Löwis added the comment: Éric, what forward porting exactly needs to be done? -- ___ Python tracker <http://bugs.python.org/issue9313> ___ ___ Pytho

[issue11379] Remove "lightweight" from minidom description

2011-03-02 Thread Martin v . Löwis
Martin v. Löwis added the comment: -1. The description is factually correct - minidom *does* have a lower footprint than other Python DOM implementations (such as 4DOM). -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue11

[issue11379] Remove "lightweight" from minidom description

2011-03-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: > What about this phrasing then: > > """ MiniDOM has a smaller memory footprint than some of the other DOM > compliant implementations for Python (such as 4DOM), but uses about > 10x more memory than the faster and simpler x

[issue11379] Remove "lightweight" from minidom description

2011-03-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: > It's the tree based API most python users are parsing XML with, > though. So I do not agree that it's comparing apples and oranges, not > at all. It's comparing tree based XML libraries, only one of which is > worth being called

[issue11394] No Tools/demo, etc, on Windows

2011-03-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: These directories aren't missing - they are simply not included. Each such inclusion should be preceded by an explicit request (preferably with some rationale). Including the demo directory is fine wi

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2011-03-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Big dirs are really slow to read at once. Do you a proof for that claim? How big, and how really slow? > for i in os.listdir() > use(i) Also, how long does use(i) take, and what reduction (in percent) can you gain from listdir iterating?

[issue2771] test issue

2011-03-06 Thread Martin v . Löwis
Changes by Martin v. Löwis : Added file: http://bugs.python.org/file21018/a.diff ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailin

[issue2771] test issue

2011-03-06 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscri

[issue2771] test issue

2011-03-06 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11410] Use GCC visibility attrs in PyAPI_*

2011-03-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: Exporting the SizeT functions on all systems is fine. It's not true that they aren't declared: they are declared in modsupport.h if PY_SSIZE_T_CLEAN is defined. Else they are not declared. The patch looks fine to. I agree that mere cleanup sho

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: -1. Changing the Mercurial tree will make it more difficult to maintain the subversion tree, which will be the tree from which future 2.5 releases will be made. So if anything is done with this issue, please defer that after September 2011. -- nosy

<    3   4   5   6   7   8   9   10   11   12   >