[issue8670] c_types.c_wchar should not assume that sizeof(wchar_t) == sizeof(Py_UNICODE)

2010-05-08 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : Using a UCS2 Python on a platform with a 32-bit wchar_t, the following code throws an exception (but should not): >>> ctypes.c_wchar('\u1') Traceback (most recent call last): File "", line 1, in TypeError: one character unicode string expected The

[issue1591035] update urlparse to RFC 3986

2010-05-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is addressed and tests included as part of issue1462525. -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker _

[issue8618] test_winsound failing on Windows Server 2008

2010-05-08 Thread Brian Curtin
Brian Curtin added the comment: Attached is a patch which uses the multimedia mixer API to find out how many devices are known by the mixer. If none are known, 0 will be returned, and thus tests will be skipped. -- keywords: +patch Added file: http://bugs.python.org/file17270/issue861

[issue8618] test_winsound failing on Windows Server 2008

2010-05-08 Thread Brian Curtin
Brian Curtin added the comment: Seems like this happens because there is no playback device installed. Apparently there are audio drivers install but no playback device is configured to use them. I'm looking for a command line tool or some other way to find out details of playback devices an

[issue8513] subprocess: support bytes program name (POSIX)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: my bad. hopefully r81019 fixes that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8354] siginterrupt with flag=False is reset when signal received

2010-05-08 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Should be resolved in, oh, let's see, r81007, r81011, r81016, and r81018. Thanks to everyone who helped out. -- resolution: -> fixed status: open -> closed versions: +Python 3.1 ___ Python tracker

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > Check that it is equivalent to utf-8 with surrogatesescape then. The file system encoding can be anything, not only utf-8. Anyway: r81014. -- ___ Python tracker

[issue8350] os.mkdir doc comment is incorrect

2010-05-08 Thread John Mark Schofield
John Mark Schofield added the comment: I'd also suggest changing the title to "Documentation for many functions in os module is incomplete." I didn't because I don't know if that would be considered rude. (I'm new to the Python community.) -- ___ P

[issue8350] os.mkdir doc comment is incorrect

2010-05-08 Thread John Mark Schofield
John Mark Schofield added the comment: Please don't close this as "invalid." Most (all?) of the functions in the os module have positional-only arguments, which are documented in exactly the same manner as arguments which can be supplied using a keyword. As someone reading the documentation,

[issue8513] subprocess: support bytes program name (POSIX)

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > Build on the os._execvpe unittest I added in py3k r81001. The test fails on Windows. == FAIL: test_internal_execvpe (test.test_os.ExecTests) -

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/5/8 STINNER Victor : > > STINNER Victor added the comment: > >> Why does this have no tests? > > The function is trivial. Does it really need tests? What kind of tests? Check that it is equivalent to utf-8 with surrogatesescape then. > > fsencode() is

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > Why does this have no tests? The function is trivial. Does it really need tests? What kind of tests? fsencode() is already tested indirectly by test_subprocess, and #8513 will add new tests. -- ___ Python tracke

[issue8324] add a distutils test command

2010-05-08 Thread Dan Buch
Dan Buch added the comment: For what it's worth, I'm trying to adapt the setuptools command of the same name in a feature branch called "mbh/adding-test-command" --> http://bitbucket.org/meatballhat/distutils2/ Not sure how the roundup/ split is usually handled, so sorry if I'm doin it wrong

[issue8669] lack of bdist_rpm module raises error on 'setup.py --help-commands'

2010-05-08 Thread Dan Buch
Changes by Dan Buch : Added file: http://bugs.python.org/file17269/distutils2-bdist-rpm-error.txt ___ Python tracker ___ ___ Python-bugs-list m

[issue8669] lack of bdist_rpm module raises error on 'setup.py --help-commands'

2010-05-08 Thread Dan Buch
New submission from Dan Buch : Running 'python setup.py --help-commands' in the distutils2 package raises an error because there is no 'bdist_rpm' module. Should references to 'bdist_rpm' be removed, or should the 'bdist_rpm' module be (re?)introduced? -- assignee: tarek components: D

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: And reverted in trunk r81013. Multiple buildbot problems from the initial commit due to the unittest. This is likely to be py3k only at this point. I do believe sig.patch.v3 is fine, but its the test_pdb2 unittest that is difficult to make work well. ---

