[issue29515] socket module missing IPPROTO_IPV6, IPPROTO_IPV4 on Windows

2019-01-06 Thread Andrew Brezovsky


Andrew Brezovsky  added the comment:

Can confirm this is still a problem in latest versions of 3.5, 3.6, and 3.7

Any progress made on this?

--
nosy: +abrezovsky

___
Python tracker 
<https://bugs.python.org/issue29515>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29515] socket module missing IPPROTO_IPV6, IPPROTO_IPV4 on Windows

2019-03-05 Thread Andrew Brezovsky


Andrew Brezovsky  added the comment:

I lean towards it being considered a bug fix. First, the lack of parity between 
Windows and Linux-based OSs causes confusion. Second, the current workaround to 
hard-code the value in is far from best practice.

--

___
Python tracker 
<https://bugs.python.org/issue29515>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29515] socket module missing IPPROTO_IPV6, IPPROTO_IPV4 on Windows

2019-03-05 Thread Andrew Brezovsky


Andrew Brezovsky  added the comment:

I see your point.

Then perhaps only a subset of the more vital ones get added to previous 
releases?

#define IPPROTO_IPV4 IPPROTO_IPV4
#define IPPROTO_IPV6 IPPROTO_IPV6
#define IPPROTO_TCP IPPROTO_TCP
#define IPPROTO_UDP IPPROTO_UDP
#define IPPROTO_ICMP IPPROTO_ICMP
#define IPPROTO_ICMPV6 IPPROTO_ICMPV6
#define IPPROTO_RAW IPPROTO_RAW

--

___
Python tracker 
<https://bugs.python.org/issue29515>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32942] Regression: test_script_helper fails

2018-02-24 Thread Andrew Brezovsky

New submission from Andrew Brezovsky :

Test test_script_helper fails, details:

Running Debug|Win32 interpreter...
== CPython 3.8.0a0 (heads/master:6cdb7954b0, Feb 24 2018, 17:25:46) [MSC v.1912 
32 bit (Intel)]
== Windows-10-10.0.16299-SP0 little-endian
== cwd: \cpython\build\test_python_7920
== CPU count: 4
== encodings: locale=cp1252, FS=utf-8
Run tests sequentially
0:00:00 [1/1] test_script_helper
test_assert_python_failure (test.test_script_helper.TestScriptHelper) ... ok
test_assert_python_failure_raises (test.test_script_helper.TestScriptHelper) 
... ok
test_assert_python_isolated_when_env_not_required 
(test.test_script_helper.TestScriptHelper) ... ok
test_assert_python_not_isolated_when_env_is_required 
(test.test_script_helper.TestScriptHelper)
Ensure that -I is not passed when the environment is required. ... ok
test_assert_python_ok (test.test_script_helper.TestScriptHelper) ... ok
test_assert_python_ok_raises (test.test_script_helper.TestScriptHelper) ... ok
test_interpreter_requires_environment_details 
(test.test_script_helper.TestScriptHelperEnvironment) ... FAIL
test_interpreter_requires_environment_false 
(test.test_script_helper.TestScriptHelperEnvironment) ... FAIL
test_interpreter_requires_environment_true 
(test.test_script_helper.TestScriptHelperEnvironment) ... FAIL

==
FAIL: test_interpreter_requires_environment_details 
(test.test_script_helper.TestScriptHelperEnvironment)
--
Traceback (most recent call last):
  File "C:\Users\andor\Documents\Projects\cpython\lib\unittest\mock.py", line 
1191, in patched
return func(*args, **keywargs)
  File 
"C:\Users\andor\Documents\Projects\cpython\lib\test\test_script_helper.py", 
line 101, in test_interpreter_requires_environment_details
self.assertFalse(script_helper.interpreter_requires_environment())
AssertionError: True is not false

==
FAIL: test_interpreter_requires_environment_false 
(test.test_script_helper.TestScriptHelperEnvironment)
--
Traceback (most recent call last):
  File "C:\Users\andor\Documents\Projects\cpython\lib\unittest\mock.py", line 
1191, in patched
return func(*args, **keywargs)
  File 
"C:\Users\andor\Documents\Projects\cpython\lib\test\test_script_helper.py", 
line 95, in test_interpreter_requires_environment_false
self.assertFalse(script_helper.interpreter_requires_environment())
AssertionError: True is not false

==
FAIL: test_interpreter_requires_environment_true 
(test.test_script_helper.TestScriptHelperEnvironment)
--
Traceback (most recent call last):
  File "C:\Users\andor\Documents\Projects\cpython\lib\unittest\mock.py", line 
1191, in patched
return func(*args, **keywargs)
  File 
"C:\Users\andor\Documents\Projects\cpython\lib\test\test_script_helper.py", 
line 89, in test_interpreter_requires_environment_true
self.assertEqual(1, mock_check_call.call_count)
AssertionError: 1 != 0

--
Ran 9 tests in 0.240s

FAILED (failures=3)
test test_script_helper failed
test_script_helper failed

1 test failed:
test_script_helper

Total duration: 281 ms
Tests result: FAILURE

--
components: Tests
messages: 312765
nosy: abrezovsky
priority: normal
severity: normal
status: open
title: Regression: test_script_helper fails
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue32942>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-26 Thread Andrew Brezovsky

Andrew Brezovsky  added the comment:

I'll update these based on the information in the HTML docs.

--
nosy: +abrezovsky

___
Python tracker 
<https://bugs.python.org/issue26792>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2018-02-26 Thread Andrew Brezovsky

Change by Andrew Brezovsky :


--
keywords: +patch
pull_requests: +5692
stage: needs patch -> patch review

___
Python tracker 
<https://bugs.python.org/issue26792>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com