[issue22812] Documentation of unittest -p usage wrong on windows.

2015-04-13 Thread Pam McA'Nulty

Pam McA'Nulty added the comment:

Remove quotes from quoted patterns only on windows systems (since if the quotes 
get parsed into the pattern field on a non-windows system, one should respect 
the user's command line efforts).

Test uses unittest.mock.patch to test windows path.

--
keywords: +patch
nosy: +Pam.McANulty
Added file: 
http://bugs.python.org/file38939/cpython-22812-discovery-quotes-v1.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22812
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23901] Force console stdout to use UTF8 on Windows

2015-04-13 Thread Paul Moore

Paul Moore added the comment:

My proof-of-concept attempt to use _O_U8TEXT resulted in some very bizarre 
behaviour - odd buffering of the interactive interpreter output and what appear 
to be Chinese characters being displayed for normal (ASCII) interactions.

I suspect there is some oddity around how _O_U8TEXT works. The approach looks 
too fragile to pursue. I'll look further into the RawIOBase option.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23901
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23726] Don't enable GC for classes that don't add new fields

2015-04-13 Thread Eugene Toder

Eugene Toder added the comment:

Thank you!

Benjamin, Nathaniel, any opinion if we should restrict reassigning __class__ 
for types like tuple, int and str, where some/many instances are cached?

--
nosy: +njs

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23726
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2015-04-13 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
versions:  -Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21116
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Joe Jevnik

Joe Jevnik added the comment:

I am not going to be able to write docs on this because I am not totally sure 
how you would use this; There is an entry in the docs for CAN_* so that might 
be enough. I have a line now saying that this particular flag is available as 
of 3.5 though.

--
Added file: http://bugs.python.org/file38946/CAN_RAW_FD_FRAMES-update.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22982] BOM incorrectly inserted before writing, after seeking in text file

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 946740824eaf by Antoine Pitrou in branch '3.4':
Issue #22982: Improve BOM handling when seeking to multiple positions of a 
writable text file.
https://hg.python.org/cpython/rev/946740824eaf

New changeset 3583e5191b96 by Antoine Pitrou in branch 'default':
Issue #22982: Improve BOM handling when seeking to multiple positions of a 
writable text file.
https://hg.python.org/cpython/rev/3583e5191b96

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22982
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23726] Don't enable GC for classes that don't add new fields

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a60b7945ef87 by Antoine Pitrou in branch 'default':
Issue #23726: Don't enable GC for user subclasses of non-GC types that don't 
add any new fields.
https://hg.python.org/cpython/rev/a60b7945ef87

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23726
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12425] gettext breaks on empty plural-forms value

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

LGTM

--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12425
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Larry Hastings

Larry Hastings added the comment:

LGTM, just adding Antoine (the expert for the socket module).  I'm ready to 
commit over here.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2015-04-13 Thread Siegfried Gevatter

Changes by Siegfried Gevatter siegfr...@gevatter.com:


Added file: http://bugs.python.org/file38941/slice_del.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12606
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23730] Document return value for ZipFile.extract()

2015-04-13 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

fix for the documentation of ZipFile.extract.

In the code of _extract_member, there is a normalisation of the target path, I 
use this term normalized for the fix.

--
keywords: +patch
nosy: +matrixise
Added file: http://bugs.python.org/file38943/issue23730.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23730
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18147] SSL: diagnostic functions to list loaded CA certs

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d88b5469fdd3 by Antoine Pitrou in branch '3.4':
Fix duplicate doc entry for SSLContext.get_ca_certs()
https://hg.python.org/cpython/rev/d88b5469fdd3

New changeset d7352db81b50 by Antoine Pitrou in branch 'default':
Fix duplicate doc entry for SSLContext.get_ca_certs()
https://hg.python.org/cpython/rev/d7352db81b50

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18147
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17445] Handle bytes comparisons in difflib.Differ

2015-04-13 Thread Augie Fackler

Augie Fackler added the comment:

(For values of our == Mercurial.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17445
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17445] Handle bytes comparisons in difflib.Differ

2015-04-13 Thread Augie Fackler