[issue8668] add a 'develop' command

2010-05-08 Thread Dan Buch
New submission from Dan Buch : make a 'develop' command in distutils2 a la setuptools (unless, of course, this has already been unilaterally refused via distutils-sig or other communication) -- assignee: tarek components: Distutils2 messages: 105359 nosy: meatballhat, tarek priority: n

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2010-05-08 Thread Brett Cannon
Brett Cannon added the comment: Did this go anywhere, David? Since beta2 just went out now is the time to either revert or enshrine the new behavior. -- ___ Python tracker ___ _

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: I tried to recompile Python with "export PYTHONIOENCODING=ascii" but it doesn't fail. That's because the Makefile calls "./python -E ./setup.py -q build": -E ignores environment variables. -- ___ Python tracker

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > > If the standard output is not a TTY, Python uses ASCII encoding > > for sys.stdout > We could perhaps fix this too, if python-dev agrees. Open a new issue please if you consider that as a bug. -- ___ Python tr

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> unit test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Wasn’t PYTHONIOENCODING added for such cases? Yes, it was, but it's a very bad workaround. In most if not all cases, people will set PYTHONIOENCODING to their system's default encoding. Therefore, they shouldn't have to set an environment variable at all. --

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: Wasn’t PYTHONIOENCODING added for such cases? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: Attached patch escapes non-ASCII characters of the log message using ASCII+backslashreplace (but keep unicode type). -- keywords: +patch Added file: http://bugs.python.org/file17268/distutils_spawn_toascii.patch ___

[issue7397] __import__ docs should reference importlib.import_module

2010-05-08 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: georg.brandl -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue2090] __import__ with fromlist=

2010-05-08 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: wont fix -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If the standard output is not a TTY, Python uses ASCII encoding for > sys.stdout We could perhaps fix this too, if python-dev agrees. -- ___ Python tracker

[issue8667] Link to PEP 3147 from importlib docs

2010-05-08 Thread Brett Cannon
New submission from Brett Cannon : In trying to keep importlib's docs THE place to go for links to all relevant import details, a link to PEP 3147 is needed. -- assignee: brett.cannon components: Documentation keywords: easy messages: 105351 nosy: brett.cannon priority: low severity: no

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: If the standard output is not a TTY, Python uses ASCII encoding for sys.stdout: ./python -c "import sys;print(sys.stdout.encoding)"|cat => ascii. This issue remembers me: #8533 (regrtest: use backslashreplace error handler for stdout). -- __

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: (I wrote before I saw Victor’s reply) Does it work with PYTHONIOENDODING set to UTF-8? -- ___ Python tracker ___ _

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: Committed to trunk in r81012. though as this missed 2.7beta2 its possible that will be rejected and this becomes a 3.x only feature. I'm porting to py3k now. -- versions: +Python 3.2 ___ Python tracker

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: Another long-standing encoding bug was fixed: It was impossible to use e.g. an author name with non-ASCII characters. The fix makes distutils use UTF-8. Of course, it’s more complicated to choose an encoding for terminal I/O. -- nosy: +merwok __

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: Conditions to reproduce the bug: don't use make -j N (unset MAKEFLAGS), stdout and stderr should be be TTY => use make 2>&1|cat. -- ___ Python tracker

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Anyway, regardless of the actual stdout encoding, distutils should be able to log messages without crashing, IMO. -- ___ Python tracker ___ ___

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Dan Buch
Changes by Dan Buch : -- nosy: +meatballhat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, this might be more interesting: $ cat | ./python -i Python 3.2a0 (py3k:81010, May 8 2010, 23:25:47) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.getpreferredencoding() 'UTF-8' >>

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: As I answered on IRC, this is on a buildbot environment. Compiling from the command line works fine, but not from the buildbot environment. >From the command line, the locale is as following: $ locale LANG=en_GB.UTF-8 LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.U

[issue8644] timedelta.total_seconds needlessly inaccurate, especially for negative timedeltas

2010-05-08 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file17267/issue8644.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue8644] timedelta.total_seconds needlessly inaccurate, especially for negative timedeltas

2010-05-08 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17266/issue8644.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue8644] timedelta.total_seconds needlessly inaccurate, especially for negative timedeltas

