[issue5212] Incorrect note about md5 in hmac module documentation

2010-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The supposed 'known weaknesses'. I have no particular opinion. Anyway, we have your recommendation: remove the note. I will let others defend it. -- ___ Python tracker

[issue5212] Incorrect note about md5 in hmac module documentation

2010-06-28 Thread .:. brainsik
.:. brainsik added the comment: Since the note is incorrect, it seems like it should be removed. What "results it is based on" are you referring to and what complaints are you concerned about? -- ___ Python tracker

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-28 Thread anatoly techtonik
anatoly techtonik added the comment: > R. David Murray added the comment: > > -1 Why? Do you like wrapped menu entries three lines long? -- ___ Python tracker ___ _

[issue960821] Add an updating load function in pickle

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This functionality already exists. """ If a string is returned [from __reduce__() method], the string should be interpreted as the name of a global variable. It should be the object’s local name relative to its module; the pickle module searches the m

[issue1581183] pickle protocol 2 failure on int subclass

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I reproduced the problem in py3k (both protocol 2 and 3). See issue1581183-test-py3k.py attached. -- nosy: +alexandre.vassalotti, belopolsky versions: +Python 3.2 Added file: http://bugs.python.org/file17798/issue1581183-test-py3k.py __

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2010-06-28 Thread R. David Murray
R. David Murray added the comment: If you can provide a short example that reproduces the problem it will be much more likely to get fixed. -- nosy: +r.david.murray stage: -> unit test needed type: -> behavior ___ Python tracker

[issue2236] Distutils' mkpath implementation ignoring the "mode" parameter

2010-06-28 Thread Greg Ward
Greg Ward added the comment: > Is it too late for 2.7? I have no idea. It does look as though someone has written unit tests for distutils, so the patch needs a test change too. Henrique? -- stage: -> unit test needed ___ Python tracker

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-28 Thread R. David Murray
R. David Murray added the comment: -1 -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jun 28, 2010 at 7:32 PM, Antoine Pitrou wrote: >> My patch attempts to emulate 2.x PyInstance_NewRaw with a call to >> tp_alloc. > > This is certainly the wrong thing to do. You could at least try > PyBaseObject_Type.tp_new (see object_new() in ty

[issue9094] Make python-m pickletools do something useful

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Well, assuming you want to make it useful, I'd make that > behaviour depend on a command-line option, .. OK, Antoine, you asked for it. :-) issue9094.diff -- Added file: http://bugs.python.org/file17797/issue9094.diff

[issue9111] cmd.do_help documentation should mention docstrings

2010-06-28 Thread Miki Tebeka
New submission from Miki Tebeka : cmd.Cmd looks for help either by searching for help_XXX method or by the docstring of do_XXX. The latter is not mentioned in the docs. -- components: Library (Lib) messages: 108883 nosy: tebeka priority: normal severity: normal status: open title: cmd.do

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Here's one resolution: 1. Edit setup.py to make INCLUDE/LIB paths for OpenSSL use the SDKROOT (for 10.5+ compat): [...] search_for_ssl_incs_in = ["/Developer/SDKs/MacOSX10.5.sdk/usr/include/" if ON_SNOW_LEOPARD else "/usr/include"] search_for_ssl_libs_in

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > An explicit dictionary to map the Python and C implementations may be a > better approach. +1. -- ___ Python tracker ___ ___

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: (and to follow on my example, I'd point that the unpickled instance is still an instance of the right class: >>> type(x) ) -- ___ Python tracker ___

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > My patch attempts to emulate 2.x PyInstance_NewRaw with a call to > tp_alloc. This is certainly the wrong thing to do. You could at least try PyBaseObject_Type.tp_new (see object_new() in typeobject.c), but even this is not necessarily right (for example if

[issue9110] contextlib.ContextDecorator

2010-06-28 Thread Michael Foord
Changes by Michael Foord : Added file: http://bugs.python.org/file17796/docs.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue9094] Make python-m pickletools do something useful

2010-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, assuming you want to make it useful, I'd make that behaviour depend on a command-line option, such that other actions can be added later. -- nosy: +pitrou ___ Python tracker

[issue9110] contextlib.ContextDecorator

2010-06-28 Thread Michael Foord
New submission from Michael Foord : Patch to add a ContextDecorator class to contextlib. This allows context managers that inherit from ContextDecorator (including using it as a mixin) to be used as decorators as well as context managers. Context managers inheriting from ContextDecorator still

[issue4151] Separate build dir broken

2010-06-28 Thread Neil Schemenauer
Neil Schemenauer added the comment: I believe the latest problem reported has been fixed by SVN rev 80649. -- assignee: -> nascheme nosy: -nas stage: -> committed/rejected ___ Python tracker

[issue9109] absolute import cleanups for Python 3

2010-06-28 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9109] absolute import cleanups for Python 3

2010-06-28 Thread Brett Cannon
Changes by Brett Cannon : -- stage: -> unit test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9109] absolute import cleanups for Python 3

2010-06-28 Thread Brett Cannon
Brett Cannon added the comment: Having level=-1 doesn't even work in Python 3 like it did in Python 2 (it seems to just act as if level is 0), so yes the -1 code can be removed. Probably need all values less than 0 to get rounded up to 0 for backwards-compatibility with Python 2.x code which

[issue9109] absolute import cleanups for Python 3

2010-06-28 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue9109] absolute import cleanups for Python 3

2010-06-28 Thread Neil Schemenauer
Changes by Neil Schemenauer : -- assignee: -> brett.cannon nosy: +brett.cannon -nas ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9109] absolute import cleanups for Python 3

2010-06-28 Thread Neil Schemenauer
New submission from Neil Schemenauer : It looks like there is a bunch of legacy relative import cruft kicking around in Python 3. The first thing I noticed is that __import__.__doc__ claims that level=-1 is the default (i.e. use the Python 2 behavior). A little testing shows that the docs do

[issue9108] list object variable assign with multiplication sign

2010-06-28 Thread Ezio Melotti
Ezio Melotti added the comment: That's because with [{}] * 3 you get a list with 3 copies of the same object, so all the elements in c refer to the same dict: >>> a = [{}, {}, {}] >>> b = [{}] + [{}] + [{}] >>> c = [{}] * 3 >>> map(id, a) [12850496, 12850784, 12850928] >>> map(id, b) [12851648,

[issue9108] list object variable assign with multiplication sign

2010-06-28 Thread muzuiget
New submission from muzuiget : platform: ubuntu 10.04 amd64, python 2.6.5 r265:79063 run below code a = [{}, {}, {}] b = [{}] + [{}] + [{}] c = [{}] * 3 print a, len(a), type(a) print b, len(b), type(b) print c, len(c), type(c) a[1]["test"] = 1234 b[1]["test"] = 1234 c[1]["test"] = 1234 print

[issue8943] Bug in InteractiveConsole

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: One easy fix for this would be to make InteractiveConsole use the string "__main__" instead of "__console__". But other than that, I don't think we can fix this within pickle. -- ___ Python tracker

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue3385] cPickle to pickle conversion in py3k missing methods

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: > Do I understand correctly that the issue is that python > Pickler class has dispatch attribute but C Pickler does > not? Yes. > The add_dispatch_check-0.patch patch does not seem > to add class attribute, it adds an instance attribute > instead. I kno

[issue9107] PyModule_Create not working properly

2010-06-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The issue tracker is not here to get help. Please ask your question on the comp.lang.python newgroup, or the python-list mailing list. There, I think you will have to show part of your code; there will certainly be several people willing to help you. -

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread Eric Smith
Eric Smith added the comment: -1 on this functionality being in os, for the same reasons David mentions. I find both of these behaviors useful and I have small utility functions of my own that do the same (and ignore any errors). I'm not so sure they need to be in stdlib, though. As mentioned

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2010-06-28 Thread Casey McGinty
Casey McGinty added the comment: This is how it gets in an "invalid state". Not sure why you can't look at the code and see the mistake. "There is no code in the SMTPServere.__init__ method that catches the exception raised, caused by the failed bind attempt. After the exception is caught, the

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Thank you for the nice investigative work! I will try my best to review this patch by next week. -- ___ Python tracker ___ _

[issue3428] httplib.HTTPMessage undocumented

2010-06-28 Thread ThomasH
ThomasH added the comment: > Actually urllib.urlopen.info method return a mimetools.Message instance But the urllib.rst documentation is still flawed: "The :meth:`info` method returns an instance of the class :class:`httplib.HTTPMessage`" (http://svn.python.org/view/python/trunk/Doc/library/

[issue1536] pickle's documentation is severely outdated

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: The new documentation for pickle in Python 3 fixes this. I still believe we should outline the differences between pickle.py and cPickle. But at this point, it's unlikely I will put the time to do it. Feel free to open a new issue if you want this to be

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2010-06-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Martin (Ellison): What people are trying to say is that likely, nobody will be working on this, and likely so for the next few years. So unless you volunteer to provide a patch, I recommend to close the issue as "won't fix". Unassigning myself. -- a

[issue655802] cPickle not always same as pickle

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: It's a documentation enhancement request. The updated documentation in Python 3 for pickle added most of the requested details. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue3430] httplib.HTTPResponse documentations inconsistent

2010-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, I know httplib documentation needs improvement. There is a great deal of documentation in the module itself. A lot can be .rst'ifed. -- assignee: georg.brandl -> orsenthil nosy: +orsenthil resolution: -> accepted stage: -> needs patch versions:

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: The code for import_module_implementations seems a bit fragile. Prefixing the module name with an underscore might not always yield the name of the optimized implementation. An explicit dictionary to map the Python and C implementations may be a better

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: I tried patching setup.py to force linking to Apple's Tcl/Tk: --- python/setup.py.original2010-06-28 11:40:26.0 -0700 +++ python/setup.py 2010-06-28 11:45:39.0 -0700 @@ -1682,6 +1682,15 @@ for F in framework_dirs:

[issue9094] Make python-m pickletools do something useful

2010-06-28 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Good idea! You can remove the doctest behavior. I don't think it is useful. But if you remove it, make sure you add an usage message when no argument is given. -- ___ Python tracker

[issue3430] httplib.HTTPResponse documentations inconsistent

2010-06-28 Thread ThomasH
ThomasH added the comment: Still applies. Neither the 2.7 documentation has changed (judging from the current online dev docs), nor the implementation (judging from current svn). So my first two lists are still valid. I cannot comment on the third, as I don't have a 2.7 installation at hand,

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The discussion on #152807 references two other closed tracker issues: #1678339 Test case that currently fails #1678345 Patch to change behavior - rejected because crippled behavior is supposedly intentional and removing the change would slow things down. The p

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file17794/issue9104.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17793/issue9104.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9107] PyModule_Create not working properly

2010-06-28 Thread Krauzi
New submission from Krauzi : Hi guys i have a big problem with my code: PyModule_Create doesnt add any methods to the module (all methods are correctly added to the PyMethodDef structure respective the PyModuleDef). With python 2.6.5 everything works well (Py_InitModule used instead of PyModule

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: In the new patch, issue9104.diff, I factored out import machinery into test.support.import_module_implementations and added it to a a couple of other test modules. I did not attempt to improve all pickle tests. The availability of import_module_impleme

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-28 Thread S Arrowsmith
S Arrowsmith added the comment: I've dug into it -- again -- and my original analysis still holds. Getting consistent guess_extension() results across an explicit init() call depends on dict.items() returning keys in the same order on two different dictionaries (the original, hard-coded types

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: unit test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17788/issue5180-fix.diff ___ Python tracker ___ ___ Python-bugs-list

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17781/issue5180.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-28 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2010-06-27, at 5:48 AM, Ronald Oussoren wrote: > Even when building using an SDK you can use frameworks in /Library/Frameworks > because $SDKROOT/Library/Frameworks is a symlink to the real > /Library/Frameworks. When building on 10.6, we are relying

[issue9105] pickle security note should be more prominent

2010-06-28 Thread anatoly techtonik
anatoly techtonik added the comment: Also http://docs.python.org/library/pickle.html http://docs.python.org/library/logging.html#sending-and-receiving-logging-events-across-a-network and http://mail.python.org/pipermail/python-dev/2010-June/101179.html The link to Nadia blog is also very helpf

[issue9106] remove numbers from 3-.. level entries in docs toc

2010-06-28 Thread anatoly techtonik
New submission from anatoly techtonik : It seems that left side ToC menu will be more clear without numeric prefixes from chapter on 3-.. nesting levels. How about to remove them? For example - the ToC menu now starting from root level: 15.6. logging — Logging facility for Python * 15.6.1.

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread R. David Murray
R. David Murray added the comment: In addition, os functions tend to be thin wrappers around system functions, and the system chdir does not return the cwd. Thus we'd be adding code to chdir that would be executed every time it was called even though it would only be used occasionally. Give

[issue9105] pickle security note should be more prominent

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See also issue8855. I believe Anatoly refers to http://docs.python.org/py3k/library/pickle.html I agree, the warning can be moved up so that it is visible on the first page in typical rendering. Note that there is also http://docs.python.org/py3k/tu

[issue9105] pickle security note should be more prominent

2010-06-28 Thread anatoly techtonik
New submission from anatoly techtonik : Pickle warning about insecurity is located only at the second page near the bottom of "Relationship to other Python modules" chapter. For me the proper place for it is the first page of documentation. -- assignee: d...@python components: Document

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a patch which focuses on fixing _pickle behavior. I opened a separate issue9102 to deal with pybench specific problems. Marc-Andre, I am reassigning this issue to myself and assigning issue9102 to you. I hope you don't mind. My patch

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Mon, Jun 28, 2010 at 04:50:12PM +, anatoly techtonik wrote: >I also can't see how can I verify you assumptions by looking at the code. In the python source: find -name "*.py" | xargs grep 'os.chdir' gives 143 instances of its usage. I looked a coupl

[issue3428] httplib.HTTPMessage undocumented

2010-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: That was a Documentation mistake. Thanks for pointing out. Corrected it in revision 82334 and merged to other branches. -- ___ Python tracker _

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: It looks good on the principle. As you say, factoring out this kind of machinery in test.support is probably the way to go. -- ___ Python tracker _

[issue9077] argparse does not handle arguments correctly after --

2010-06-28 Thread Domen Kožar
Domen Kožar added the comment: I always used optparse like this, using the rargs (maybe this is not main intention, but worked so far): >>> import optparse >>> parser = optparse.OptionParser() >>> parser.add_option('--test', action='store_true') >>> parser.parse_args(['--test', 'foo', 'foo1',

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread anatoly techtonik
anatoly techtonik added the comment: Brian, in case you remove previous directory - you will get the same exception that in the following code. prev = os.chdir(somepath) os.rmdir(prev) os.chdir(prev) Senthil, your arguments are strange. Both use cases are at least useful for me (if not intui

[issue9104] test_exceptions does not test pickling with pickle.py

2010-06-28 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : This is probably one example of many where pickling is only tested with _pickle module if it is available rather than separately with C and Python implementation. I am attaching a patch which implements one possible testing strategy. If this is acce

[issue9103] API keyword

2010-06-28 Thread anatoly techtonik
anatoly techtonik added the comment: Oops. Wrong tracker http://psf.upfronthosting.co.za/roundup/meta/issue341 -- ___ Python tracker ___ _

[issue9103] API keyword

2010-06-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please post on meta-tracker. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue3428] httplib.HTTPMessage undocumented

2010-06-28 Thread ipatrol
ipatrol added the comment: What about urllib2? It's explicitly mentioned as the return value of .info() -- ___ Python tracker ___ ___

[issue9103] API keyword

2010-06-28 Thread anatoly techtonik
New submission from anatoly techtonik : Need API keyword to filter refused API proposals. -- anatoly t. -- messages: 108836 nosy: techtonik priority: normal severity: normal status: open title: API keyword ___ Python tracker

[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2010-06-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +3.1 cannot unpickle 2.7-created pickle ___ Python tracker ___ ___ Python-bugs-list

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: -1 on chdir returning a the directory name. -1 on having it as context manager. Both are non-intuitive and may not serve any utility value. This can be verified by looking the code at the places where these functions are currently used. Brian also mentions a

[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2010-06-28 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : There are several issues that prevent $ python3 Tools/pybench/pybench.py -s 27.bench -c 32.bench from working. 1. There is a bug in _pickle that prevents 2.x pickles that contain classic class instances from loading in 3.x. This is addressed in issu

[issue9101] reference json format in file formats chapter

2010-06-28 Thread anatoly techtonik
New submission from anatoly techtonik : Quite often people use .json files for storing configuration. Having a reference to json module from chapter "14. File Formats" would be a good pointer for those looking to .ini alternatives. -- assignee: d...@python components: Documentation mes

[issue8653] urlparse.urlparse/urlsplit doc missing

2010-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r82324, r82325, r82326, r82327. Only the urlunsplit need the docstrings, I added that. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2010-06-28 Thread Brian Curtin
Brian Curtin added the comment: > I thought Python ran everywhere. That's what the documentation says. Python does *run* on Windows (when compiled with Visual Studio or gcc via Cygwin), it just might not be setup to build with the MSYS compiler. -- nosy: +brian.curtin ___

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2010-06-28 Thread R. David Murray
Changes by R. David Murray : -- nosy: +jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2010-06-28 Thread Martin Ellison
Martin Ellison added the comment: I thought Python ran everywhere. That's what the documentation says. Regards, Martin (m...@acm.org) On 28 June 2010 21:00, Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > > I don't think MSYS (or mingw32) is supported at all. > I'm

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread Brian Curtin
Brian Curtin added the comment: -0 for having os.chdir be responsible for the previous directory. I'm not too much against this, but it's very easily done in it's current state. -1 for making os.chdir into a context manager which reverts itself upon exit. There are a number of race conditions

[issue9100] test_sysconfig fails (test_user_similar)

2010-06-28 Thread Zsolt Cserna
New submission from Zsolt Cserna : Python 2.7rc2 test_user_similar test in test_sysconfig fails for me. I think it's because I have different --exec-prefix and --prefix specified. The test assumes that get_config_var('base') is the part of the global_path = get_path('platstdlib', 'posix_prefi

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2010-06-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I don't think MSYS (or mingw32) is supported at all. I'm even surprised that the build went so far. -- assignee: -> loewis nosy: +amaury.forgeotdarc, loewis ___ Python tracker

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2010-06-28 Thread Alexander Myodov
Alexander Myodov added the comment: Sorry for formatting above, a copypaste issue. The lines 202-204: win32.SetNamedPipeHandleState( h2, win32.PIPE_READMODE_MESSAGE, None, None ) The change that fixes the problem (at least for me): try: win32

[issue8852] _socket fails to build on OpenSolaris x64

2010-06-28 Thread David Kirkby
David Kirkby added the comment: Thank you Mark for confirming what I found. I understand your reservations about the code if you don't know of its correctness. I must admit I don't myself. I don't have a clue how this _socket module should be built. But it is clear to me that the original

[issue9099] multiprocessing/win32:

2010-06-28 Thread Alexander Myodov
New submission from Alexander Myodov : I am using Python 2.6.5/win32, and working with multiprocessing module, doing that with Python interpreter embedded using Cython (if that may be related to the problem). While creating a subprocess and a Pipe to communicate with it, I've got the followin

[issue9098] MSYS build fails with `S_IXGRP' undeclared

2010-06-28 Thread Martin Ellison
New submission from Martin Ellison : Python 2.6.5 build fails on MSYS with the following messages mar...@edward /c/Downloads/Python-2.6.5 $ make gcc -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes - I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/import.o Python/i

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-06-28 Thread Nick Coghlan
Changes by Nick Coghlan : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9097] os.chdir(path) to return current dir

2010-06-28 Thread anatoly techtonik
New submission from anatoly techtonik : os.chdir(path) is often used with os.getcwd() call and doesn't return anything. It can return the name of the directory before the change. prev = os.chdir(path) ... os.chdir(prev) Maybe it will also be possible to implement 'with' construct: with os.chd

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > The bytes/string issu was a red herring: with pickle.load(open('27.bench', > 'b')), I get the same stack trace as from command line pybench invocation. > > pickle.load(ope

[issue3990] The Linux2 platform definition is incorrect for alpha, hppa, mips, sparc

2010-06-28 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue3428] httplib.HTTPMessage undocumented

2010-06-28 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r82322 and r82323. Actually urllib.urlopen.info method return a mimetools.Message instance and a HTTPMessage instance is used within httplib only. It is more internal purposes to deal with headers with add_continue like methods is required. ipatrol

[issue5180] 3.1 cannot unpickle 2.7-created pickle

2010-06-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > I am attaching a patch which makes python3 read 27.bench without errors. I > think this should be applied while a complete solution for unpickling old > style class instances f