Augie Fackler added the comment:

Friendly ping. With bytes formatting in Python 3.5a3, this is now the biggest 
pain port for getting our test runner working cleanly on Python 3.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17445
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2931] optparse: various problems with unicode and gettext

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

I've turned ash's test program into a bunch of test cases against Python 3.5 
trunk.  Is it worth committing them?

--
nosy: +akuchling
Added file: http://bugs.python.org/file38940/issue2931.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23309] Hang on interpreter shutdown if daemon thread prints to stdout

2015-04-13 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Fix pushed! closing.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23309
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23922] turtle.py and turtledemo use the default tkinter icon

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

Creating a new import dependency to idlelib.PyShell in turtle.py doesn't seem 
like a good idea since turtle.py does not currently need to be used with IDLE 
(unlike turtledemo which does have an existing dependency on idlelib).  Perhaps 
a better way would be to add an option to turtle.cfg to allow users to specify 
an icon file and have turtledemo set it to the IDLE one if used from IDLE?

--
nosy: +terry.reedy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23922
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2015-04-13 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Ok, I've committed the patch. If desired, the generic API for shared memory can 
be tackled in a separate issue. Thank you Médéric!

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21116
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21013] server-specific SSL context configuration

2015-04-13 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21013
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23726] Don't enable GC for classes that don't add new fields

2015-04-13 Thread Eugene Toder

Eugene Toder added the comment:

Agreed. There's a small problem with that, as far as I know. Nothing on type 
declares that it is immutable.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23726
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23933] Struct module should acept arrays

2015-04-13 Thread Wolfgang Maier

Changes by Wolfgang Maier wolfgang.ma...@biologie.uni-freiburg.de:


--
nosy:  -wolma

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23933
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9951] introduce bytes.hex method (also for bytearray and memoryview)

2015-04-13 Thread Arnon Yaari

Changes by Arnon Yaari wiggi...@gmail.com:


Removed file: http://bugs.python.org/file19175/bytes.hex.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9951
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23934] inspect.signature reporting () for all builtin extension types

2015-04-13 Thread Nick Coghlan

Nick Coghlan added the comment:

The main missing piece now is test fodder for this error. The simplest 
near-term option would be to use one of the actual builtins, such as 'str'.

In Python 3.5+ we could borrow the matmulType that was added to _testcapi to 
test the @ operator, future-proofing the test against eventual conversion of 
the builtin types to support Argument Clinic.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23934
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10612] StopTestRun exception to halt test run

2015-04-13 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag
stage:  - patch review
type: performance - enhancement
versions: +Python 3.5 -Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10612
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16050] ctypes: callback from C++ to Python fails with Illegal Instruction call

2015-04-13 Thread R. David Murray

R. David Murray added the comment:

Arnon also checked that our local copy of libffi contains the upstream fix.  In 
the absence of a way to test this, we'll just have to assume it is fixed.

--
nosy: +r.david.murray
resolution:  - out of date
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16050
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22982] BOM incorrectly inserted before writing, after seeking in text file

2015-04-13 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Fix is pushed. Thanks for the report!

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22982
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23863] Fix EINTR Socket Module issues in 2.7

2015-04-13 Thread Jeff McNeil

Jeff McNeil added the comment:

Added a flag to allow for at least one run -- I know nothing of non-Linux clock 
resolution.  That should handle that.

As for the thread safety of the socket timeouts, yeah, that was why I didn't do 
that initially, I assumed the suggestion to take that approach took the risk 
into account; you'll know far more about potential impact than I will.

Since this is at a higher abstraction than socket primitives, another option 
would be to track remaining time in thread local data so that we don't mutate 
the timeout on the object (which I don't really like doing anyway). 

Thoughts on approach before I put it together?

--
Added file: http://bugs.python.org/file38944/socket_eintr.5.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23863
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23507] Tuple creation is too slow

2015-04-13 Thread Antoine Pitrou

Antoine Pitrou added the comment:

By the way, is PyTuple_New() really the culprit here? Or is it the valist 
handling in PyObject_CallFunctionObjArgs()?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23507
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21815] imaplib truncates some untagged responses