2010-05-08 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Sat, May 8, 2010 at 10:07 AM, Mark Dickinson wrote: .. > I definitely think this should go into 2.7 as well;  total_seconds has only > seen the light of day > in the beta releases so far, so it's unlikely we'd break anyone's code with > this change.

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: What is your locale and your locale encoding? distutils use ASCII but I'm not sure that your locale encoding is ASCII, because Python fails to start if the locale is ASCII and the path contains a non ASCII character. See also issue #8611: "Python3 doesn't sup

[issue8653] urlparse.urlparse/urlsplit doc missing

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: I think you mean http://docs.python.org/library/urlparse.html#urlparse.urlparse Dave, perhaps you were looking at an older version? Doc fixes for maintainance branches are welcome. -- nosy: +merwok ___ Python tracker

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: I don’t know if this feature request should be discussed on python-ideas first. Do you have real use cases for this, is it just a nice-to-have thing? If it’s accepted, I have some remarks about the patch: - 2.7 is feature-frozen, so you’ll need to target the py3k

[issue8642] json.loads description

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: Seems ok to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> unit test needed versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list

[issue8084] pep-0370 on osx duplicates existing functionality

2010-05-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'll look into this in the morning. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue6507] Enhance dis.dis to autocompile codestrings

2010-05-08 Thread Daniel Urban
Daniel Urban added the comment: Done. Attached new patch as issue6507_2_priv.diff. -- Added file: http://bugs.python.org/file17265/issue6507_2_priv.diff ___ Python tracker ___ __

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Tim Chase
Tim Chase added the comment: Trying a 3rd time to attach the diff (this time from Safari instead of FF) -- keywords: +patch Added file: http://bugs.python.org/file17264/ConfigParser.diff ___ Python tracker

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Tim Chase
Tim Chase added the comment: For some reason, the diff didn't attach to the previous message. -- ___ Python tracker ___ ___ Python-bug

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Tim Chase
New submission from Tim Chase : Patch to update ConfigParser.py so that the .get* methods can take an optional parameter rather than raising exceptions. Usage: cp = ConfigParser(...) # ... value = cp.get('MySection', 'MyOption', default='some default') i = cp.getint('MySecton', 'MyInt'

[issue8664] py_compile.compile() should consistently create parent directory of target file

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks good. Applied in r81005. -- nosy: +benjamin.peterson resolution: -> accepted status: open -> closed ___ Python tracker ___ ___

[issue8665] "make pycremoval" fails

2010-05-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is probably because you remove the directory while find is walking it: $ make pycremoval find . -name '*.py[co]' -exec rm -f {} ';' find . -name '__pycache__' -exec rmdir {} ';' find: `./Lib/http/__pycache__': No such file or directory find: `./Lib/unitt

[issue8084] pep-0370 on osx duplicates existing functionality

2010-05-08 Thread Mark Dickinson
Mark Dickinson added the comment: Ronald, r80967 makes test_site fail on my machine, with the following output: == FAIL: test_getsitepackages (__main__.HelperFunctionsTests) -

[issue8664] py_compile.compile() should consistently create parent directory of target file

2010-05-08 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> barry nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue6507] Enhance dis.dis to autocompile codestrings

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: disassemble_str should be private with an underscore. -- ___ Python tracker ___ ___ Python-bugs-l

[issue8664] py_compile.compile() should consistently create parent directory of target file

2010-05-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- keywords: +patch Added file: http://bugs.python.org/file17263/python-issue8664.patch ___ Python tracker ___ ___

[issue8664] py_compile.compile() should consistently create parent directory of target file

2010-05-08 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : Currently when cfile argument of py_compile.compile() is None, then path to target file is automatically calculated and parent directory of target file is created. If the same path of target file is explicitly passed as cfile argument

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: > In Unicode-agnostic mode, instead of leaving Py_UNICODE, > PyUnicodeObject, and many functions undefined, I wonder if it would > be sufficient to declare Py_UNICODE like this: Sounds good. -- ___ Python tracker

[issue8662] bytes join cannot join bytes

2010-05-08 Thread Timothy Pederick
Timothy Pederick added the comment: Brett: Well, I was more thinking along the lines of making join() recognise when it's been passed a bytes object, rather than changing the semantics of indexing bytes. That would be a bit overdramatic! But if it's wontfix, it's wontfix. Antoine: Yes, the s

