[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-30 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed and committed in revision 85125. Actually, this changes the behavior of BaseHTTPServer a little and adds two new methods to the code, so I don't think, this should be back-ported to 2.7 and 3.1. If older code were to encounter the

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread David
New submission from David wizza...@gmail.com: Hi, I mentioned this on the mailing list over here: http://mail.python.org/pipermail/python-list/2010-September/1256407.html I think it's a Python bug, so reposting it here: - Hi there, I have a strange situation. If I do this: 1.

[issue9980] str(float) failure

2010-09-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Delphi uses the following code at initialization. Yep. That would explain the problem. On x86 machines, Python's string-to-float and float-to-string conversions require that the x87 FPU has precision set to 53 bits rather than 64 bits

[issue9980] str(float) failure

2010-09-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: [Eric] There's no doubt a performance issue with doing so, although someone would have to measure that. It may well be swamped by the memory allocation, etc. that is going on at the same time and so won't matter. Yes, I think changing the

[issue9980] str(float) failure

2010-09-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It looks like you may need to override these macros for PyScripter. Stupid. Of course, this isn't an option if you're using the existing Python dll directly. For PyScripter, can you alter your Delphi layer to drop back to the normal

[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-09-30 Thread Alexander Dreyer
Alexander Dreyer adre...@gmx.de added the comment: The idea is, that an environment variable can be set globally by the master-build system or the packaging system. In contrary, the --no-user-cfg switch has to be added to the build description of each individial package. For strongly

[issue9992] Command line arguments are not correctly decoded if locale and fileystem encodings are different

2010-09-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: New submission from STINNER Victor victor.stin...@haypocalc.com: On UNIX/BSD systems, Python decodes arguments with the locale encoding, whereas subprocess encodes arguments with the fileystem encoding. If both

[issue9962] GzipFile doesn't have peek()

2010-09-30 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: Hi Antoine, BufferedIOBase is not documented to have peek(): http://docs.python.org/dev/py3k/library/io.html Small note about patch: 1) IOError string says read() on write-only..., should be peek() on write-only... ? 2) Should be min() in

[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-09-30 Thread Alexander Dreyer
Alexander Dreyer adre...@gmx.de added the comment: Of course, I mean: The error will *not* be detected... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9309 ___

[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-09-30 Thread Michael Brickenstein
Michael Brickenstein brickenst...@mfo.de added the comment: Actually, Sage acts in a similar way like virtualenvs do. In fact, config files are also a problem for virtualenv, see second red box here: http://wiki.pylonshq.com/display/pylonscookbook/Using+a+Virtualenv+Sandbox cite: ---

[issue9992] Command line arguments are not correctly decodedif locale and fileystem encodings aredifferent

2010-09-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The problem with command line arguments is that they don't necessarily have just one encoding (just like env vars may well use more than one encoding) on Unix platforms. The issue #8776 proposes the creation of sys.argv. When

[issue9968] Let cgi.FieldStorage have named uploaded file

2010-09-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. Do you want to work on a patch? -- components: +Library (Lib) -Extension Modules nosy: +eric.araujo, orsenthil stage: - needs patch versions: +Python 3.2 ___ Python tracker

[issue9992] Command line arguments are not correctly decodedif locale and fileystem encodings aredifferent

2010-09-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: The problem with command line arguments is that they don't necessarily have just one encoding (just like env vars may well use more than one

[issue2972] arguments and default path not set in site.py and sitecustomize.py

2010-09-30 Thread Geoffrey Bache
Geoffrey Bache gjb1...@users.sourceforge.net added the comment: Thanks for the tips, looks like we have the basis for a solid workaround here. Perhaps that could be encapsulated and added as sys.raw_argv or something in future? -- ___ Python

[issue9995] setup.py register sdist upload requires pass to be saved

2010-09-30 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: That's very annoying that distutils asks to save your pass when uploading to PyPI, but refuses to upload if you refuse. So you end up with storing your password in cleartext. Try the next command to see what I mean: setup.py register

[issue9980] str(float) failure

2010-09-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I wonder if calling _Py_SET_53BIT_PRECISION_START/_Py_SET_53BIT_PRECISION_END every time will have any measurable effect on performance. First, string conversions have a lot of overhead already. Then, for compilers that already set the

[issue2972] arguments and default path not set in site.py and sitecustomize.py

2010-09-30 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Suggest you raise a separate feature-request issue for that, Geoff, perhaps offering the two implementations described. Perhaps raise it it on python-ideas first to gauge reactions. I'm +0 myself since it's so easy to do anyway and I don't

[issue9992] Command line arguments are not correctly decodedif locale and fileystem encodings aredifferent

2010-09-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Extract of an interesting message (msg111432) of #8775 (issue specific to Mac OS X): A system where the filesystem encoding doesn't match the locale encoding is hard to get right. While it would be possible to add

[issue9992] Command line arguments are not correctly decodedif locale and fileystem encodings aredifferent

2010-09-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: A system where the filesystem encoding doesn't match the locale encoding is hard to get right. Mmmh. The problem is maybe that the new PYTHONFSENCODING environment variable (added by #8622) introduced an horrible inconstency

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: From a function *user* perspective, the latter API (bytes-bytes, str-str) is exactly what I'm doing. Antoine's point is that there are two ways to achieve that: Option 1 (what my patch currently does): - provide bytes and str variants of all

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Option 2 (the alternative Antoine suggested and I'm considering): - decode ... to str ... - ... objects are encoded back to actual bytes before they are returned In this case, you have to be very careful to not mix str and

[issue9980] str(float) failure

2010-09-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I benchmarked _PyOS_ascii_strtod without the macros, with the macros and with always calling both fnstcw/fldcw. There is no real difference: import timeit s = str(38210.0) t = timeit.Timer(stmt=s) t.timeit(number=1000)

[issue9980] str(float) failure

2010-09-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the numbers, Stefan. What about in the reverse direction (string to float)? I don't expect any real difference there, either, but it would be good to check. -- ___ Python tracker

[issue9980] str(float) failure

2010-09-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Whoops; that *was* string to float. How about float to string? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9980 ___

[issue1580] Use shorter float repr when possible

2010-09-30 Thread Ole Laursen
Ole Laursen o...@iola.dk added the comment: Just came across this bug, I don't want to reopen this or anything, but regarding the SSE2 code I couldn't help thinking that why can't you just detect the presence of SSE2 when the interpreter starts up and then switch implementations based on

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Yeah, the general implementation concept I'm thinking of going with for option 2 will use a few helper functions: url, coerced_to_str = _coerce_to_str(url) if coerced_to_str: param = _force_to_str(param) # as appropriate ... return

[issue976869] Stripping script extensions with distutils

2010-09-30 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: At this point, I'm more in favor of adopting something closer to the setuptools scripts based on console_scripts entry points, and dropping old-style scripts entirely (most *because* of the issues I mentioned at the start). --

[issue870479] Scripts need platform-dependent handling

2010-09-30 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: As noted in issue 976869, I'm very much in the camp of entry-point based generated scripts, which should clearly use the right line endings for the host platform. Hacking around with the file copy just doesn't make sense moving forward.

[issue9873] Allow bytes in some APIs that use string literals internally

2010-09-30 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9873 ___ ___ Python-bugs-list

[issue9996] binascii should convert unicode strings

2010-09-30 Thread Arnon Yaari
New submission from Arnon Yaari wiggi...@gmail.com: binascii is currently bytes-only, although the a in a2b\b2a should refer to unicode strings. This patch fixes all a2b functions to take str type and all b2a functions to return str types. This was discussed several times, for example:

[issue9980] str(float) failure

2010-09-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I would feel more comfortable if the correct FPU state is guaranteed. I agree, in principle. In practice there are some thorny issues to deal with, and things to think about: (1) The method for getting and setting the FPU precision varies

[issue9980] str(float) failure

2010-09-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark Dickinson rep...@bugs.python.org wrote: Whoops; that *was* string to float. How about float to string? These are the results for format_float_short. The first one is quite funny: If the control word is left as is (64-bit prec on

[issue9980] str(float) failure

2010-09-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The tracker swallowed some parts of my mail: In general, execution times for _Py_dg_dtoa vary quite a bit depending on the number that is converted: s = str(1.5e300) t = timeit.Timer(stmt=s) t.timeit(number=1000)

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-09-30 Thread Ivo van der Wijk
New submission from Ivo van der Wijk python@in.m3r.nl: This issue is also discussed on Stackoverflow: http://stackoverflow.com/q/3828611/320057 The following code def top(deck): pass def b(): global deck results in the error SyntaxError: name 'deck' is local and global (slightly

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-09-30 Thread Jeremy Hylton
Jeremy Hylton jhyl...@gmail.com added the comment: Let me fix that. -- nosy: +Jeremy.Hylton ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9997 ___

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9994 ___ ___ Python-bugs-list

[issue9042] Gettext cache and classes

2010-09-30 Thread v_peter
v_peter leanmeandonothingmach...@gmail.com added the comment: Which branches should i make patches for then? release27-maint and release31-maint? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9042

[issue9980] str(float) failure

2010-09-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: On an older Celeron platform the differences are up to 7%, but again, the number that is converted has a far greater impact: None: = s = str(38210.0) t = timeit.Timer(stmt=s) t.timeit(number=100) 3.277189016342163

[issue9980] str(float) failure

2010-09-30 Thread Tim Peters
Tim Peters tim.pet...@gmail.com added the comment: About thread state, the C standard is no help. That's an OS decision. All OSes I'm aware of do save/restore FPU state across thread switches. Doesn't mean all OSes do, just that I don't know of an exception. -- nosy: +tim_one

[issue9980] str(float) failure

2010-09-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There's a configure-time check that works out whether resetting the precision is necessary; if so, the precision is changed before each conversion and reverted again afterwards How about doing the check in Py_Initialize() instead? Then it

[issue9980] str(float) failure

2010-09-30 Thread Kiriakos Vlahos
Kiriakos Vlahos pyscrip...@gmail.com added the comment: For PyScripter, can you alter your Delphi layer to drop back to the normal default 53-bit precision before calling any Python stuff? Yes sure. That is how I traced the source of the problem. --

[issue9998] find_library should search LD_LIBRARY_PATH on linux

2010-09-30 Thread Jonathan Niehof
New submission from Jonathan Niehof jnie...@lanl.gov: It's come up on occasion (#2936, http://osdir.com/ml/python.ctypes/2008-05/msg00046.html) that ctypes find_library doesn't search LD_LIBRARY_PATH for libraries, which is different behaviour from the runtime linker. The attached patch adds

[issue9980] str(float) failure

2010-09-30 Thread Kiriakos Vlahos
Kiriakos Vlahos pyscrip...@gmail.com added the comment: How about doing the check in Py_Initialize() instead? Then it will work for embedders too. It is not good practice for DLLs to change the FPU control word when loaded, because the host application may have set it to a specific value for a

[issue9980] str(float) failure

2010-09-30 Thread Kiriakos Vlahos
Kiriakos Vlahos pyscrip...@gmail.com added the comment: How about doing the check in Py_Initialize() instead? Then it will work for embedders too. It is not good practice for DLLs to change the FPU control word when loaded, because the host application may have set it to a specific value for a

[issue9996] binascii should convert unicode strings

2010-09-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +flox, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9996 ___ ___ Python-bugs-list

[issue9996] binascii should convert unicode strings

2010-09-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Regardless of the various arguments, I think it is too late to break compatibility again, by disallowing bytes input, or changing the output type. What we could do is allow str arguments to a2b_ functions, with the restriction that the argument

[issue9986] PDF files of python docs have text missing

2010-09-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It looks like this should be solved in Sphinx. Can you report this on its tracker at Bitbucket? Thanks. -- nosy: +eric.araujo, georg.brandl ___ Python tracker rep...@bugs.python.org

[issue9977] TestCase.assertItemsEqual's description of differences

2010-09-30 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9977 ___ ___ Python-bugs-list

[issue9999] test_shutil cross-file-system tests are fragile (may not test what they pruport to test)

2010-09-30 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: In investigating issue 9993, I noticed that test_shutil wants to test things that require cross-file-system links, and arranges to have such links by creating a files and directories in the cwd and using tempfile. Presumably the hope

[issue9996] binascii should convert unicode strings

2010-09-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: -1 on this patch; I think any change must get consensus on python-dev first, and there is no point in resolving this in the bug tracker. If no agreement can be found (which is actually likely), a PEP needs to be written. My personal

[issue10000] mark more tests as CPython specific

2010-09-30 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc amaur...@gmail.com: When porting pypy to 2.7, we found that many tests actually exercise features specific to CPython, either the garbage collector, or the precise memory layout (__sizeof__). They should be marked as such, and skipped when run with

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2010-09-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello Jan, I noticed this bug and I wondered: what's your opinion now? Optparse is deprecated and it will be replaced by argparse, so I'm not sure it's interesting to introduce a new feature (the format_usage() method) but it might still be

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: can i have you do another experiment here? after you ssh r...@testbox /tmp/test.{py,sh} can you: 1) login to testbox, run pstree -p 2) run an strace -p pid_of_python_or_bash strace_for_foo.out (for each of the test.py and test.sh processes)

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Jean-Paul Calderone
Jean-Paul Calderone inva...@example.invalid added the comment: fwiw http://mail.python.org/pipermail/python-list/2010-September/1256545.html -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9994

[issue9994] Python becoming orphaned over ssh

2010-09-30 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Ah right, thanks. I added a restore_signals=True argument to Popen in Python 3.2's subprocess module that does what you want: http://docs.python.org/dev/library/subprocess.html The way to emulate that in earlier versions is to use a

[issue9993] shutil.move fails on symlink source

2010-09-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I can confirm that the tests fail before the patch (but if an only if /tmp is a different file system from the one where the build is, see issue ) and pass after the patch. The patch itself looks good to me and does accord better

[issue9996] binascii should convert unicode strings

2010-09-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9996 ___ ___

[issue9962] GzipFile doesn't have peek()

2010-09-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hir Nir, BufferedIOBase is not documented to have peek(): http://docs.python.org/dev/py3k/library/io.html Ah, you're right. Small note about patch: 1) IOError string says read() on write-only..., should be peek() on write-only... ?

[issue9999] test_shutil cross-file-system tests are fragile (may not test what they pruport to test)

2010-09-30 Thread Jonathan Niehof
Jonathan Niehof jnie...@lanl.gov added the comment: Might it make sense to skip-decorate those tests which require cross-filesystem? Put a test above the TestMove definition which compares tempfile.gettempdir() and os.path.dirname(__file__). I don't know of an out-of-the-box function to see

[issue10001] ~Py_buffer.obj field is undocumented, though not hidden

2010-09-30 Thread Lenard Lindstrom
New submission from Lenard Lindstrom le...@telus.net: Python 3.2a2+ (py3k:85072M, Sep 29 2010, 12:11:17) (from SVN) [GCC 4.4.5 20100728 (prerelease)] on linux2 (Debian squeeze) The ~Py_buffer.obj field is undocumented. Yet memoryview, that acts as a wrapper, includes the field in gc traversal.

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-09-30 Thread Dan Uznanski
Changes by Dan Uznanski duznan...@gmail.com: -- nosy: +dan.uznanski ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9997 ___ ___ Python-bugs-list

[issue10000] mark more tests as CPython specific

2010-09-30 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This seems rather open-ended and all-encompassing. Wouldn't it be better to have individual issues for specific tests? -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org

[issue9042] Gettext cache and classes

2010-09-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Antoine: Thanks for the correction. I was mistaken about versions some months ago and wrote such misleading comments in a handful of bugs. It has been corrected in some of them but not all. v_peter: You don’t have to do anything, it’s the job

[issue9042] Gettext cache and classes

2010-09-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: (I’m not sure my last line is unambiguous. I meant : Don’t worry, this will get in shortly.) -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9042

[issue9112] argparse missing documentation for error() method

2010-09-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, attached a patch that adds the exiting methods (exit() and error()) to argparse documentation. Regards, Sandro -- keywords: +patch nosy: +sandro.tosi Added file: http://bugs.python.org/file19070/issue9112-py3k.patch

[issue9807] deriving configuration information for different builds with the same prefix

2010-09-30 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I have a some code available for review here: http://codereview.appspot.com/2340041/ I've actually gone down a farther path than I originally intended, but I do kind of like where this is heading. It will allow me to install different

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-09-30 Thread joblack
New submission from joblack johannes.bl...@gmail.com: I tried to install the 32 Bit Python 2.7 Version (32 Bit version because of some 32 bit plugins) on a Windows Server 2008 DataCenter R2 and short at the end it throws the attached error message. Have you tried your Python 2.7 on a Windows

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-09-30 Thread joblack
Changes by joblack johannes.bl...@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10002 ___ ___ Python-bugs-list

[issue9807] deriving configuration information for different builds with the same prefix

2010-09-30 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: dmalcom and doko remind me that we need to handle the .so when --enable-shared is included -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9807

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2010-09-30 Thread Yotam Medini
Yotam Medini yo...@users.sourceforge.net added the comment: The HTMLParser.py fails when inside script ... /script it can fooled by JavaScript with less-than '' conditional expressions. In the attached example: $ tar tvzf lt-in-script-example.tgz | cut -c24- 796 2010-09-30 16:52 h2t.py

[issue670664] HTMLParser.py - more robust SCRIPT tag parsing

2010-09-30 Thread Yotam Medini
Yotam Medini yo...@users.sourceforge.net added the comment: The attached suggested patch fixes the problems shown in msg117762. -- Added file: http://bugs.python.org/file19073/HTMLParser.diff ___ Python tracker rep...@bugs.python.org

[issue9807] deriving configuration information for different builds with the same prefix

2010-09-30 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: doko so -Wl,-h soname is what counts [17:48] doko barry: and it would be good to have this soname available in this new module too [17:49] -- ___ Python tracker rep...@bugs.python.org

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-09-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Please run msiexec /i python-2.7.msi /l*v python.log, and compress and attach the resulting log file. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10002

[issue9962] GzipFile doesn't have peek()

2010-09-30 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9962 ___ ___ Python-bugs-list

[issue9962] GzipFile doesn't have peek()

2010-09-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch fixing these issues. -- Added file: http://bugs.python.org/file19074/gzipfixup.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9962

[issue10002] requested log file

2010-09-30 Thread joblack
joblack johannes.bl...@gmail.com added the comment: requested log file -- title: Installer doesn't install on Windows Server 2008 DataCenter R2 - requested log file Added file: http://bugs.python.org/file19075/python.zip ___ Python tracker

[issue10002] requested log file

2010-09-30 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In this specific run, the critical error was this: MSI (s) (38:74) [00:36:38:068]: Assembly Error:Der angeforderte Vorgang war nicht erfolgreich. Es ist ein Systemneustart erforderlich, um die durchgeführten Änderungen rückgängig zu

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-09-30 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- title: requested log file - Installer doesn't install on Windows Server 2008 DataCenter R2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10002

[issue10003] signal.SIGBREAK regression on windows

2010-09-30 Thread Martin
New submission from Martin gzl...@googlemail.com: The change in response to bug 9324 breaks bzr on windows as we use signal.SIGBREAK to listen for a ctrl+break keyboard press. Although SIGBREAK is not documented as valid on: http://msdn.microsoft.com/library/xdkz3x12 It does in fact work and

[issue10001] ~Py_buffer.obj field is undocumented, though not hidden

2010-09-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The recommended way is to use PyBuffer_FillInfo() (and then fill in any additional data if necessary), which will set the pointer and incref it itself. I agree all this is a bit poorly documented. -- assignee: - d...@python components:

[issue10003] signal.SIGBREAK regression on windows

2010-09-30 Thread Martin
Martin gzl...@googlemail.com added the comment: Also, the test seems to set signal handlers and never unset them, which I've also corrected. -- keywords: +patch Added file: http://bugs.python.org/file19076/sigbreak_windows_10003.patch ___ Python

[issue10003] signal.SIGBREAK regression on windows

2010-09-30 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- assignee: - brian.curtin resolution: - accepted stage: - patch review type: - behavior versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10003

[issue10002] cbs.log

2010-09-30 Thread joblack
joblack johannes.bl...@gmail.com added the comment: cbs.log -- title: Installer doesn't install on Windows Server 2008 DataCenter R2 - cbs.log Added file: http://bugs.python.org/file19077/CBS.zip ___ Python tracker rep...@bugs.python.org

[issue10000] mark more tests as CPython specific

2010-09-30 Thread Steve Holden
Steve Holden st...@holdenweb.com added the comment: Of course, but better some record than none due to the overwhelming nature of the task. At least someone else can carry the torch from here. -- nosy: +holdenweb ___ Python tracker

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: New version of the patch that adds many more tests, and handles non-ASCII bytes in header values by changing them to '?'s when the header value is retrieved as a string. I think I'm half done. Still to do: generate_bytes, and the doc

[issue8190] Add a PyPI XML-RPC client module

2010-09-30 Thread Alexis Metaireau
Alexis Metaireau ametair...@gmail.com added the comment: Please, can you be a bit more precise about the missing features ? I'll be glad to cover them. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8190

[issue6608] asctime does not check its input

2010-09-30 Thread MunSic JEONG
MunSic JEONG rus...@gmail.com added the comment: belopolsky I am little worried about my words. I made patch against 2.7-maint branch. But I recognized that patch is not following rules, because of your guidance. Then I uploaded another patch against py3k branch again. and

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-09-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Please don't change the subject, it changes the bug title, which makes the bug report less useful :) -- nosy: +r.david.murray title: cbs.log - Installer doesn't install on Windows Server 2008 DataCenter R2

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-09-30 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: I can confirm this bug. Attached is the test case. -- keywords: +patch nosy: +jfinkels Added file: http://bugs.python.org/file19079/issue1050268.testcase.patch ___ Python tracker

[issue1481347] parse_makefile doesn't handle $$ correctly

2010-09-30 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: There seems to be a test case for this: http://svn.python.org/view/python/trunk/Lib/distutils/tests/test_sysconfig.py?view=diffr1=73340r2=73341 -- nosy: +jfinkels ___ Python