2015-04-13 Thread Lita Cho

Lita Cho added the comment:

Hi Maciej,

I am not seeing berkerpeksag review...? What was his comment? I apologize, but 
I haven't used the bug tracker in awhile.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21815
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Berker Peksag

Berker Peksag added the comment:

The new constant should probably be added to 
https://docs.python.org/3/library/socket.html#constants (with a .. 
versionadded:: 3.5 directive)

--
nosy: +berker.peksag
stage:  - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5438] test_bigmem.test_from_2G_generator uses more memory than expected

2015-04-13 Thread Joe Jevnik

Joe Jevnik added the comment:

I am now computing the size based on the system's int and pointer size.

--
keywords: +patch
nosy: +ll
Added file: http://bugs.python.org/file38945/bigmem.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5438
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23933] Struct module should acept arrays

2015-04-13 Thread Wolfgang Maier

Wolfgang Maier added the comment:

I'm afraid you lost me and I do not see what your problem is here.
Maybe you should raise this on one of the Python mailing lists (see 
https://www.python.org/community/lists/) ?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23933
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9951] introduce bytes.hex method (also for bytearray and memoryview)

2015-04-13 Thread Arnon Yaari

Arnon Yaari added the comment:

I added the implementation for memoryview, updated to use PyUnicode_New etc., 
and moved the common implementation to its own file for code reuse.

--
Added file: http://bugs.python.org/file38947/bytes.hex.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9951
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23935] Clean up Clinic's type expressions of buffers

2015-04-13 Thread Larry Hastings

Larry Hastings added the comment:

Updated the patch a little, to make it enforce compatible types parameters.  
The previous patch had some functions that would permit passing in types='blah 
de blah' or other nonsense.

--
Added file: 
http://bugs.python.org/file38948/larry.clinic.buffer.conceptual.cleanup.2.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23935
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21741] Convert most of the test suite to using unittest.main()

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3aec776fc796 by Zachary Ware in branch 'default':
Issue #21741: Update 147 test modules to use test discovery.
https://hg.python.org/cpython/rev/3aec776fc796

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21741
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Larry Hastings

Larry Hastings added the comment:

Follow the instructions in this:

https://docs.python.org/devguide/docquality.html

And make it look something like this:

https://docs.python.org/3/library/socket.html#socket.CAN_BCM

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20174] Derby #5: Convert 50 sites to Argument Clinic across 3 files

2015-04-13 Thread Peter McCormick

Peter McCormick added the comment:

I am working on revising the Argument Clinic definitions for socketmodule.c.

--
nosy: +pdmccormick

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20174
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23934] inspect.signature reporting () for all builtin extension types

2015-04-13 Thread James Powell

James Powell added the comment:

See attached patch for unittest.

For 3.4, test that inspect.signature(str) raises TypeError.

For 3.5, this can be improved to use _testcapi.matmulType

--
Added file: http://bugs.python.org/file38949/issue_23934-test.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23934
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21741] Convert most of the test suite to using unittest.main()

2015-04-13 Thread Zachary Ware

Changes by Zachary Ware zachary.w...@gmail.com:


--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21741
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23937] IDLE start maximized

2015-04-13 Thread Aidan Lowe

New submission from Aidan Lowe:

I feel like IDLE should start maximized as opposed to starting... 'unmaximized' 
I guess. Maybe instead of the current option to start the window at 'blank' by 
'blank' size, it should be a check button that defaults to maximized and can be 
turned off to start it at the default height and width.

--
components: IDLE
messages: 240725
nosy: zektron42
priority: normal
severity: normal
status: open
title: IDLE start maximized
type: enhancement
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23937
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21916] Create unit tests for turtle textonly

2015-04-13 Thread Gregory Loyse

Gregory Loyse added the comment:

Patch reviewed. Looks good.

This patch includes some amendments for readablity and new tests.

--
nosy: +arachnegl
Added file: http://bugs.python.org/file38950/test_turtle_textonly.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21916
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23938] Deprecation of windows xp support missing from whats new