[issue5099] subprocess.Popen.__del__ causes AttributeError (os module == None)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: I think your patch looks good Brett. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8630] Keepends param in codec readline(s)

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think this can qualify as a bug fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8662] bytes join cannot join bytes

2010-05-08 Thread Brett Cannon
Brett Cannon added the comment: While the bytes-returning-int semantics might be annoying in this case, but as you point out, Timothy, it's too late to change this. -- nosy: +brett.cannon resolution: -> wont fix status: open -> closed ___ Python tr

[issue8547] unittest test discovery can fail when package under test is also installed globally

2010-05-08 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue8513] subprocess: support bytes program name (POSIX)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: Build on the os._execvpe unittest I added in py3k r81001. Protected functions are perfectly fine things to unittest. -- ___ Python tracker _

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: In Unicode-agnostic mode, instead of leaving Py_UNICODE, PyUnicodeObject, and many functions undefined, I wonder if it would be sufficient to declare Py_UNICODE like this: struct PY_UNICODE_TYPE; typedef struct PY_UNICODE_TYPE Py_UNICODE; That would allow

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : Distutils fails logging characters which are not part of the "default encoding": http://www.python.org/dev/buildbot/builders/AMD64%20Ubuntu%20wide%203.x/builds/1062/steps/compile/logs/stdio [...] File "/home/buildbot/cpython-ucs4-nonascii-\u20ac/3.x.pitro

[issue8662] bytes join cannot join bytes

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's not a very useful thing to join a single string, though. -- nosy: +pitrou ___ Python tracker ___ __

[issue8301] Putting a function in a unittest.TestSuite doesn't work

2010-05-08 Thread Michael Foord
Michael Foord added the comment: Committed revision 80997. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue8662] bytes join cannot join bytes

2010-05-08 Thread Timothy Pederick
New submission from Timothy Pederick : This code behaves as expected: >>> ' '.join('cat') 'c a t' This code does not: >>> b'\x00'.join(b'cat') Traceback (most recent call last): ... b'\x00'.join(b'cat') TypeError: sequence item 0: expected bytes, int found Instead, you have to do somethin

[issue8627] Unchecked PyErr_WarnPy3k return value in Objects/typeobject.c

2010-05-08 Thread Mark Dickinson
Mark Dickinson added the comment: I also have my doubts about the other 'goto error' lines in PyType_Ready, but I haven't figured out how to trigger those gotos in normal code. Trying to figure out how to clean up properly on error in PyType_Ready is making my head hurt. As a quick fix, we c

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, May 8, 2010 at 11:35 AM, Marc-Andre Lemburg wrote: > One of the more important cases you are missing is the > argument parser in Python: Thanks. I've had my head buried in c-api/unicode.html and unicodeobject.h. > Py_UNICODE *x; > Py_ssize_t y; > P

[issue8636] enumerate() test cases do not cover optional start argument

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r80991. Thanks for the patch. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8038] Provide unittest.TestCase.assertNotRegexpMatches

2010-05-08 Thread Michael Foord
Michael Foord added the comment: Docstrings committed revision 80990. -- stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Daniel Stutzbach wrote: > > Daniel Stutzbach added the comment: > > On Sat, May 8, 2010 at 10:16 AM, Marc-Andre Lemburg > wrote: >> Are you sure this doesn't get optimized away in practice ? > > I'm sure it doesn't get optimized away by gcc 4.3, where I

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, May 8, 2010 at 11:20 AM, Martin v. Löwis wrote: > I'd rather modify PyModuleDef_Base, to include a flags field, and > perhaps put the api version into it, as well. That's an ABI change, > unfortunately, but such a flags field may turn out useful, anyw

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: > In most cases that will Just Work, without requiring the module writer > to modify their PyModuleDef. I'd rather modify PyModuleDef_Base, to include a flags field, and perhaps put the api version into it, as well. That's an ABI change, unfortunately, but suc

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, May 8, 2010 at 11:02 AM, Martin v. Löwis wrote: > Did you mean to include the hunk from msg105295 as part of the patch? > If so, wouldn't that defeat the whole point of the patch? My intention is to offer two compilation modes to extension authors:

