[issue6715] xz compressor support

2011-05-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: > maybe it'd be better to add support for libarchive That wouldn't be better. We want the C dependency as small and low-level as possible, so that the dependency is small and the functionality flexible to implement stuff in Python

[issue1615158] POSIX capabilities support

2011-05-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: > "posixcap" sounds ok to me. Bike-sheddingly, it bothers me that these functions are actually *not* defined by POSIX, but have been withdrawn before becoming standard. So I'd rather call it linuxcap. Using _linuxcap, and exposing them from

[issue10425] xmlrpclib support for None isn't compliant with XMLRPC

2010-11-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: In case it isn't clear from the discussion in issue8792: I'd be in favor of supporting extensions as long as their usage is an opt-in feature. The current nil support is already an opt-in feature. If alternative spellings of nil need to be sup

[issue8792] Support Apache extensions to XML-RPC in xmlrpclib

2010-11-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > An addition: It was reported in #10425 that None values are > incorrectly serialized as , instead of just > , or maybe <{namespace prefix for extensions defined by > Apache}:nil/>. This is not incorrect, but follows the specification of th

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: db: there *is* no "sane system ca path", or Python would have done that long ago. On Windows, it may be possible to drop OpenSSL, and use the system certificate store. However, that would be a major rewrite, and it may not be possible to provide

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> The best that could be done is to provide a configuration option (e.g. >> global variable) that should be treated as a default value, and then >> leave it to people distributing Python to fill out this variable in a >> sensible way

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> This may not be satisfying to users. For example, our Windows >> distribution doesn't ship with any certicates (AFAIK); I have no >> clue where exactly OpenSSL would be looking for them, either. >> People worried about this prob

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

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

[issue10458] 2.7 += re.ASCII

2010-11-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: -1. That's a new feature. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10458> ___ ___ Python-bugs-l

[issue10459] missing character names in unicodedata (CJK...)

2010-11-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: Marc-Andre: Many of the characters you refer actually do have names assigned, even if the names don't appear in the Unicode character database. Instead, they are specified in section 4.8 of the Unicode standard, and unicodedata.c already implements tha

[issue10469] test_socket fails

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Kotan: please perform the following procedure: 1. Open pcbuild.sln 2. In the pythoncore project, open errnomodule.c 3. find the reference to EWOULDBLOCK and WSAEWOULDBLOCK 4. for each one, "go to definition" 5. report here what header files Vis

[issue10469] test_socket fails

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: OK, so what's the path to errno.h? In the errno.h included in my copy of VS 2010, the errno values only go up to 42 (80 if you count STRUNCATE), and EWOULDBLOCK is not defined in this header file. -- ___ P

[issue10469] test_socket fails

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Oops, I was confused. My copy is VS 2008, of course. So that's another incompatible change in VS 2010. Tcl, Ruby, and curl are ahead of us, here: http://redmine.ruby-lang.org/issues/show/3092 http://sourceforge.net/tracker/index.php?func=detail&ai