2015-04-13 Thread Alex Walters

New submission from Alex Walters:

the Whats New in Python 3.5 lacks an indication that cpython is dropping 
support for that platform due to Microsoft dropping continuing support for it 
(see PEP 11).

--
files: docs_unsupported_xp_35.patch
keywords: patch
messages: 240727
nosy: tritium
priority: normal
severity: normal
status: open
title: Deprecation of windows xp support missing from whats new
versions: Python 3.5
Added file: http://bugs.python.org/file38951/docs_unsupported_xp_35.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20962] Rather modest chunk size in gzip.GzipFile

2015-04-13 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Martin, do you think this is still an issue or has it been fixed by the 
compression refactor?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20962
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13146] Writing a pyc file is not atomic

2015-04-13 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13146
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23726] Don't enable GC for classes that don't add new fields

2015-04-13 Thread Nathaniel Smith

Nathaniel Smith added the comment:

Yes, it probably would be a good idea to disallow assigning __class__ for 
immutable types.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23726
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18777] Cannot compile _ssl.c using openssl 1.0

2015-04-13 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18777
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23732] Update porting HOWTO about new -b semantics

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 53af5f557128 by Brett Cannon in branch 'default':
Issue #23732: Mention the new -b semantics in the porting HOWTO.
https://hg.python.org/cpython/rev/53af5f557128

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23732
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23732] Update porting HOWTO about new -b semantics

2015-04-13 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23732
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21116] Failure to create multiprocessing shared arrays larger than 50% of memory size under linux

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0f944e424d67 by Antoine Pitrou in branch 'default':
Issue #21116: Avoid blowing memory when allocating a multiprocessing shared
https://hg.python.org/cpython/rev/0f944e424d67

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21116
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20309] Not all method descriptors are callable

2015-04-13 Thread Christian Hudon

Christian Hudon added the comment:

Updated patch to work with current state of repository. Tests still pass 
(including the new ones).

--
Added file: http://bugs.python.org/file38942/descr_v3.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20309
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2015-04-13 Thread Berker Peksag

Berker Peksag added the comment:

Thanks Maciej. I left a couple of comments on Rietveld: 
http://bugs.python.org/review/16914/

--
nosy: +berker.peksag

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16914
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23731] Implement PEP 488

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a86d630555bd by Brett Cannon in branch 'default':
Issue #23731: Implement PEP 488.
https://hg.python.org/cpython/rev/a86d630555bd

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23731
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21148] avoid memset in small tuple creation

2015-04-13 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21148
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21815] imaplib truncates some untagged responses

2015-04-13 Thread Berker Peksag

Berker Peksag added the comment:

Hi Lita, my review comments are at http://bugs.python.org/review/21815/ (sorry, 
I forgot to add a comment here after I made the review)

--
nosy: +berker.peksag

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21815
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23822] test_py_compile fails under -O

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f4dd8629ec98 by Brett Cannon in branch 'default':
Issue #23822: Fix test_py_compile to not fail under -O.
https://hg.python.org/cpython/rev/f4dd8629ec98

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23822
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23931] Update DevGuide link in Quickstart Step 1

2015-04-13 Thread Carol Willing

Changes by Carol Willing willi...@willingconsulting.com:


--
stage:  - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10757] zipfile.write, arcname should be allowed to be a byte string

2015-04-13 Thread Ernest

Changes by Ernest ozial...@gmail.com:


--
nosy: +ozialien

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10757
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23924] Add OS X to Dev Guide Quickstart build step

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

Done.  Thanks for the patch!

--
resolution:  - fixed
stage: commit review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23924
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21217] inspect.getsourcelines finds wrong lines when lambda used argument to decorator

2015-04-13 Thread Thomas Ballinger

Thomas Ballinger added the comment:

Use dis.findlinestarts() to find lines of function instead of grubbing with 
co_lnotab manually, making dis module dependency non-optional.

--
Added file: http://bugs.python.org/file38970/issue21217-v6.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21217
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21400] Code coverage documentation is out-of-date.

2015-04-13 Thread Carol Willing