[issue8084] pep-0370 on osx duplicates existing functionality

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed test_sysconfig.py in r80986. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, May 8, 2010 at 8:07 AM, Martin v. Löwis wrote: > 1. add a flag to PyModuleDef, indicating whether the module was built in > UCS-2 or UCS-4 mode. Then let the interpreter refuse the load the module, > instead of having the dynamic linker do so. > 2.

[issue8661] FAQ item 2.25 is unclear

2010-05-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: I would also suggest a re-ordering of FAQ entries in this manner: 1st What tools do I need to merge between branches? 2nd How do I merge between branches? And then, How do I prepare a new branch for merging? With the explanation/clarification. -

[issue7723] sqlite only accept buffer() for BLOB objects (input/output)

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Documentation can always be updated later. -- nosy: +benjamin.peterson priority: release blocker -> normal ___ Python tracker ___ ___

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> Are you sure this doesn't get optimized away in practice ? > > I'm sure it doesn't get optimized away by gcc 4.3, where I tested it. :) Did you mean to include the hunk from msg105295 as part of the patch? If so, wouldn't that defeat the whole point of the

[issue7724] setup.py ignores SDK root on OSX

2010-05-08 Thread Stefan Krah
Stefan Krah added the comment: Just to save you some time investigating, it broke the build because of missing parentheses in setup.py: if sys.platform == 'darwin' and dir.startswith('/System') or dir.startswith('/usr') -- nosy: +skrah ___ Python t

[issue8661] FAQ item 2.25 is unclear

2010-05-08 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> brett.cannon nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, May 8, 2010 at 10:16 AM, Marc-Andre Lemburg wrote: > Are you sure this doesn't get optimized away in practice ? I'm sure it doesn't get optimized away by gcc 4.3, where I tested it. :) > Sure, though, I don't see how this relates to C code relying >

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why does this have no tests? -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-l

[issue8661] FAQ item 2.25 is unclear

2010-05-08 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : The item "How do I prepare a new branch for merging?" is unclear about which branch needs to be prepared. It could be the source branch or the destination branch. In #python-dev, I learned that it's probably the destination branch being discussed her

[issue8660] py3k weakref documentation mentions the long built-in type

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r80983. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7724] setup.py ignores SDK root on OSX

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ronald, I've reverted the patch since it broke compilation on almost every buildbot, and we're close to beta2 release. -- nosy: +benjamin.peterson stage: committed/rejected -> commit review ___ Python tracker

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Daniel Stutzbach wrote: > > Daniel Stutzbach added the comment: > > On Sat, May 8, 2010 at 5:03 AM, Marc-Andre Lemburg > wrote: >> If you can propose a different method of reliably protecting against >> mixed Unicode build module loads, that would be gre

[issue7780] unittest: allow an 'import_path' as an alternative to 'top_level_dir' in test discover

2010-05-08 Thread Michael Foord
Michael Foord added the comment: Documented revision 80980. -- stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-08 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: On Sat, May 8, 2010 at 5:03 AM, Marc-Andre Lemburg wrote: > If you can propose a different method of reliably protecting against > mixed Unicode build module loads, that would be great. We could then > get rid off the wrapping altogether. The following code

[issue8644] timedelta.total_seconds needlessly inaccurate, especially for negative timedeltas

2010-05-08 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> accepted versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8644] timedelta.total_seconds needlessly inaccurate, especially for negative timedeltas

2010-05-08 Thread Mark Dickinson
Mark Dickinson added the comment: [Antoine declines to offer an opinion.] Committed to py3k in r80979. I moved the Misc/NEWS entry from the 'Library' section to the 'Extension Modules' section. Leaving open for the 2.7 backport. -- ___ Python tra

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2010-05-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Is this still desirable? If so I can work on a patch for ftplib which provides a finer error handling in case of disconnection while sending QUIT and updates tests which should be modified to fit in the newer test suite. -- ___

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2010-05-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2010-05-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Is this is still desirable? If so I can work on a patch for ftplib which provides a finer error handling in case of disconnection while sending QUIT and updates tests which should be modified to fit in the newer test suite. --

[issue6715] xz compressor support

2010-05-08 Thread Brian Curtin
Changes by Brian Curtin : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue6715] xz compressor support

2010-05-08 Thread Bernhard Reiter
Changes by Bernhard Reiter : -- nosy: +ockham-razor ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

  1   2   >