[issue10469] test_socket fails

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Only in the "system_error" file. > (http://msdn.microsoft.com/en-us/library/ee372194.aspx) > Seem to be a C++0X standard header file. (I assume you have actually scanned the crt\src folder as well) Then it's indeed

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

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: The changes look fine to me. -- ___ Python tracker <http://bugs.python.org/issue6007> ___ ___ Python-bugs-list mailin

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Antoine, I was proposing that the Windows installation should have a folder where OpenSSL looks for certificates, and that users put trusted certificates into that folder. These should be the ones that set_default_verify_paths will use. Unfortunately, I

[issue10483] http.server - what is executable on Windows

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think it's fairly clear what should be considered executable in this context: anything that subprocess.Popen is able to launch (because if is_executable succeeds, this is what will happen to the file). This excludes word files, and also excludes

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > So for python3 is it possible to make attempting to use capath(some > common ones OR the openssl location capath if this is ok for use) the > default(with failure to find a valid capath result in an exception > being raised) ? The default? That

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > The answer depends on what the socket module is trying to do. Is the > goal simply to provide a pythonic thin wrapper over the underlying OS > interfaces without altering their semantics, or to provide a > completely homogeneous abstra

[issue10491] Insecure Windows python directory permissions

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is a duplicate of issue1284316 -- resolution: -> duplicate status: open -> closed superseder: -> Win32: Security problem with default installation directory ___ Python tracker <http://bug

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Here is the issue (put plainly): Unfortunately, I still don't understand it. I go through your plain elaboration below. > Python sockets support a notion of timeout (note this notion is not > reflected in the OS socket API). Correct. >

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > We are talking about the timeout feature, which is a Python feature, not > a BSD (or Linux) sockets feature. It should work properly, even if that > means adding some boilerplate around system calls. I agree that the semantics of the socket timeo

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Here is a patch that changes SSLContext into a context manager, allowing to write code like with ssl.SSLContext(ssl.PROTOCOL_SSLv23): ssl.SSLContext.current().set_default_verify_path() res = urllib.request.urlopen("

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Well, I don't think setting a timeout on a listening socket and then > expecting the socket received through accept() to be non-blocking (but > only on BSD) is a legitimate application. Right. But setting the server socket to nonblocking, and

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > The Python implementation sets timeout=None (which implies that the > underlying socket is blocking). No, it doesn't. A socket may be non-blocking without having a timeout; that's the socket API (on all systems, not just BSD). > The pro

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > However, I hope we can all agree that having the Python socket object > in a different blocking / non-blocking state than the OS socket > descriptor is wrong. This is what needs to be fixed. Ok, now I see where your misunderstanding is: you sim

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I got into this by starting with Issue7322, which reports a scenario > where data is lost using makefile(). The docs for makefile() say, > "The socket must be in blocking mode (it can not have a timeout)". > So, we've got pu

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Well, unless someone explains convincingly how the current behaviour is > desireable (rather than misleading and useless), I really think this is > a bug that should be fix (then we can also discuss what the fix should > exactly be). So please p

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2010-11-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Set blocking or non-blocking mode of the socket: if flag is 0, the > socket is set to non-blocking, else to blocking mode. > > This seems to imply that timeout = None -> blocking. I see. So gettimeout() should really make a system cal

[issue10483] http.server - what is executable on Windows

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin, that is an interesting viewpoint, and one I considered, but > didn't state, because it seems much too restrictive. Most CGI > programs are written in scripting languages, not compiled to .exe. > So it seems the solution should allow

[issue10459] missing character names in unicodedata (CJK...)

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: For 3.2, this now fixed in r86681. -- ___ Python tracker <http://bugs.python.org/issue10459> ___ ___ Python-bugs-list mailin

[issue10459] missing character names in unicodedata (CJK...)

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch for 3.1 is r86685. The patch for 2.7 is r86686. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10483] http.server - what is executable on Windows

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Your suggestion of making CGIHTTPRequestHandler easier to subclass is > certainly a good one, and is almost imperative to implement to fix > this bug in a useful manner without implementing an insufficient set > of Windows extensions (f

[issue10501] make_buildinfo regression with unquoted path

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Kristjan, can you take a look? -- assignee: -> krisvale nosy: +loewis ___ Python tracker <http://bugs.python.org/issu

[issue10504] Trivial mingw compile fixes

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: What's the objective of this patch? I.e. what precisely is it supposed to achieve? -- nosy: +loewis ___ Python tracker <http://bugs.python.org/is

[issue10504] Trivial mingw compile fixes

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I doubt this fix will be enough to fix compilation with mingw32. So somebody will have to verify independently. If it fails to fix the bug completely, it's out of scope for 2.7 (it's out of scope for 2.7.1 IMO either way). > With thi

[issue10504] Trivial mingw compile fixes

2010-11-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Please give me some starting point by applying these patches. I don't > care if it's for 2.7.1 or 2.7.2. I'll try hard to get *everything* > fixed, but we have to start somewhere. I'm skeptical that we should do that with 2.7, t

[issue10504] Trivial mingw compile fixes

2010-11-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Why exactly are you skeptical? Because it doesn't fix everything in > one go? The other changes are also minimal (I'm not even sure if it > requires more source changes, maybe I have just to get my #defines > right). If you prefer to se

[issue10500] Palevo.DZ worm msix86 installer 3.x installer

2010-11-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: What file specifically did you download? -- ___ Python tracker <http://bugs.python.org/issue10500> ___ ___ Python-bugs-list m

[issue10493] test_strptime failures under OpenIndiana

2010-11-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin, could you check it? Thanks!. Not in the foreseeable future, sorry. -- ___ Python tracker <http://bugs.python.org/issu

[issue10493] test_strptime failures under OpenIndiana

2010-11-23 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- assignee: loewis -> ___ Python tracker <http://bugs.python.org/issue10493> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10493] test_strptime failures under OpenIndiana

2010-11-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: > The fix was ported from trunk (2.7) to py3k branch, but it was not > applied to 3.1 branch, though. I don't know why, but seems to be an > oversight. No, it was deliberate: it was not backported all, neither to 3.1, nor to 2.6. I was concerned

[issue6715] xz compressor support

2010-11-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: > While I realize Python extension modules are pretty much the norm in > CPython, it'd be pretty cool if xz support could be written overtop > of ctypes. ctypes seems to be emerging as the way of doing FFI > across different python implement

[issue10560] Fixes for Windows sources

2010-11-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > According to the instructions received at #python-dev, I'm posting a > new patch with the same fixes made on the most recent SVN sources > (py3k). Actually the new patch does not include the fixes made on the > GetFileAttributesEx wrapper

[issue10500] Palevo.DZ worm msix86 installer 3.x installer

2010-11-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the confirmations; closing this report as invalid. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: In 2.6, there was a manually maintained list, probably dating back to before Unicode 4.0. Python uses the following criterion for determining white space characters: /* Returns 1 for Unicode characters having the bidirectional type 'WS', &#x

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > It's not just this character. isspace() is also False for \u200c and \u200d > (from the same category). and \u2060, \u2800 and \ufeff What reason do you have to believe that they should be classified as whitespace, other than the web page you

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I'm not quoting anything. Thank you very much. Oops, sorry - I confused you with the OP. -- ___ Python tracker <http://bugs.python.org

[issue10567] Unicode space character \u200b unrecognised a space

2010-11-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> In 2.6, there was a manually maintained list, probably dating back to before >> Unicode 4.0. > > That's not quite correct: Python 1.6.x - 2.5.x used tables for the > PyUnicode_ISSPACE() function that were created from the Unico

[issue4214] no extension debug info with msvc9compiler.py

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: /pdb:None initially did *not* mean "no debug information", but "no pdb file", see http://msdn.microsoft.com/en-us/library/aa278542(VS.60).aspx Debug information would be embedded to the DLL. Later versions of the VS documentation fail

[issue10580] Installer sentence in bold

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd like a native speaker (of English) to confirm this request. The report is about Tools/msi/msi.py. -- ___ Python tracker <http://bugs.python.org/is

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: > These changes don't affect gencodec.py, but it may be inconvenient to > run makeunicodedata.py and gencodec.py using different versions of > Python. As MAL explains: these are completely unrelated, independent tools, and gencodec isn't

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I am adding #10552 as a dependency because I think we should fix > unicode data generation in 3.x before adding new features to the > scripts. > > I am also not sure whether this is a bug or a feature request. > Martin? I fail to se

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug, see http://www.unicode.org/reports/tr44/#Numeric_Value Characters have a Numeric_Type property of either null, Decimal, Digit, or Numeric. For non-Unihan characters, this is denoted by filling out either no column, or (6,7,and 8), or (7

[issue4214] no extension debug info with msvc9compiler.py

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ah ok, then removing the option sounds fine to me (not for 2.6, though). -- versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue4

[issue10583] Encoding issue with chm help in 2.7.1

2010-11-29 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10583> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Thanks for the explanation. I wrongly assumed that "make all" is the > way to regenerate both unicodedata and the encodings and that the two > are interdependent. Ah. I never use the Makefile. -- ___

[issue10575] makeunicodedata.py does not support Unihan digit data

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

[issue10587] Document the meaning of str methods

2010-11-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: What is the issue that you are reporting? that the status quo should be documented, or that isalpha is wrong? These are independent - don't mix them. -- nosy: +loewis ___ Python tracker <http://bugs.py

[issue1170] shlex have problems with parsing unicode

2010-11-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: The key requirement to consider for in POSIX compatible mode is, well, POSIX compatibility, which is defined in http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html

[issue10600] surrogateescape'd paths not readable on Windows XP.

2010-12-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug. You can't expect that using an arbitrary codec (such as UTF-8) with the surrogateescape code, and expect to be able that opening the file will be able to produce the correct filename. This won't work on Unix, in the general ca

[issue10614] ZipFile and CP932 encoding

2010-12-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: No, there is no indication in the zipfile that it deviates from the spec. That doesn't stop people from creating such zipfiles, anyway; many zip tools ignore the spec and use instead CP_ACP (which, of course, will then get misinterpreted if extracted

[issue10615] Trivial mingw compile fixes

2010-12-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: When the patch is applied, what's the resulting status of mingw compilation? -- nosy: +loewis ___ Python tracker <http://bugs.python.org/is

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 04.12.2010 09:32, schrieb Johann Hanne: > > Johann Hanne added the comment: > >> When the patch is applied, what's the resulting status of mingw compilation? > > It compiles all C files which I require. Not sure if this is re

[issue10623] What’s New In Python 3.2 document re fers to PEP 382: Defining a Stable ABI

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the report. Fixed in r87042 -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Sure - it actually builds a python.exe which is fully working for me. If you > need a proof, please let me know, I have no problem uploading it somewhere... > > Is there a reason you are so sceptical? After all, Python for Linux is also > u

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > After all, the Win32 platform is not that uncommon. I know, MinGW > could be seen as a different platform, but I never encountered a > situation where I required anything but the exe file (no special > MinGW DLL or something like that). Traditio

[issue10615] Trivial mingw compile fixes

2010-12-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: > IMO this is a use case for the new "soabi" tag... Unfortunately not: these tags are not supported on Windows. -- ___ Python tracker <http://bugs.pytho

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: As per http://mail.python.org/pipermail/python-dev/2010-December/106374.html I think this checkin should be reverted, as it's breaking the language moratorium. -- ___ Python tracker <http://bugs.py

[issue10631] ZipFile and current directory change

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: More formally: it's unspecified. I'd like to propose this general principle: If you pass a relative path to some library that gets stored in the library, it's unspecified whether the cwd is consider at the point of passing the path or at the

[issue8910] Write a text file explaining why Lib/test/data exists

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: All README files are automatically packages, and so is this one. -- status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue10634] Windows timezone changes not reflected by time.localtime

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug in Python, but in the Microsoft CRT. Rewriting Python to not use the CRT anymore for this is non-trivial, in particular as the semantics of environment variables (TZ) needs to be considered. -- nosy: +loewis

[issue10636] subprocess module has race condition with SIGCHLD handlers

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If when it caught SIGCHLD python pushed an event onto its internal > event loop to execute the handler, I think that would make sure it's > deferred until after the assignment. This is not a reasonable request. How long would you want to

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Very sorry, I created the bug calling CloseHandle twice > in Modules/posixmodule.c. I think this should be fixed > before beta1 released. Can I commit it? Even if you commit it now, it won't get into beta1: the Windows binaries for that are

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: The second CloseHandle call will fail. As we are not checking the CloseHandle result, this has no further consequences, AFAICT. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

2010-12-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: quick followup: there is a chance that this closes the wrong file due to race conditions, in case a different thread opens a file in-between that gets the same handle. Due to the GIL, this is unlikely

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: Kristjan, can you take a look? -- nosy: +krisvale ___ Python tracker <http://bugs.python.org/issue8194> ___ ___ Python-bug

[issue10634] Windows timezone changes not reflected by time.localtime

2010-12-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: What needs reinitialization is not the time module, but the CRT. This is not possible without starting a completely new process. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10615] Trivial mingw compile fixes

2010-12-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: > As for the reproducibility issue: The configure/Makefile system > coming with Python simply doesn't support creating a Windows build. I > hope it's clear that the patch is NOT about creating a Windows > installer. If this is a requ

[issue1528154] New sequences for Unicode groups and block ranges needed

2010-12-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- Removed message: http://bugs.python.org/msg54865 ___ Python tracker <http://bugs.python.org/issue1528154> ___ ___ Python-bug

[issue10615] Trivial mingw compile fixes

2010-12-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > - Embedding Python by just compiling/linking all the .c files in > seems to be a major feature to me; so fixing compilation is useful > for its own If that's the objective of the patch, I'm -1 on it. > - The win32 build system has

[issue10665] Update and expand unicodedata module documentation

2010-12-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please, one issue per report and checkin, and no work-in-progress on the tracker. The issue of factually correcting claims about the unicodedata module and elaborations on how it works are unrelated issues. -- nosy: +loewis

[issue5845] rlcompleter should be enabled automatically

2010-12-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: There is no readline support on Windows at all, so I don't think the Windows installer can be affected. I'm uncertain what the proposed change to Python is at this point, though. -- ___ Python trac

[issue10665] Expand unicodedata module documentation

2010-12-10 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Why? I thought "release early, release often" was a good thing. Create a branch for that, or post an issue on Rietveld. W-I-P IMO confuses people reviewing the patches, running into the same ones over-and-over again, only to find out every t

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2010-12-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can you please formulate that is a test case? Use this structure: 1. do this 2. this happens 3. this should happen instead -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10

[issue10681] PySlice_GetIndices() signature changed

2010-12-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: The source is correct. Fixed in r87171. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10681] PySlice_GetIndices() signature changed

2010-12-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's not an incompatible change, but I added the versionchanged anyway in r87173. -- ___ Python tracker <http://bugs.python.org/is

[issue10681] PySlice_GetIndices() signature changed

2010-12-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: > It's source level incompatible - my extension modules compiled fine with > v3.2a but failed with v3.2b1. That's because you are using C++, right? In C, there shouldn't be any problems. -- _

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's clearly not a bug: the documented grammar matches the implemented grammar. Asking for more abstract consistency is a feature request. This also clearly falls under the PEP 3003 moratorium. -- nosy: +loewis type: behavior -> feature

[issue9232] Allow trailing comma in any function argument list.

2010-12-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Retargetting, as this falls under the moratorium, and also because 3.2b1 has been released. -- nosy: +loewis versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue9

[issue10683] PreLinkEvent error under VC2010

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: The problem is different: there is a stray " in pythoncore"\getbuildinfo.o. Kristjan, this is your change: can you take a look? -- nosy: +krisvale, loewis ___ Python tracker <http://bugs.python.o

[issue10631] ZipFile and current directory change

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: > So, Martin, are you then arguing that this should in fact be > considered a bug in ZipFile? The documentation for the constructor > says "Open a ZIP file, where file can be either a path to a file (a > string) or a file-like object."

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ok, so closing as rejected. -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue9232] Allow trailing comma in any function argument list.

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis added the comment: In #10682, several committers indicated that they would prefer not to change this. So I'm closing this as rejected. Per convention, it would probably require a PEP to modify Python in this aspect (as there is no clear consensus). -- resol

[issue10665] Expand unicodedata module documentation

2010-12-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Are you going to reject say issue2636 on this basis? :-) Has *any* > patch ever been rejected as incomplete? I certainly did close patches for that reason. Before that, I keep asking people not to post W-I-P. As for issue2636, I have been really t

[issue9232] Allow trailing comma in any function argument list.

2010-12-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: I stand by my evaluation: there is clearly no consensus about this change, so it certainly requires more discussion, potentially leading to proponents being asked to write a PEP. -- ___ Python tracker <h

[issue10712] 2to3 fixer for deprecated unittest method names

2010-12-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: 2to3 patches should currently be made against and checked into the sandbox. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue10

[issue10721] Remove HTTP 0.9 server support

2010-12-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: The question really is whether we want or want not to support RFC 1945 (i.e HTTP/1.0). If we want to support it, we also must comply to section 3.1, which says The version of an HTTP message is indicated by an HTTP-Version field in the first line of the

[issue1449496] Python should use 3GB Address Space on Windows

2010-12-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm rejecting this as "won't fix". Users having the underlying problem (i.e. need more than 2GB of heap) really should switch to a 64-bit installation. The risk of something breaking is just not worth it. That testing showed no issues

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

2010-12-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Am 17.12.2010 01:56, schrieb STINNER Victor: > > STINNER Victor added the comment: > > "Ooops", sorry. I just applied the patch suggested by Marc-Andre > Lemburg in msg22885 (#1054943). As the patch worked for the examples > giv

<    5   6   7   8   9   10   11   12   13   14   >