Carol Willing added the comment:

Patch applies cleanly. The out of date link has been removed.
+1 ready for a core dev to merge.

--
nosy: +willingc
stage: patch review - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21400
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19050] [Python 2, Windows] fflush called on pointer to potentially closed file

2015-04-13 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Here's a patch that adds the necessary _PyVerify_fd checking for 3.4. It won't 
apply to 2.7 (too many changes between 2.7 and 3.4), and applies to 3.5 but 
does nothing because of the new Invalid Parameter Handler introduced into 3.5.

It doesn't fix the problem completely: there is then a new crash in 
sysmodule.c/sys_write().

Unfortunately I didn't manage to write a test that replicates this whole issue 
and fails if Python crashes.

--
keywords: +patch
nosy: +akuchling
Added file: http://bugs.python.org/file38954/issue19050.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19050
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23938] Deprecation of windows xp support missing from whats new

2015-04-13 Thread Alex Walters

Changes by Alex Walters tritium-l...@sdamon.com:


--
assignee:  - docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23822] test_py_compile fails under -O

2015-04-13 Thread Brett Cannon

Brett Cannon added the comment:

Thanks for the patch, Serhiy, but my PEP 488 patch invalidated yours. I just 
skipped it under -O rather than weakening the test to also work under -O.

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23822
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11754] Check calculated constants in test_string.py

2015-04-13 Thread chalmer_lowe

chalmer_lowe added the comment:

Discussed with David Murray at PyCon Sprints 2015.
Considered the fact that to preserve backwards compatibility, it seems 
important that rather than
a) merely checking for the presence of each constant string (as the test does 
now) OR
b) checking for each desired character (regardless of order) as noted in 
msg221766

the tests should check for the exact strings that have historically been 
published in Python. Doing so seems to be the right path to ensure that:
a) the strings exist AND
b) the strings have not inadvertently changed.

--
nosy: +chalmerlowe
Added file: http://bugs.python.org/file38956/issue11754_patch.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11754
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20362] longMessage attribute is ignored in unittest.TestCase.assertRegexpMatches etc

2015-04-13 Thread Berker Peksag

Berker Peksag added the comment:

Thanks for the patches, Ilia. The one for 2.7 looks good.

Reviewing 20362_py35.patch:

* Looks almost identical to issue20362.diff except style changes and the two 
comments below, right?

* -self.assertIn('kot', e.args[0])

  Why did you remove this line?

* +assertNotRegexpMatches = _deprecate(assertNotRegex)

  This looks like an unrelated change, but I think it can be committed. Thanks 
for the catch!

* The tests should be updated to use assertRegex and assertNotRegex

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20362
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23903] Generate PC/python3.def by scraping headers

2015-04-13 Thread Zachary Ware

Zachary Ware added the comment:

Same patch, with diff to python3.def to make it available.

--
Added file: http://bugs.python.org/file38967/23903_with_python3.def.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23903
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue21217] inspect.getsourcelines finds wrong lines when lambda used argument to decorator

2015-04-13 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21217
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23939] test_get_platform_osx failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

Alex, I think you are not building with an up-to-date source tree.  This 
problem and others like it related to a two-digit OS X version number (10.8 - 
10.10) should have all been fixed with the changes for Issue21811 which were 
pushed nearly a year ago.  The version of a current build from the default 
branch (i.e. what will be released as 3.5.0) should look something like:

Python 3.5.0a3+ (default:24f2c0279120, Apr 13 2015, 14:17:12)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.49)] on darwin

Make sure you do an hg pull ; hg update -C default from the upstream repo or 
the equivalent.

--
resolution:  - out of date
stage:  - resolved
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23924] Add OS X to Dev Guide Quickstart build step

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

The updates look good to me, thanks!  Are you able to push this?  If not, I can 
do it.

--
stage:  - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23924
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-13 Thread Raúl Cumplido

Changes by Raúl Cumplido raulcumpl...@gmail.com:


--
nosy: +raulcd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23911
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20309] Not all method descriptors are callable

2015-04-13 Thread Ernest

Changes by Ernest ozial...@gmail.com:


--
nosy: +ozialien

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20309
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19956] inspect.getsource(obj.foo) fails when foo is an injected method constructed from another method

2015-04-13 Thread R. David Murray

R. David Murray added the comment:

Thanks for the patch.  I've made some review comments on the tests.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19956
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-13 Thread Gregory P. Smith

Gregory P. Smith added the comment:

getrlimit() is not an async-signal-safe function according to 
http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html so 
you cannot call it from safe_get_max_fd().

having the getrlimit call done prior to the fork and using the value returned 
by that iff neither of the other two methods (fcntl and sysconf) are available 
or produced results seems like the best you can do.

also, rlim_t is an unsigned value yet the existing code in this module is using 
signed values for the file descriptors.  realistically i do not expect an 
rlim_t for max file descriptors to ever be  MAX_LONG as many file descriptor 
API calls require signed values for fds in order to use -1 as an error.

But checking the value for overflow and against the RLIM constants mentioned in 
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/resource.h.html 
before casting it via (long) seems pedantically wise.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23730] Document return value for ZipFile.extract()

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 731e366885f5 by Zachary Ware in branch '2.7':
Issue #23730: Document the return value of ZipFile.extract
https://hg.python.org/cpython/rev/731e366885f5

New changeset 7ac1c2307a70 by Zachary Ware in branch '3.4':
Issue #23730: Document the return value of ZipFile.extract
https://hg.python.org/cpython/rev/7ac1c2307a70

New changeset d958c74ddb0c by Zachary Ware in branch 'default':
Closes #23730: merge with 3.4
https://hg.python.org/cpython/rev/d958c74ddb0c

--
nosy: +python-dev
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23730
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23931] Update DevGuide link in Quickstart Step 1

2015-04-13 Thread Berker Peksag

Berker Peksag added the comment:

Thanks for the patch, but I think the current link is correct. Contributors 
will need to read the whole page anyway :)

If you want to mention 
https://docs.python.org/devguide/setup.html#version-control-setup in index.rst, 
I'd suggest something like this:

1. :ref:`Get the source code checkout`::
 
   hg clone https://hg.python.org/cpython

   See :ref:`vcsetup` on installing Mercurial.

--
nosy: +berker.peksag

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19907] gettext - Non ascii chars in header

2015-04-13 Thread Michael McFadden

Michael McFadden added the comment:

I'm having no luck reproducing this issue.

Regarding pygettext.py generating .po files:

I've used the messages.po file provided by the OP, and also using a generated 
.po file from pygettext.py with the offending header PO-Revision-Date:

As a side note, I'm not quite sure how you can get pygettext.py to generate 
anything but PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE in python 3.3+, because 
it's a static line.

Regarding gettext.py

1: Tools/msgfmt.py -o locales/testlang/LC_MESSAGES/messages.mo 
locales/testlang/LC_MESSAGES/messages.po

 (all is good)

2: Run this simple script:
  import gettext

  t = gettext.translation('messages', 
   localedir='mytests/locales', 
   languages=['testlang'], )


  _ = t.gettext

  print('')
  print(_('TestMe'))
  print('')

Works without exceptions.

The only way I can recreate this issue is by saving my po file in a non-utf8 
format (latin-1) and running the above code.  It fails perfectly.

Can you help me recreate your issue?

--
nosy: +flipmcf

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19907
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23733] Update porting HOWTO for bytes interpolation

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1ef1b9922655 by Brett Cannon in branch 'default':
Issue #23733: Mention bytes.__mod__ in the porting HOWTO.
https://hg.python.org/cpython/rev/1ef1b9922655

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23733
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17630] Create a pure Python zipfile/tarfile importer

2015-04-13 Thread Gregory P. Smith

Gregory P. Smith added the comment:

Based on our hallway pow-wow at PyCon 2015 sprints day #1...  I audited the 
zipfile module to confirm our suspicions about it being large.

In current Python 3.5 head's zipfile.py module here are the things it depends 
directly upon from other modules:

import io  # [Py(C: _io)] io.BufferedIOBase{,readline}, io.BytesIO, io.open
import os  # [Py(C: various)] os.path.*, os.getcwd, os.stat, os.listdir, 
curdir, pardir, 
import re  # [Py(C: sre_*)] Only used for universal newlines in 
ZipExtFile.readline().  Shouldn't the io module do this part for us?!?
import importlib.util  # [Py] importib.util.cache_from_source() from PyZipFile 
to create importable .zip files.
import sys  # [C] sys.platform for creation metadata, sys.stderr for a strange 
print on a DeprecationWarning.
import time  # [C] time.localtime, time.time
import stat  # [Py] stat.filemode, stst.S_ISDIR
import shutil  # [Py] shutil.copyfileobj() from _extract_member().
import struct  # [Py(C: _struct)] struct.pack(), struct.unpack(), 
struct.calcsize()
import binascii  # [C] binascii.crc32() only if zlib is unavailable. (store 
only zip support?)
import threading  # [Py] threading.RLock() in ZipFile.

import zlib, bz2, lzma are all conditional.  # [C]

import warnings  # [Py] conditional import to highlight legacy uses.
import py_compile  # [Py] conditional import in PyZipFile for importable .zip 
file creation.

Some of these are obviously shims around C extensions which could conditionally 
be used directly if desired.  But many others are largely implemented in 
Python.  Freezing all of these just to use the bloated zipfile.py within a pure 
Python zipimport implementation seems like extreme overkill.  Not worth the 
effort.

Efforts for improved zipimport are now likely to focus on a simple C zip file 
reading-only library being used by a new clean implementation of a zip importer 
on top of that.

--
nosy: +gregory.p.smith

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17630
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23733] Update porting HOWTO for bytes interpolation

2015-04-13 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23733
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20362] longMessage attribute is ignored in unittest.TestCase.assertRegexpMatches etc

2015-04-13 Thread Ilia Kurenkov

Ilia Kurenkov added the comment:

Modified to work with 3.5. Attaching patch file.

--
Added file: http://bugs.python.org/file38960/20362_py35.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20362
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Joe Jevnik

Joe Jevnik added the comment:

I tried to provide a summary of the Linux page on the topic and then said that 
it was fully documented there.

--
Added file: http://bugs.python.org/file38957/CAN_RAW_FD_FRAMES-doc.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23820] test_importlib fails under -O

2015-04-13 Thread Brett Cannon

Brett Cannon added the comment:

The PEP 488 change actually fixed this.

--
resolution:  - out of date
stage: patch review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23820
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9951] introduce bytes.hex method (also for bytearray and memoryview)

2015-04-13 Thread Arnon Yaari

Changes by Arnon Yaari wiggi...@gmail.com:


Added file: http://bugs.python.org/file38961/bytes.hex.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9951
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11754] Check calculated constants in test_string.py

2015-04-13 Thread R. David Murray

R. David Murray added the comment:

Added a review comment.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11754
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23350] Content-length is incorrect when request body is a list or tuple

2015-04-13 Thread Martin Panter

Martin Panter added the comment:

Vincent: That sounds more like a case of Issue 15267, or have you found a way 
to trigger the AttributeError in Python 3 as well?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23350
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21062] Evalute all import-related modules for best practices

2015-04-13 Thread Raúl Cumplido

Changes by Raúl Cumplido raulcumpl...@gmail.com:


--
nosy: +raulcd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21062
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22980] C extension naming doesn't take bitness into account

2015-04-13 Thread Matthias Klose

Matthias Klose added the comment:

On 04/13/2015 11:43 PM, Nick Coghlan wrote:
 
 Nick Coghlan added the comment:
 
 Maintaining the arch list can be delegated to the platform maintainers, but I 
 agree a test would be valuable.
 
 I'd suggest a test in the platform module tests that cross-checks the 
 settings in SOABI. This will also be useful in defining an algorithm that 
 setuptools can backport to Python 2.7 for naming wheel files correctly.
 
 For the new multiarch triplets, I believe the first two parts should match 
 platform.machine() and platform.system().lower(). I'm not sure what the third 
 part should match.

no, platform.machine() doesn't return any normalized machine name. At least for
ix86 (i386, i486, i586), ARM32 (armv4, armv5+, armv7, ...), ALPHA, and MIPS.

and testing for the second part only seems to be a bit odd.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22980
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23939] test_get_platform_osx failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Alex Lord

Alex Lord added the comment:

Ah, Alright. I thought that hg up would bring me up to speed. Sorry for that.

--
status: pending - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23941] Google Login not working

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

Ernest, sorry you are having problems.  Issues with using the tracker itself 
are handled elsewhere.  Click on the Report Tracker Problem link in the 
Help section at the bottom of the left-hand column of this web page and that 
should take you to http://psf.upfronthosting.co.za/roundup/meta which is 
monitored by the maintainers of bugs.python.org.  It would be helpful to 
include there more details on what fields you are using and what errors you see.

--
nosy: +ned.deily
resolution:  - third party
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23941
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13814] Document why generators don't support the context management protocol

2015-04-13 Thread Aidan Lowe

Changes by Aidan Lowe megadud...@gmail.com:


--
keywords: +patch
versions: +Python 3.4 -Python 3.3
Added file: http://bugs.python.org/file38955/design.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13814
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23924] Add OS X to Dev Guide Quickstart build step

2015-04-13 Thread Carol Willing

Carol Willing added the comment:

@ned.deily Thanks for the feedback.

I changed the text on the QuickStart build step #2 since it was not clear to 
some sprinters that UNIX included Mac OS X.

I added link in the text to direct to the Build Dependencies section. Thanks 
for the suggestion.

--
keywords: +patch
Added file: http://bugs.python.org/file38963/iss23924.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23924
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23938] Deprecation of windows xp support missing from whats new

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 24f2c0279120 by Zachary Ware in branch 'default':
Closes #23938: List Windows XP as an unsupported platform.
https://hg.python.org/cpython/rev/24f2c0279120

--
nosy: +python-dev
resolution:  - fixed
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23938] Deprecation of windows xp support missing from whats new

2015-04-13 Thread Zachary Ware

Zachary Ware added the comment:

Thanks for the patch!

--
nosy: +zach.ware

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23938
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22980] C extension naming doesn't take bitness into account

2015-04-13 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 thought about it, but we only change the SOABI name, and all tests
 should behave
 as before. And because we try to load extensions without the SOABI
 name, there
 is safe fallback.

Still, we should somehow check that a non-empty triplet is included in the 
extension filename (see the test your patch removes).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22980
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22631] Feature Request CAN_RAW_FD_FRAMES

2015-04-13 Thread Larry Hastings

Larry Hastings added the comment:

Patch committed. Thanks, Joe!

--
assignee:  - larry
resolution:  - fixed
stage: commit review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22631
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23940] test__supports_universal_builds failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
status: pending - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23940
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23931] Update DevGuide link in Quickstart Step 1

2015-04-13 Thread Carol Willing

Carol Willing added the comment:

@berker.peksag I think that new contributors (esp. those at the sprints) want 
to get started quickly. Many do not read the whole devguide before starting 
even though the devguide is really helpful.

I like your suggested approach to keep the original link and add the See ...
phrase. Thanks :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23931
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23939] test_get_platform_osx failure on Python 3.5.0a0 osx 10.6

2015-04-13 Thread Ned Deily

Ned Deily added the comment:

No problem, and thanks for looking into it.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23939
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23924] Add OS X to Dev Guide Quickstart build step

2015-04-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 56b0001c7a29 by Ned Deily in branch 'default':
Issue #23924: Expand the QuickStart section to mention OS X and link
https://hg.python.org/devguide/rev/56b0001c7a29

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23924
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21217] inspect.getsourcelines finds wrong lines when lambda used argument to decorator

2015-04-13 Thread Thomas Ballinger

Thomas Ballinger added the comment:

v4 of patch, with tests updated for changed lines in inspect fodder file

--
Added file: http://bugs.python.org/file38959/issue21217-v4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21217
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   >